Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrSurface.cpp104 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()
DGrGpu.cpp278 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/skqp/gm/
Dtallstretchedbitmaps.cpp38 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/gm/
Dtallstretchedbitmaps.cpp43 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
98 canvas->drawBitmapRect(bmp, subRect, dstRect, &paint); in onDraw()
/external/skia/src/gpu/
DGrGpu.cpp465 auto subRect = SkIRect::MakeXYWH(left, top, width, height); in readPixels() local
467 if (!bounds.contains(subRect)) { in readPixels()
509 auto subRect = SkIRect::MakeXYWH(left, top, width, height); in writePixels() local
511 if (!bounds.contains(subRect)) { in writePixels()
549 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in transferPixelsTo() local
551 if (!bounds.contains(subRect)) { in transferPixelsTo()
597 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in transferPixelsFrom() local
599 if (!bounds.contains(subRect)) { in transferPixelsFrom()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp444 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/
DGrVkGpu.cpp496 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixelsTo()
498 SkASSERT(bounds.contains(subRect)); in onTransferPixelsTo()
650 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexDataLinear()
652 SkASSERT(bounds.contains(subRect)); in uploadTexDataLinear()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp932 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixelsTo()
934 SkASSERT(bounds.contains(subRect)); in onTransferPixelsTo()
1005 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexData()
1007 SkASSERT(bounds.contains(subRect)); in uploadTexData()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp876 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()