Home
last modified time | relevance | path

Searched refs:subRect (Results 1 – 10 of 10) 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/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.cpp277 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in writePixels() local
279 if (!bounds.contains(subRect)) { in writePixels()
315 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in transferPixels() local
317 if (!bounds.contains(subRect)) { in transferPixels()
/external/skia/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/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/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.cpp447 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixels()
449 SkASSERT(bounds.contains(subRect)); in onTransferPixels()
549 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexDataLinear()
551 SkASSERT(bounds.contains(subRect)); in uploadTexDataLinear()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp912 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in onTransferPixels()
914 SkASSERT(bounds.contains(subRect)); in onTransferPixels()
1207 SkIRect subRect = SkIRect::MakeXYWH(left, top, width, height); in uploadTexData()
1209 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()