/external/skqp/src/gpu/ |
D | GrSurface.cpp | 104 SkIRect subRect = SkIRect::MakeXYWH(*left, *top, *width, *height); in adjust_params() local 107 if (!subRect.intersect(bounds)) { in adjust_params() 111 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); in adjust_params() 113 *left = subRect.fLeft; in adjust_params() 114 *top = subRect.fTop; in adjust_params() 115 *width = subRect.width(); in adjust_params() 116 *height = subRect.height(); in adjust_params()
|
D | GrGpu.cpp | 278 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in writePixels() local 280 if (!bounds.contains(subRect)) { in writePixels() 316 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in transferPixels() local 318 if (!bounds.contains(subRect)) { in transferPixels()
|
/external/skia/gm/ |
D | tallstretchedbitmaps.cpp | 43 SkIRect subRect = SkIRect::MakeXYWH(0, i * (kMargin + 2 * kRadius), in make_bm() local 45 bm->extractSubset(&smallBM, subRect); in make_bm() 93 SkIRect subRect = SkIRect::MakeLTRB(0, startItem * itemHeight, in onDraw() local 96 canvas->drawImageRect(bmp.asImage(), SkRect::Make(subRect), dstRect, in onDraw()
|
/external/skqp/gm/ |
D | tallstretchedbitmaps.cpp | 38 SkIRect subRect = SkIRect::MakeXYWH(0, i * (kMargin + 2 * kRadius), in make_bm() local 40 bm->extractSubset(&smallBM, subRect); in make_bm() 88 SkIRect subRect = SkIRect::MakeLTRB(0, startItem * itemHeight, in onDraw() local 93 canvas->drawBitmapRect(bmp, subRect, dstRect, &paint); in onDraw()
|
/external/skia/src/gpu/ |
D | GrGpu.cpp | 390 auto subRect = SkIRect::MakeXYWH(left, top, width, height); in readPixels() local 392 if (!bounds.contains(subRect)) { in readPixels() 433 auto subRect = SkIRect::MakeXYWH(left, top, width, height); in writePixels() local 435 if (!bounds.contains(subRect)) { in writePixels() 471 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in transferPixelsTo() local 473 if (!bounds.contains(subRect)) { in transferPixelsTo() 519 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in transferPixelsFrom() local 521 if (!bounds.contains(subRect)) { in transferPixelsFrom()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 444 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixels() 446 SkASSERT(bounds.contains(subRect)); in onTransferPixels() 546 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexDataLinear() 548 SkASSERT(bounds.contains(subRect)); in uploadTexDataLinear()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 571 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixelsTo() 573 SkASSERT(bounds.contains(subRect)); in onTransferPixelsTo() 739 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexDataLinear() 741 SkASSERT(bounds.contains(subRect)); in uploadTexDataLinear()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 876 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixels() 878 SkASSERT(bounds.contains(subRect)); in onTransferPixels() 1172 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexData() 1174 SkASSERT(bounds.contains(subRect)); in uploadTexData()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 880 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixelsTo() 882 SkASSERT(bounds.contains(subRect)); in onTransferPixelsTo()
|