Searched refs:componentSize (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/gpu/gl/debug/
H A DGrGLCreateDebugInterface.cpp164 GrGLint componentSize = 0; // size (in bytes) of a single component local
168 componentSize = 1;
176 if (componentSize >= alignment) {
180 sk_float_ceil(componentSize * componentsPerPixel * pixelsInRow /
182 rowStride = static_cast<GrGLint>(alignment * fTemp / componentSize);
187 memset(scanline, 0, componentsPerPixel * componentSize * width);
/external/skia/src/gpu/gl/debug/
H A DGrGLCreateDebugInterface.cpp164 GrGLint componentSize = 0; // size (in bytes) of a single component local
168 componentSize = 1;
176 if (componentSize >= alignment) {
180 sk_float_ceil(componentSize * componentsPerPixel * pixelsInRow /
182 rowStride = static_cast<GrGLint>(alignment * fTemp / componentSize);
187 memset(scanline, 0, componentsPerPixel * componentSize * width);
/external/deqp/modules/glshared/
H A DglsLongStressCase.cpp995 const int componentSize = (int)(isFloat ? sizeof(GLfloat) : sizeof(GLint)); local
996 const int offsetInBuf = nextDivisible((int)attrDataBuf.size(), componentSize); // Round up for alignment.
1001 dataSizeBytesDst = numComponents*componentSize*numVertices;
H A DglsDrawTest.cpp1672 const size_t componentSize = sizeof(T);
1673 const size_t elementSize = componentSize * componentCount;
1704 alignmentSafeAssignment(writePtr + componentNdx*componentSize, components[componentNdx].getValue());

Completed in 2076 milliseconds