Lines Matching refs:region

231     // the entire clip region
580 * using glCopyTexImage2D(). The layer's region is then cleared(1) in the frame
591 * An empty quad is drawn over the layer's region in the frame buffer. This quad
667 // Enqueue the buffer coordinates to clear the corresponding region later
679 writableSnapshot()->region = &writableSnapshot()->layer->region;
701 // Clear the FBO, expand the clear region by 1 to get nice bilinear filtering
759 // drawing only the dirty region
890 if (CC_UNLIKELY(layer->region.isEmpty())) return; // nothing to draw
920 if (layer->region.isRect()) {
925 layer->region.clear();
935 rects = layer->region.getArray(&count);
937 safeRegion = Region::createTJunctionFreeRegion(layer->region);
973 drawRegionRectsDebug(layer->region);
976 layer->region.clear();
980 void OpenGLRenderer::drawRegionRectsDebug(const Region& region) {
982 const android::Rect* rects = region.getArray(&count);
1006 void OpenGLRenderer::drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) {
1009 SkRegion::Iterator it(region);
1039 void OpenGLRenderer::dirtyLayerUnchecked(Rect& bounds, Region* region) {
1045 region->orSelf(dirty);
1304 // to the region's bounds
1324 // NOTE: We could use the region contour path to generate a smaller mesh
1337 // Draw the region used to generate the stencil if the appropriate debug
1731 * in-shader alpha region, but found it to be taxing on some GPUs.
1773 // No need to check against the clip, we fill the clip region
2078 bool OpenGLRenderer::clipRegion(const SkRegion* region, SkRegion::Op op) {
2079 return mState.clipRegion(region, op);
2269 if (CC_LIKELY(!layer->region.isEmpty())) {
2270 if (layer->region.isRect()) {
2284 drawRegionRectsDebug(layer->region);