[cairo-commit] glitz/src/wgl glitz_wgl_context.c, 1.2, 1.3 glitz_wgl_drawable.c, 1.2, 1.3 glitz_wglint.h, 1.1, 1.2

David Reveman commit at pdx.freedesktop.org
Mon Mar 13 05:42:48 PST 2006


Committed by: davidr

Update of /cvs/cairo/glitz/src/wgl
In directory kemper:/tmp/cvs-serv15574/src/wgl

Modified Files:
	glitz_wgl_context.c glitz_wgl_drawable.c glitz_wglint.h 
Log Message:
Add CopySubBufferMESA support

Index: glitz_wgl_context.c
===================================================================
RCS file: /cvs/cairo/glitz/src/wgl/glitz_wgl_context.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- glitz_wgl_context.c	21 Dec 2005 16:19:51 -0000	1.2
+++ glitz_wgl_context.c	13 Mar 2006 13:42:46 -0000	1.3
@@ -186,6 +186,7 @@
     context->backend.attach_notify = _glitz_wgl_notify_dummy;
     context->backend.detach_notify = _glitz_wgl_notify_dummy;
     context->backend.swap_buffers = glitz_wgl_swap_buffers;
+    context->backend.copy_sub_buffer = glitz_wgl_copy_sub_buffer;
 
     context->backend.create_context = _glitz_wgl_create_context;
     context->backend.destroy_context = _glitz_wgl_destroy_context;

Index: glitz_wgl_drawable.c
===================================================================
RCS file: /cvs/cairo/glitz/src/wgl/glitz_wgl_drawable.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- glitz_wgl_drawable.c	7 Dec 2005 21:22:49 -0000	1.2
+++ glitz_wgl_drawable.c	13 Mar 2006 13:42:46 -0000	1.3
@@ -226,3 +226,13 @@
 
     return 1;
 }
+
+glitz_bool_t
+glitz_wgl_copy_sub_buffer (void *abstract_drawable,
+			   int  x,
+			   int  y,
+			   int  width,
+			   int  height)
+{
+    return 0;
+}

Index: glitz_wglint.h
===================================================================
RCS file: /cvs/cairo/glitz/src/wgl/glitz_wglint.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- glitz_wglint.h	9 Nov 2005 12:32:24 -0000	1.1
+++ glitz_wglint.h	13 Mar 2006 13:42:46 -0000	1.2
@@ -187,6 +187,13 @@
 extern glitz_bool_t __internal_linkage
 glitz_wgl_swap_buffers (void *abstract_drawable);
 
+extern glitz_bool_t __internal_linkage
+glitz_wgl_copy_sub_buffer (void *abstract_drawable,
+			   int  x,
+			   int  y,
+			   int  width,
+			   int  height);
+
 extern void __internal_linkage
 glitz_wgl_print_win32_error_string (int error_code);
 



More information about the cairo-commit mailing list