[cairo-commit] glitz/src/egl glitz_egl_context.c, 1.4, 1.5 glitz_egl_surface.c, 1.4, 1.5 glitz_eglint.h, 1.3, 1.4

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


Committed by: davidr

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

Modified Files:
	glitz_egl_context.c glitz_egl_surface.c glitz_eglint.h 
Log Message:
Add CopySubBufferMESA support

Index: glitz_egl_context.c
===================================================================
RCS file: /cvs/cairo/glitz/src/egl/glitz_egl_context.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- glitz_egl_context.c	2 Jan 2006 13:23:45 -0000	1.4
+++ glitz_egl_context.c	13 Mar 2006 13:42:46 -0000	1.5
@@ -199,6 +199,7 @@
     context->backend.attach_notify = _glitz_egl_notify_dummy;
     context->backend.detach_notify = _glitz_egl_notify_dummy;
     context->backend.swap_buffers = glitz_egl_swap_buffers;
+    context->backend.copy_sub_buffer = glitz_egl_copy_sub_buffer;
 
     context->backend.create_context = _glitz_egl_create_context;
     context->backend.destroy_context = _glitz_egl_context_destroy;

Index: glitz_egl_surface.c
===================================================================
RCS file: /cvs/cairo/glitz/src/egl/glitz_egl_surface.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- glitz_egl_surface.c	29 Nov 2005 22:41:27 -0000	1.4
+++ glitz_egl_surface.c	13 Mar 2006 13:42:46 -0000	1.5
@@ -242,3 +242,13 @@
 
     return 1;
 }
+
+glitz_bool_t
+glitz_egl_copy_sub_buffer (void *abstract_drawable,
+			   int  x,
+			   int  y,
+			   int  width,
+			   int  height)
+{
+    return 0;
+}

Index: glitz_eglint.h
===================================================================
RCS file: /cvs/cairo/glitz/src/egl/glitz_eglint.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- glitz_eglint.h	14 Sep 2005 15:57:16 -0000	1.3
+++ glitz_eglint.h	13 Mar 2006 13:42:46 -0000	1.4
@@ -161,6 +161,13 @@
 extern glitz_bool_t __internal_linkage
 glitz_egl_swap_buffers (void *abstract_drawable);
 
+extern glitz_bool_t __internal_linkage
+glitz_egl_copy_sub_buffer (void *abstract_drawable,
+			   int  x,
+			   int  y,
+			   int  width,
+			   int  height);
+
 /* Avoid unnecessary PLT entries. */
 
 slim_hidden_proto(glitz_egl_init)



More information about the cairo-commit mailing list