Home
last modified time | relevance | path

Searched refs:GrBytesPerPixel (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/skia/src/gpu/
DGrSurface.cpp36 size_t colorBytes = (size_t) width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()
49 size = (size_t)width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()
73 colorSize = (size_t)width * height * GrBytesPerPixel(config); in ComputeSize()
DGrResourceProvider.cpp109 size_t bpp = GrBytesPerPixel(desc.fConfig); in createTexture()
170 size_t bpp = GrBytesPerPixel(desc.fConfig); in createTexture()
246 size_t rowBytes = GrBytesPerPixel(desc.fConfig) * desc.fWidth; in createTexture()
329 size_t rowBytes = GrBytesPerPixel(copyDesc->fConfig) * copyDesc->fWidth; in createApproxTexture()
DGrDrawOpAtlas.cpp256 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in uploadToPage()
302 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in addToAtlas()
360 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == newPlot->bpp()); in addToAtlas()
DGrGpu.cpp176 int bpp = GrBytesPerPixel(desc.fConfig); in createTexture()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpuCommandBuffer.cpp39 size_t rowBytes = srcRect.width() * GrBytesPerPixel(src->config()); in copy()
213 int rowPitch = GrDawnRoundRowBytes(width * GrBytesPerPixel(src->config())); in copy()
DGrDawnTexture.cpp148 origRowBytes = width * GrBytesPerPixel(kRGBA_8888_GrPixelConfig); in upload()
DGrDawnGpu.cpp273 size_t bpp = GrBytesPerPixel(config); in createBackendTexture()
/third_party/flutter/skia/include/private/
DGrTypesPriv.h876 static constexpr size_t GrBytesPerPixel(GrPixelConfig config) { in GrBytesPerPixel() function
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpu.cpp3881 size_t bytesPerPixel = GrBytesPerPixel(config); in createBackendTexture()