Home | History | Annotate | Download | only in libagl

Lines Matching refs:ggl

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