Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrSurface.cpp83 SkIRect subRect = SkIRect::MakeXYWH(*left, *top, *width, *height); in adjust_params() local
86 if (!subRect.intersect(bounds)) { in adjust_params()
90 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); in adjust_params()
92 *left = subRect.fLeft; in adjust_params()
93 *top = subRect.fTop; in adjust_params()
94 *width = subRect.width(); in adjust_params()
95 *height = subRect.height(); in adjust_params()
DGrGpu.cpp356 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in writePixels() local
358 if (!bounds.contains(subRect)) { in writePixels()
408 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in transferPixels() local
410 if (!bounds.contains(subRect)) { in transferPixels()
/external/skia/gm/
Dtallstretchedbitmaps.cpp36 SkIRect subRect = SkIRect::MakeXYWH(0, i * (kMargin + 2 * kRadius), in make_bm() local
38 bm->extractSubset(&smallBM, subRect); in make_bm()
86 SkIRect subRect = SkIRect::MakeLTRB(0, startItem * itemHeight, in onDraw() local
91 canvas->drawBitmapRect(bmp, subRect, dstRect, &paint); in onDraw()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp449 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixels()
451 SkASSERT(bounds.contains(subRect)); in onTransferPixels()
565 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexDataLinear()
567 SkASSERT(bounds.contains(subRect)); in uploadTexDataLinear()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp842 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixels()
844 SkASSERT(bounds.contains(subRect)); in onTransferPixels()
1023 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexData()
1025 SkASSERT(bounds.contains(subRect)); in uploadTexData()