Home
last modified time | relevance | path

Searched refs:subRect (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/gl/
DGrGpuGL.cpp510 SkIRect subRect = SkIRect::MakeXYWH(*left, *top, *width, *height); in adjust_pixel_ops_params() local
513 if (!subRect.intersect(bounds)) { in adjust_pixel_ops_params()
517 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); in adjust_pixel_ops_params()
519 *left = subRect.fLeft; in adjust_pixel_ops_params()
520 *top = subRect.fTop; in adjust_pixel_ops_params()
521 *width = subRect.width(); in adjust_pixel_ops_params()
522 *height = subRect.height(); in adjust_pixel_ops_params()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGpuGL.cpp510 SkIRect subRect = SkIRect::MakeXYWH(*left, *top, *width, *height); in adjust_pixel_ops_params() local
513 if (!subRect.intersect(bounds)) { in adjust_pixel_ops_params()
517 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); in adjust_pixel_ops_params()
519 *left = subRect.fLeft; in adjust_pixel_ops_params()
520 *top = subRect.fTop; in adjust_pixel_ops_params()
521 *width = subRect.width(); in adjust_pixel_ops_params()
522 *height = subRect.height(); in adjust_pixel_ops_params()