Searched defs:subRect (Results 1 - 2 of 2) sorted by last modified time

/external/skia/src/gpu/gl/
H A DGrGpuGL.cpp511 SkIRect subRect = SkIRect::MakeXYWH(*left, *top, *width, *height); local
514 if (!subRect.intersect(bounds)) {
518 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp);
520 *left = subRect.fLeft;
521 *top = subRect.fTop;
522 *width = subRect.width();
523 *height = subRect.height();
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGpuGL.cpp514 SkIRect subRect = SkIRect::MakeXYWH(*left, *top, *width, *height); local
517 if (!subRect.intersect(bounds)) {
521 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp);
523 *left = subRect.fLeft;
524 *top = subRect.fTop;
525 *width = subRect.width();
526 *height = subRect.height();

Completed in 154 milliseconds