Lines Matching refs:formatIdx
360 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()
1271 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexSubImage2D()
1280 userSurface.format = formatIdx; in glTexSubImage2D()
1491 int32_t formatIdx = GGL_PIXEL_FORMAT_NONE; in glReadPixels() local
1493 formatIdx = GGL_PIXEL_FORMAT_RGBA_8888; in glReadPixels()
1495 formatIdx = GGL_PIXEL_FORMAT_RGB_565; in glReadPixels()
1508 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glReadPixels()
1518 userSurface.format = formatIdx; in glReadPixels()