Searched refs:GrBytesPerPixel (Results 1 – 8 of 8) sorted by relevance
33 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()
71 , 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()
358 GrBytesPerPixel(srcConfig), &left, &top, &width, in writeSurfacePixels()488 GrBytesPerPixel(dstConfig), &left, in readSurfacePixels()
334 size_t bpp = GrBytesPerPixel(config); in readPixels()
104 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()
453 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()
425 static inline size_t GrBytesPerPixel(GrPixelConfig config) { in GrBytesPerPixel() function
847 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()