Searched refs:componentsPerPixel (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
D | GrGLCreateDebugInterface.cpp | 149 GrGLint componentsPerPixel = 0; in debugGLReadPixels() local 155 componentsPerPixel = 4; in debugGLReadPixels() 158 componentsPerPixel = 3; in debugGLReadPixels() 161 componentsPerPixel = 1; in debugGLReadPixels() 184 rowStride = componentsPerPixel * pixelsInRow; in debugGLReadPixels() 187 sk_float_ceil(componentSize * componentsPerPixel * pixelsInRow / in debugGLReadPixels() 194 memset(scanline, 0, componentsPerPixel * componentSize * width); in debugGLReadPixels()
|
/external/skia/src/gpu/gl/debug/ |
D | GrGLCreateDebugInterface.cpp | 149 GrGLint componentsPerPixel = 0; in debugGLReadPixels() local 155 componentsPerPixel = 4; in debugGLReadPixels() 158 componentsPerPixel = 3; in debugGLReadPixels() 161 componentsPerPixel = 1; in debugGLReadPixels() 184 rowStride = componentsPerPixel * pixelsInRow; in debugGLReadPixels() 187 sk_float_ceil(componentSize * componentsPerPixel * pixelsInRow / in debugGLReadPixels() 194 memset(scanline, 0, componentsPerPixel * componentSize * width); in debugGLReadPixels()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | GraphicsContext3D.cpp | 607 unsigned int* componentsPerPixel, in computeFormatAndTypeParameters() argument 615 *componentsPerPixel = 1; in computeFormatAndTypeParameters() 618 *componentsPerPixel = 2; in computeFormatAndTypeParameters() 621 *componentsPerPixel = 3; in computeFormatAndTypeParameters() 625 *componentsPerPixel = 4; in computeFormatAndTypeParameters() 640 *componentsPerPixel = 1; in computeFormatAndTypeParameters() 666 unsigned int bytesPerComponent, componentsPerPixel; in computeImageSizeInBytes() local 667 if (!computeFormatAndTypeParameters(format, type, &bytesPerComponent, &componentsPerPixel)) in computeImageSizeInBytes() 675 CheckedInt<uint32_t> checkedValue(bytesPerComponent * componentsPerPixel); in computeImageSizeInBytes()
|
D | GraphicsContext3DImagePacking.cpp | 1530 unsigned int componentsPerPixel, bytesPerComponent; in extractTextureData() local 1531 if (!computeFormatAndTypeParameters(format, type, &componentsPerPixel, &bytesPerComponent)) in extractTextureData() 1533 unsigned bytesPerPixel = componentsPerPixel * bytesPerComponent; in extractTextureData()
|
D | GraphicsContext3D.h | 152 unsigned int* componentsPerPixel,
|