Searched refs:GrBytesPerPixel (Results 1 – 6 of 6) sorted by relevance
40 size_t colorBytes = (size_t) width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()52 size = (size_t)width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()80 colorSize = (size_t)width * height * GrBytesPerPixel(config); in ComputeSize()
75 , fBytesPerPixel(GrBytesPerPixel(config)) in Plot()246 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in uploadToPage()292 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in addToAtlas()347 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == newPlot->bpp()); in addToAtlas()
431 texels.fRowBytes = GrBytesPerPixel(desc.fConfig)*desc.fWidth; in createProxy()
1013 static inline size_t GrBytesPerPixel(GrPixelConfig config) { in GrBytesPerPixel() function
1196 size_t bpp = GrBytesPerPixel(dataConfig); in uploadTexData()1555 size_t rowSize = GrBytesPerPixel(desc.fConfig) * desc.fWidth; in onCreateTexture()2365 int bytesPerPixel = GrBytesPerPixel(dstAsConfig); in onReadPixels()
1444 size_t bpp = GrBytesPerPixel(config); in createTestingOnlyVkImage()