Searched refs:tightRB (Results 1 - 4 of 4) sorted by relevance
/third_party/skia/src/gpu/ |
H A D | GrOpFlushState.cpp | 116 size_t tightRB = rect.width()*GrColorTypeBytesPerPixel(supportedWrite.fColorType); in doUpload() 117 SkASSERT(rowBytes >= tightRB); in doUpload() 120 (!fGpu->caps()->writePixelsRowBytesSupport() && rowBytes != tightRB)) { in doUpload() 121 tmpPixels.reset(new char[rect.height()*tightRB]); in doUpload() 126 if (!GrConvertPixels( GrPixmap(tmpInfo, tmpPixels.get(), tightRB ), in doUpload() 130 rowBytes = tightRB; in doUpload()
|
H A D | GrDataUtils.cpp | 635 size_t tightRB = dstBpp * dst.width(); in GrConvertPixels() local 640 memcpy(d, s, tightRB); in GrConvertPixels() 645 tightRB, src.height()); in GrConvertPixels()
|
/third_party/skia/tests/ |
H A D | ReadPixelsTest.cpp | 252 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()
|
H A D | WritePixelsTest.cpp | 295 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()
|
Completed in 5 milliseconds