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/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
96 canvas->drawImageRect(bmp.asImage(), SkRect::Make(subRect), dstRect, in onDraw()
/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/src/gpu/
DGrGpu.cpp390 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/
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.cpp571 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/
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()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp880 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixelsTo()
882 SkASSERT(bounds.contains(subRect)); in onTransferPixelsTo()