Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext3D.cpp608 unsigned int* bytesPerComponent) in computeFormatAndTypeParameters() argument
632 *bytesPerComponent = sizeof(GC3Dubyte); in computeFormatAndTypeParameters()
635 *bytesPerComponent = sizeof(GC3Dushort); in computeFormatAndTypeParameters()
641 *bytesPerComponent = sizeof(GC3Dushort); in computeFormatAndTypeParameters()
645 *bytesPerComponent = sizeof(GC3Duint); in computeFormatAndTypeParameters()
648 *bytesPerComponent = sizeof(GC3Dfloat); in computeFormatAndTypeParameters()
651 *bytesPerComponent = sizeof(GC3Dhalffloat); 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()
DGraphicsContext3DImagePacking.cpp1530 unsigned int componentsPerPixel, bytesPerComponent; in extractTextureData() local
1531 if (!computeFormatAndTypeParameters(format, type, &componentsPerPixel, &bytesPerComponent)) in extractTextureData()
1533 unsigned bytesPerPixel = componentsPerPixel * bytesPerComponent; in extractTextureData()
DGraphicsContext3D.h153 unsigned int* bytesPerComponent);