Home
last modified time | relevance | path

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

/external/skia/gpu/include/
DGrTexture.h198 return fWidth * fHeight * GrBytesPerPixel(fConfig); in sizeInBytes()
DGrTypes.h267 static inline size_t GrBytesPerPixel(GrPixelConfig config) { in GrBytesPerPixel() function
/external/skia/gpu/src/
DGrGpuGL.cpp617 texDesc.fUploadByteCount = GrBytesPerPixel(desc.fConfig); in onCreatePlatformSurface()
753 glDesc.fUploadByteCount = GrBytesPerPixel(desc.fFormat); in onCreateTexture()
1283 size_t stride = width * GrBytesPerPixel(config); in onReadPixels()
DGrContext.cpp291 int bpp = GrBytesPerPixel(desc.fFormat); in createAndLockTexture()