[cairo-commit] glitz/src/glx glitz_glx_context.c,1.11,1.12

David Reveman commit at pdx.freedesktop.org
Wed May 24 05:14:22 PDT 2006


Committed by: davidr

Update of /cvs/cairo/glitz/src/glx
In directory kemper:/tmp/cvs-serv12059/src/glx

Modified Files:
	glitz_glx_context.c 
Log Message:
Add glitz_drawable_get_gl_string and direct rendering to the feature mask

Index: glitz_glx_context.c
===================================================================
RCS file: /cvs/cairo/glitz/src/glx/glitz_glx_context.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- glitz_glx_context.c	22 May 2006 00:59:33 -0000	1.11
+++ glitz_glx_context.c	24 May 2006 12:14:20 -0000	1.12
@@ -368,6 +368,9 @@
     if (screen_info->glx_feature_mask & GLITZ_GLX_FEATURE_COPY_SUB_BUFFER_MASK)
 	context->backend.feature_mask |= GLITZ_FEATURE_COPY_SUB_BUFFER_MASK;
 
+    if (glXIsDirect (screen_info->display_info->display, context->context))
+	context->backend.feature_mask |= GLITZ_FEATURE_DIRECT_RENDERING_MASK;
+
     context->initialized = 1;
 }
 



More information about the cairo-commit mailing list