Lines Matching refs:userSurface
1193 GGLSurface userSurface; in glTexImage2D() local
1194 userSurface.version = sizeof(userSurface); in glTexImage2D()
1195 userSurface.width = width; in glTexImage2D()
1196 userSurface.height = height; in glTexImage2D()
1197 userSurface.stride = stride; in glTexImage2D()
1198 userSurface.format = formatIdx; in glTexImage2D()
1199 userSurface.compressedFormat = 0; in glTexImage2D()
1200 userSurface.data = (GLubyte*)pixels; in glTexImage2D()
1202 int err = copyPixels(c, *surface, 0, 0, userSurface, 0, 0, width, height); in glTexImage2D()
1275 GGLSurface userSurface; in glTexSubImage2D() local
1276 userSurface.version = sizeof(userSurface); in glTexSubImage2D()
1277 userSurface.width = width; in glTexSubImage2D()
1278 userSurface.height = height; in glTexSubImage2D()
1279 userSurface.stride = stride; in glTexSubImage2D()
1280 userSurface.format = formatIdx; in glTexSubImage2D()
1281 userSurface.compressedFormat = 0; in glTexSubImage2D()
1282 userSurface.data = (GLubyte*)pixels; in glTexSubImage2D()
1286 userSurface, 0, 0, width, height); in glTexSubImage2D()
1513 GGLSurface userSurface; in glReadPixels() local
1514 userSurface.version = sizeof(userSurface); in glReadPixels()
1515 userSurface.width = width; in glReadPixels()
1516 userSurface.height = height; in glReadPixels()
1517 userSurface.stride = -stride; // bottom row is transfered first in glReadPixels()
1518 userSurface.format = formatIdx; in glReadPixels()
1519 userSurface.compressedFormat = 0; in glReadPixels()
1520 userSurface.data = (GLubyte*)pixels; in glReadPixels()
1530 ggl->colorBuffer(ggl, &userSurface); // destination is user buffer in glReadPixels()