Home
last modified time | relevance | path

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

/frameworks/native/opengl/libagl/
Dtexture.cpp371 const int32_t formatIdx = convertGLPixelFormat(format, type); in createTextureSurface() local
372 if (formatIdx == 0) { // we don't know what to do with this in createTextureSurface()
377 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in createTextureSurface()
387 width, height, stride, formatIdx, compressedFormat, bpr); in createTextureSurface()
398 width, height, stride, formatIdx, compressedFormat, bpr); in createTextureSurface()
1198 const int32_t formatIdx = convertGLPixelFormat(format, type); in glTexImage2D() local
1199 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexImage2D()
1210 userSurface.format = formatIdx; in glTexImage2D()
1277 const int32_t formatIdx = convertGLPixelFormat(format, type); in glTexSubImage2D() local
1278 if (formatIdx == 0) { // we don't know what to do with this in glTexSubImage2D()
[all …]
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp567 unsigned int formatIdx = testRandMod(NUMA(hwcTestGraphicFormat)); in initFrames() local
569 = &hwcTestGraphicFormat[formatIdx]; in initFrames()
/frameworks/base/tools/aapt/
DResourceTable.cpp1329 ssize_t formatIdx = block.indexOfAttribute(NULL, "format"); in compileResourceFile() local
1330 if (formatIdx >= 0) { in compileResourceFile()
1332 formatIdx, &len)); in compileResourceFile()
1456 ssize_t formatIdx = block.indexOfAttribute(NULL, "format"); in compileResourceFile() local
1457 if (formatIdx >= 0) { in compileResourceFile()
1459 formatIdx, &len)); in compileResourceFile()