Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrSurface.cpp33 size_t colorBytes = (size_t) width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()
42 size = (size_t) width * height * GrBytesPerPixel(desc.fConfig); in WorstCaseSize()
60 size_t colorSize = (size_t)width * height * GrBytesPerPixel(config); in ComputeSize()
DGrDrawOpAtlas.cpp71 , fBytesPerPixel(GrBytesPerPixel(config)) in Plot()
240 SkASSERT(GrBytesPerPixel(fProxy->config()) == plot->bpp()); in addToAtlas()
254 SkASSERT(GrBytesPerPixel(fProxy->config()) == plot->bpp()); in addToAtlas()
280 SkASSERT(GrBytesPerPixel(fProxy->config()) == newPlot->bpp()); in addToAtlas()
DGrContext.cpp358 GrBytesPerPixel(srcConfig), &left, &top, &width, in writeSurfacePixels()
488 GrBytesPerPixel(dstConfig), &left, in readSurfacePixels()
DGrGpu.cpp334 size_t bpp = GrBytesPerPixel(config); in readPixels()
/external/skia/tests/
DGrSurfaceTest.cpp104 GrBytesPerPixel(kRGBA_float_GrPixelConfig); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
122 size_t rowBytes = desc.fWidth * GrBytesPerPixel(desc.fConfig); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp453 size_t bpp = GrBytesPerPixel(config); in onTransferPixels()
569 size_t bpp = GrBytesPerPixel(dataConfig); in uploadTexDataLinear()
640 size_t bpp = GrBytesPerPixel(dataConfig); in uploadTexDataOptimal()
1206 size_t bpp = GrBytesPerPixel(config); in createTestingOnlyBackendTexture()
1511 GrBytesPerPixel(src->config()) == GrBytesPerPixel(dst->config())) { in can_copy_image()
1829 size_t bpp = GrBytesPerPixel(config); in onReadPixels()
/external/skia/include/gpu/
DGrTypes.h425 static inline size_t GrBytesPerPixel(GrPixelConfig config) { in GrBytesPerPixel() function
/external/skia/src/gpu/gl/
DGrGLGpu.cpp847 size_t bpp = GrBytesPerPixel(config); in onTransferPixels()
1056 size_t bpp = GrBytesPerPixel(dataConfig); in uploadTexData()
1401 size_t rowSize = GrBytesPerPixel(desc.fConfig) * desc.fWidth; in onCreateTexture()
2066 return caps.packRowLengthSupport() || GrBytesPerPixel(config) * width == rowBytes; in read_pixels_pays_for_y_flip()
2189 GrBytesPerPixel(readConfig) == 4 && in onGetReadPixelsInfo()
2341 size_t bytesPerPixel = GrBytesPerPixel(config); in onReadPixels()