Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrOpFlushState.cpp101 size_t tightRB = width * GrColorTypeBytesPerPixel(supportedWrite.fColorType); in doUpload() local
102 SkASSERT(rowBytes >= tightRB); in doUpload()
105 (!fGpu->caps()->writePixelsRowBytesSupport() && rowBytes != tightRB)) { in doUpload()
106 tmpPixels.reset(new char[height * tightRB]); in doUpload()
112 if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { in doUpload()
115 rowBytes = tightRB; in doUpload()
DGrDataUtils.cpp527 size_t tightRB = dstBpp * dstInfo.width(); in GrConvertPixels() local
531 memcpy(dst, src, tightRB); in GrConvertPixels()
536 SkRectMemcpy(dst, dstRB, src, srcRB, tightRB, srcInfo.height()); in GrConvertPixels()
/third_party/skia/src/gpu/
DGrOpFlushState.cpp116 size_t tightRB = rect.width()*GrColorTypeBytesPerPixel(supportedWrite.fColorType); in doUpload() local
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()
DGrDataUtils.cpp579 size_t tightRB = dstBpp * dst.width(); in GrConvertPixels() local
584 memcpy(d, s, tightRB); in GrConvertPixels()
589 tightRB, src.height()); in GrConvertPixels()
/third_party/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()
/third_party/flutter/skia/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()