HomeSort by relevance Sort by last modified time
    Searched refs:componentsPerPixel (Results 1 - 3 of 3) sorted by null

  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContext3DCG.cpp 65 static GraphicsContext3D::SourceDataFormat getSourceDataFormat(unsigned int componentsPerPixel, AlphaFormat alphaFormat, bool is16BitFormat, bool bigEndian)
67 const static SourceDataFormatBase formatTableBase[4][AlphaFormatNumFormats] = { // componentsPerPixel x AlphaFormat
69 { SourceFormatBaseR, SourceFormatBaseA, SourceFormatBaseA }, // 1 componentsPerPixel
70 { SourceFormatBaseNumFormats, SourceFormatBaseAR, SourceFormatBaseRA }, // 2 componentsPerPixel
71 { SourceFormatBaseRGB, SourceFormatBaseNumFormats, SourceFormatBaseNumFormats }, // 3 componentsPerPixel
72 { SourceFormatBaseNumFormats, SourceFormatBaseARGB, SourceFormatBaseRGBA } // 4 componentsPerPixel
85 ASSERT(componentsPerPixel <= 4 && componentsPerPixel > 0);
86 SourceDataFormatBase formatBase = formatTableBase[componentsPerPixel - 1][alphaFormat];
155 size_t componentsPerPixel = bitsPerPixel / bitsPerComponent
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
GraphicsContext3D.cpp 88 unsigned int* componentsPerPixel,
93 *componentsPerPixel = 1;
96 *componentsPerPixel = 1;
99 *componentsPerPixel = 2;
102 *componentsPerPixel = 3;
106 *componentsPerPixel = 4;
118 *componentsPerPixel = 1;
137 unsigned int bytesPerComponent, componentsPerPixel;
138 if (!computeFormatAndTypeParameters(format, type, &bytesPerComponent, &componentsPerPixel))
146 CheckedInt<uint32_t> checkedValue(bytesPerComponent * componentsPerPixel);
    [all...]
GraphicsContext3D.h 509 unsigned int* componentsPerPixel,
    [all...]

Completed in 170 milliseconds