[cairo-commit] glitz/src/glx glitz_glx_context.c,1.5,1.6
David Reveman
commit at pdx.freedesktop.org
Mon Jul 4 03:33:03 PDT 2005
- Previous message: [cairo-commit] glitz/src glitz.c, 1.33, 1.34 glitz.h, 1.32,
1.33 glitz_framebuffer.c, 1.1, 1.2 glitz_geometry.c, 1.5,
1.6 glitz_pixel.c, 1.19, 1.20 glitz_rect.c, 1.16,
1.17 glitz_surface.c, 1.29, 1.30 glitz_texture.c, 1.18,
1.19 glitzint.h, 1.34, 1.35
- Next message: [cairo-commit] rendertest ChangeLog,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: davidr
Update of /cvs/cairo/glitz/src/glx
In directory gabe:/tmp/cvs-serv30344/src/glx
Modified Files:
glitz_glx_context.c
Log Message:
Fix GL_EXT_framebuffer_object support
Index: glitz_glx_context.c
===================================================================
RCS file: /cvs/cairo/glitz/src/glx/glitz_glx_context.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- glitz_glx_context.c 6 Jun 2005 12:28:40 -0000 1.5
+++ glitz_glx_context.c 4 Jul 2005 10:33:01 -0000 1.6
@@ -180,8 +180,17 @@
if ((glXGetCurrentContext () != context->context) ||
(glXGetCurrentDrawable () != drawable->drawable))
- glXMakeCurrent (display_info->display, drawable->drawable,
- context->context);
+ {
+ if (display_info->thread_info->cctx)
+ {
+ glitz_context_t *ctx = display_info->thread_info->cctx;
+
+ if (ctx->lose_current)
+ ctx->lose_current (ctx->closure);
+ }
+ glXMakeCurrent (display_info->display, drawable->drawable,
+ context->context);
+ }
display_info->thread_info->cctx = &context->base;
}
- Previous message: [cairo-commit] glitz/src glitz.c, 1.33, 1.34 glitz.h, 1.32,
1.33 glitz_framebuffer.c, 1.1, 1.2 glitz_geometry.c, 1.5,
1.6 glitz_pixel.c, 1.19, 1.20 glitz_rect.c, 1.16,
1.17 glitz_surface.c, 1.29, 1.30 glitz_texture.c, 1.18,
1.19 glitzint.h, 1.34, 1.35
- Next message: [cairo-commit] rendertest ChangeLog,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list