[cairo-commit] glitz/src/agl glitz_agl_context.c, 1.7, 1.8 glitz_agl_drawable.c, 1.5, 1.6 glitz_aglint.h, 1.5, 1.6

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


Committed by: davidr

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

Modified Files:
	glitz_agl_context.c glitz_agl_drawable.c glitz_aglint.h 
Log Message:
Add CopySubBufferMESA support

Index: glitz_agl_context.c
===================================================================
RCS file: /cvs/cairo/glitz/src/agl/glitz_agl_context.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- glitz_agl_context.c	21 Dec 2005 16:19:51 -0000	1.7
+++ glitz_agl_context.c	13 Mar 2006 13:42:46 -0000	1.8
@@ -302,6 +302,7 @@
     context->backend.attach_notify = _glitz_agl_notify_dummy;
     context->backend.detach_notify = _glitz_agl_notify_dummy;
     context->backend.swap_buffers = glitz_agl_swap_buffers;
+    context->backend.copy_sub_buffer = glitz_agl_copy_sub_buffer;
 
     context->backend.create_context = _glitz_agl_create_context;
     context->backend.destroy_context = _glitz_agl_context_destroy;

Index: glitz_agl_drawable.c
===================================================================
RCS file: /cvs/cairo/glitz/src/agl/glitz_agl_drawable.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- glitz_agl_drawable.c	9 Nov 2005 12:22:04 -0000	1.5
+++ glitz_agl_drawable.c	13 Mar 2006 13:42:46 -0000	1.6
@@ -247,3 +247,13 @@
 
     return 1;
 }
+
+glitz_bool_t
+glitz_agl_copy_sub_buffer (void *abstract_drawable,
+			   int  x,
+			   int  y,
+			   int  width,
+			   int  height)
+{
+    return 0;
+}

Index: glitz_aglint.h
===================================================================
RCS file: /cvs/cairo/glitz/src/agl/glitz_aglint.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- glitz_aglint.h	9 Nov 2005 12:22:04 -0000	1.5
+++ glitz_aglint.h	13 Mar 2006 13:42:46 -0000	1.6
@@ -131,6 +131,13 @@
 glitz_agl_swap_buffers (void *abstract_drawable);
 
 extern glitz_bool_t __internal_linkage
+glitz_agl_copy_sub_buffer (void *abstract_drawable,
+			   int  x,
+			   int  y,
+			   int  width,
+			   int  height);
+
+extern glitz_bool_t __internal_linkage
 glitz_agl_drawable_update_size (glitz_agl_drawable_t *drawable,
 				int                  width,
 				int                  height);



More information about the cairo-commit mailing list