Lines Matching refs:userSurface
1205 GGLSurface userSurface; in glTexImage2D() local
1206 userSurface.version = sizeof(userSurface); in glTexImage2D()
1207 userSurface.width = width; in glTexImage2D()
1208 userSurface.height = height; in glTexImage2D()
1209 userSurface.stride = stride; in glTexImage2D()
1210 userSurface.format = formatIdx; in glTexImage2D()
1211 userSurface.compressedFormat = 0; in glTexImage2D()
1212 userSurface.data = (GLubyte*)pixels; in glTexImage2D()
1214 int err = copyPixels(c, *surface, 0, 0, userSurface, 0, 0, width, height); in glTexImage2D()
1288 GGLSurface userSurface; in glTexSubImage2D() local
1289 userSurface.version = sizeof(userSurface); in glTexSubImage2D()
1290 userSurface.width = width; in glTexSubImage2D()
1291 userSurface.height = height; in glTexSubImage2D()
1292 userSurface.stride = stride; in glTexSubImage2D()
1293 userSurface.format = formatIdx; in glTexSubImage2D()
1294 userSurface.compressedFormat = 0; in glTexSubImage2D()
1295 userSurface.data = (GLubyte*)pixels; in glTexSubImage2D()
1299 userSurface, 0, 0, width, height); in glTexSubImage2D()
1526 GGLSurface userSurface; in glReadPixels() local
1527 userSurface.version = sizeof(userSurface); in glReadPixels()
1528 userSurface.width = width; in glReadPixels()
1529 userSurface.height = height; in glReadPixels()
1530 userSurface.stride = -stride; // bottom row is transfered first in glReadPixels()
1531 userSurface.format = formatIdx; in glReadPixels()
1532 userSurface.compressedFormat = 0; in glReadPixels()
1533 userSurface.data = (GLubyte*)pixels; in glReadPixels()
1543 ggl->colorBuffer(ggl, &userSurface); // destination is user buffer in glReadPixels()