Lines Matching refs:ggl
64 if (c->textures.ggl) in ogles_uninit_texture()
65 gglUninit(c->textures.ggl); in ogles_uninit_texture()
249 GGLContext* ggl = c->textures.ggl; in getRasterizer() local
250 if (ggl_unlikely(!ggl)) { in getRasterizer()
252 gglInit(&ggl); in getRasterizer()
253 if (!ggl) { in getRasterizer()
257 c->textures.ggl = ggl; in getRasterizer()
258 ggl->activeTexture(ggl, 0); in getRasterizer()
259 ggl->enable(ggl, GGL_TEXTURE_2D); in getRasterizer()
260 ggl->texEnvi(ggl, GGL_TEXTURE_ENV, GGL_TEXTURE_ENV_MODE, GGL_REPLACE); in getRasterizer()
261 ggl->disable(ggl, GGL_DITHER); in getRasterizer()
262 ggl->shadeModel(ggl, GGL_FLAT); in getRasterizer()
263 ggl->color4xv(ggl, colors); in getRasterizer()
265 return ggl; in getRasterizer()
292 GGLContext* ggl = getRasterizer(c); in copyPixels() local
293 if (!ggl) { in copyPixels()
298 ggl->colorBuffer(ggl, &dst); in copyPixels()
299 ggl->bindTexture(ggl, &src); in copyPixels()
300 ggl->texCoord2i(ggl, x-xoffset, y-yoffset); in copyPixels()
301 ggl->recti(ggl, xoffset, yoffset, xoffset+w, yoffset+h); in copyPixels()
1536 GGLContext* ggl = getRasterizer(c); in glReadPixels() local
1537 if (!ggl) { in glReadPixels()
1543 ggl->colorBuffer(ggl, &userSurface); // destination is user buffer in glReadPixels()
1544 ggl->bindTexture(ggl, &readSurface); // source is read-buffer in glReadPixels()
1545 ggl->texCoord2i(ggl, x, readSurface.height - (y + height)); in glReadPixels()
1546 ggl->recti(ggl, 0, 0, width, height); in glReadPixels()