Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrOpFlushState.cpp111 size_t tightRB = width * GrColorTypeBytesPerPixel(supportedWrite.fColorType); in doUpload() local
112 SkASSERT(rowBytes >= tightRB); in doUpload()
115 (!fGpu->caps()->writePixelsRowBytesSupport() && rowBytes != tightRB)) { in doUpload()
116 tmpPixels.reset(new char[height * tightRB]); in doUpload()
121 if (!GrConvertPixels( GrPixmap(tmpInfo, tmpPixels.get(), tightRB ), in doUpload()
125 rowBytes = tightRB; in doUpload()
DGrDataUtils.cpp575 size_t tightRB = dstBpp * dst.width(); in GrConvertPixels() local
580 memcpy(d, s, tightRB); in GrConvertPixels()
585 tightRB, src.height()); in GrConvertPixels()
/external/skia/tests/
DReadPixelsTest.cpp252 static void init_bitmap(SkBitmap* bitmap, const SkIRect& rect, TightRowBytes tightRB, in init_bitmap() argument
256 if (tightRB == TightRowBytes::kNo) { in init_bitmap()
331 for (auto tightRB : {TightRowBytes::kYes, TightRowBytes::kNo}) { in test_readpixels()
334 init_bitmap(&bmp, srcRect, tightRB, gReadPixelsConfigs[c].fColorType, in test_readpixels()
DWritePixelsTest.cpp295 static bool setup_bitmap(SkBitmap* bm, SkColorType ct, SkAlphaType at, int w, int h, int tightRB) { in setup_bitmap() argument
296 size_t rowBytes = tightRB ? 0 : 4 * w + 60; in setup_bitmap()
/external/skqp/tests/
DWritePixelsTest.cpp295 static bool setup_bitmap(SkBitmap* bm, SkColorType ct, SkAlphaType at, int w, int h, int tightRB) { in setup_bitmap() argument
296 size_t rowBytes = tightRB ? 0 : 4 * w + 60; in setup_bitmap()