Home
last modified time | relevance | path

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

/frameworks/native/opengl/libagl/
Dtexture.cpp360 const int32_t formatIdx = convertGLPixelFormat(format, type); in createTextureSurface() local
361 if (formatIdx == 0) { // we don't know what to do with this in createTextureSurface()
366 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in createTextureSurface()
376 width, height, stride, formatIdx, compressedFormat, bpr); in createTextureSurface()
387 width, height, stride, formatIdx, compressedFormat, bpr); in createTextureSurface()
1187 const int32_t formatIdx = convertGLPixelFormat(format, type); in glTexImage2D() local
1188 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexImage2D()
1198 userSurface.format = formatIdx; in glTexImage2D()
1265 const int32_t formatIdx = convertGLPixelFormat(format, type); in glTexSubImage2D() local
1266 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.cpp1332 ssize_t formatIdx = block.indexOfAttribute(NULL, "format"); in compileResourceFile() local
1333 if (formatIdx >= 0) { in compileResourceFile()
1335 formatIdx, &len)); in compileResourceFile()
1459 ssize_t formatIdx = block.indexOfAttribute(NULL, "format"); in compileResourceFile() local
1460 if (formatIdx >= 0) { in compileResourceFile()
1462 formatIdx, &len)); in compileResourceFile()