Lines Matching defs:region

211             // Expand the startTiling region by 1
279 // the entire clip region
632 * using glCopyTexImage2D(). The layer's region is then cleared(1) in the frame
643 * An empty quad is drawn over the layer's region in the frame buffer. This quad
719 // Enqueue the buffer coordinates to clear the corresponding region later
731 writableSnapshot()->region = &writableSnapshot()->layer->region;
754 // Expand the startTiling region by 1
757 // Clear the FBO, expand the clear region by 1 to get nice bilinear filtering
819 // drawing only the dirty region
950 if (CC_UNLIKELY(layer->region.isEmpty())) return; // nothing to draw
980 if (layer->region.isRect()) {
985 layer->region.clear();
995 rects = layer->region.getArray(&count);
997 safeRegion = Region::createTJunctionFreeRegion(layer->region);
1033 drawRegionRectsDebug(layer->region);
1036 layer->region.clear();
1040 void OpenGLRenderer::drawRegionRectsDebug(const Region& region) {
1042 const android::Rect* rects = region.getArray(&count);
1066 void OpenGLRenderer::drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) {
1069 SkRegion::Iterator it(region);
1099 void OpenGLRenderer::dirtyLayerUnchecked(Rect& bounds, Region* region) {
1104 region->orSelf(dirty);
1366 // to the region's bounds
1386 // NOTE: We could use the region contour path to generate a smaller mesh
1399 // Draw the region used to generate the stencil if the appropriate debug
1793 * in-shader alpha region, but found it to be taxing on some GPUs.
1835 // No need to check against the clip, we fill the clip region
2189 bool OpenGLRenderer::clipRegion(const SkRegion* region, SkRegion::Op op) {
2190 return mState.clipRegion(region, op);
2371 if (CC_LIKELY(!layer->region.isEmpty())) {
2372 if (layer->region.isRect()) {
2386 drawRegionRectsDebug(layer->region);