Lines Matching refs:region

289             // Expand the startTiling region by 1
359 // the entire clip region
711 * using glCopyTexImage2D(). The layer's region is then cleared(1) in the frame
722 * An empty quad is drawn over the layer's region in the frame buffer. This quad
798 // Enqueue the buffer coordinates to clear the corresponding region later
810 mSnapshot->region = &mSnapshot->layer->region;
833 // Expand the startTiling region by 1
836 // Clear the FBO, expand the clear region by 1 to get nice bilinear filtering
898 // drawing only the dirty region
1067 if (CC_UNLIKELY(layer->region.isEmpty())) return; // nothing to draw
1097 if (layer->region.isRect()) {
1102 layer->region.clear();
1112 rects = layer->region.getArray(&count);
1114 safeRegion = Region::createTJunctionFreeRegion(layer->region);
1125 // We must get (and therefore bind) the region mesh buffer
1184 drawRegionRectsDebug(layer->region);
1187 layer->region.clear();
1191 void OpenGLRenderer::drawRegionRectsDebug(const Region& region) {
1193 const android::Rect* rects = region.getArray(&count);
1217 void OpenGLRenderer::drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) {
1220 SkRegion::Iterator it(region);
1250 void OpenGLRenderer::dirtyLayerUnchecked(Rect& bounds, Region* region) {
1255 region->orSelf(dirty);
1469 // to the region's bounds
1485 // NOTE: We could use the region contour path to generate a smaller mesh
1497 // Draw the region used to generate the stencil if the appropriate debug
2415 * in-shader alpha region, but found it to be taxing on some GPUs.
2455 // No need to check against the clip, we fill the clip region
2921 if (CC_LIKELY(!layer->region.isEmpty())) {
2922 if (layer->region.isRect()) {
2967 drawRegionRectsDebug(layer->region);