Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrSurface.cpp40 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()
DGrDrawOpAtlas.cpp75 , 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()
DGrProxyProvider.cpp431 texels.fRowBytes = GrBytesPerPixel(desc.fConfig)*desc.fWidth; in createProxy()
/external/skqp/include/private/
DGrTypesPriv.h1013 static inline size_t GrBytesPerPixel(GrPixelConfig config) { in GrBytesPerPixel() function
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp1196 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()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1444 size_t bpp = GrBytesPerPixel(config); in createTestingOnlyVkImage()