Searched defs:ComputePixelSize (Results 1 - 2 of 2) sorted by relevance

/external/swiftshader/src/OpenGL/libGL/
H A Dutilities.cpp195 GLsizei rawPitch = ComputePixelSize(format, type) * width;
240 int ComputePixelSize(GLenum format, GLenum type) function in namespace:gl
/external/swiftshader/src/OpenGL/common/
H A DImage.cpp577 static int ComputePixelSize(GLenum format, GLenum type) function in namespace:gl
685 GLsizei rawPitch = ComputePixelSize(format, type) * width;
692 return (storageModes.skipImages * height + storageModes.skipRows) * pitchB + storageModes.skipPixels * ComputePixelSize(format, type);
1466 rect.bytes = gl::ComputePixelSize(format, type);
1797 rect.bytes = gl::ComputePixelSize(format, type);

Completed in 157 milliseconds