Home
last modified time | relevance | path

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

/frameworks/native/opengl/libagl/
Dtexture.cpp364 const int32_t formatIdx = convertGLPixelFormat(format, type); in createTextureSurface() local
365 if (formatIdx == 0) { // we don't know what to do with this in createTextureSurface()
370 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in createTextureSurface()
380 width, height, stride, formatIdx, compressedFormat, bpr); in createTextureSurface()
391 width, height, stride, formatIdx, compressedFormat, bpr); in createTextureSurface()
1191 const int32_t formatIdx = convertGLPixelFormat(format, type); in glTexImage2D() local
1192 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexImage2D()
1203 userSurface.format = formatIdx; in glTexImage2D()
1270 const int32_t formatIdx = convertGLPixelFormat(format, type); in glTexSubImage2D() local
1271 if (formatIdx == 0) { // we don't know what to do with this in glTexSubImage2D()
[all …]
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp568 unsigned int formatIdx = testRandMod(NUMA(hwcTestGraphicFormat)); in initFrames() local
570 = &hwcTestGraphicFormat[formatIdx]; in initFrames()
/frameworks/base/tools/aapt/
DResourceTable.cpp1335 ssize_t formatIdx = block.indexOfAttribute(NULL, "format"); in compileResourceFile() local
1336 if (formatIdx >= 0) { in compileResourceFile()
1338 formatIdx, &len)); in compileResourceFile()
1462 ssize_t formatIdx = block.indexOfAttribute(NULL, "format"); in compileResourceFile() local
1463 if (formatIdx >= 0) { in compileResourceFile()
1465 formatIdx, &len)); in compileResourceFile()