Searched refs:bytesPerComponent (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DWebGLImageConversion.h114 static bool computeFormatAndTypeParameters(GLenum format, GLenum type, unsigned* componentsPerPixel, unsigned* bytesPerComponent);
H A DWebGLImageConversion.cpp1443 bool WebGLImageConversion::computeFormatAndTypeParameters(GLenum format, GLenum type, unsigned* componentsPerPixel, unsigned* bytesPerComponent) argument
1467 *bytesPerComponent = sizeof(GLubyte);
1470 *bytesPerComponent = sizeof(GLushort);
1476 *bytesPerComponent = sizeof(GLushort);
1480 *bytesPerComponent = sizeof(GLuint);
1483 *bytesPerComponent = sizeof(GLfloat);
1486 *bytesPerComponent = sizeof(GLushort);
1500 unsigned bytesPerComponent, componentsPerPixel; local
1501 if (!computeFormatAndTypeParameters(format, type, &bytesPerComponent, &componentsPerPixel))
1509 CheckedInt<uint32_t> checkedValue(bytesPerComponent * componentsPerPixe
1722 unsigned int componentsPerPixel, bytesPerComponent; local
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
H A DRenderer11.cpp2245 const unsigned int bytesPerComponent = 4 * sizeof(float); local
2250 return D3D11_REQ_CONSTANT_BUFFER_ELEMENT_COUNT * bytesPerComponent;
2253 return D3D10_REQ_CONSTANT_BUFFER_ELEMENT_COUNT * bytesPerComponent;

Completed in 201 milliseconds