Home | History | Annotate | Download | only in src

Lines Matching defs:rect

1142 void GrGpuGL::flushScissor(const GrIRect* rect) {
1148 if (NULL != rect) {
1149 scissor.setRelativeTo(vp, rect->fLeft, rect->fTop,
1150 rect->width(), rect->height());
1152 rect = NULL;
1156 if (NULL != rect) {
1173 void GrGpuGL::onClear(const GrIRect* rect, GrColor color) {
1178 if (NULL != rect) {
1179 // flushScissor expects rect to be clipped to the target.
1180 r = *rect;
1184 rect = &r;
1189 this->flushRenderTarget(rect);
1190 this->flushScissor(rect);
1217 void GrGpuGL::clearStencilClip(const GrIRect& rect) {
1232 flushScissor(&rect);
1273 // the read rect is viewport-relative
1801 GrIRect* rect = NULL;
1806 rect = &clipBounds;
1808 this->flushRenderTarget(rect);