Lines Matching refs:pixelFormat
285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); in copyPixels() local
286 const size_t size = src.height * src.stride * pixelFormat.size; in copyPixels()
377 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in createTextureSurface() local
379 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in createTextureSurface()
381 const int32_t stride = bpr / pixelFormat.size; in createTextureSurface()
1199 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexImage2D() local
1201 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glTexImage2D()
1203 const int32_t stride = bpr / pixelFormat.size; in glTexImage2D()
1283 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexSubImage2D() local
1285 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glTexSubImage2D()
1287 const int32_t stride = bpr / pixelFormat.size; in glTexSubImage2D()
1521 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glReadPixels() local
1523 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glReadPixels()
1524 const int32_t stride = bpr / pixelFormat.size; in glReadPixels()