Searched refs:GrBytesPerPixel (Results 1 – 9 of 9) sorted by relevance
36 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()
109 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()
256 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()
176 int bpp = GrBytesPerPixel(desc.fConfig); in createTexture()
39 size_t rowBytes = srcRect.width() * GrBytesPerPixel(src->config()); in copy()213 int rowPitch = GrDawnRoundRowBytes(width * GrBytesPerPixel(src->config())); in copy()
148 origRowBytes = width * GrBytesPerPixel(kRGBA_8888_GrPixelConfig); in upload()
273 size_t bpp = GrBytesPerPixel(config); in createBackendTexture()
876 static constexpr size_t GrBytesPerPixel(GrPixelConfig config) { in GrBytesPerPixel() function
3881 size_t bytesPerPixel = GrBytesPerPixel(config); in createBackendTexture()