[cairo-commit] cairo/src cairo_glitz_surface.c,1.18,1.19

David Reveman commit at pdx.freedesktop.org
Thu Mar 3 18:04:53 PST 2005


Committed by: davidr

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv28451/src

Modified Files:
	cairo_glitz_surface.c 
Log Message:
Major update to glitz backend

Index: cairo_glitz_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_glitz_surface.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- cairo_glitz_surface.c	28 Jan 2005 03:57:31 -0000	1.18
+++ cairo_glitz_surface.c	4 Mar 2005 02:04:51 -0000	1.19
@@ -27,24 +27,6 @@
 #include "cairoint.h"
 #include "cairo-glitz.h"
 
-#define GLITZ_FIXED_TO_FLOAT(f) \
-  (((glitz_float_t) (f)) / 65536)
-
-#define GLITZ_FIXED_LINE_X_TO_FLOAT(line, v) \
-  (((glitz_float_t) \
-      ((line).p1.x + (cairo_fixed_16_16_t) \
-       (((cairo_fixed_32_32_t) ((v) - (line).p1.y) * \
-        ((line).p2.x - (line).p1.x)) / \
[...1339 lines suppressed...]
+    _cairo_glitz_surface_acquire_source_image,
+    _cairo_glitz_surface_release_source_image,
+    _cairo_glitz_surface_acquire_dest_image,
+    _cairo_glitz_surface_release_dest_image,
+    _cairo_glitz_surface_clone_similar,
     _cairo_glitz_surface_set_matrix,
     _cairo_glitz_surface_set_filter,
     _cairo_glitz_surface_set_repeat,
@@ -982,8 +1155,10 @@
     _cairo_surface_init (&crsurface->base, &cairo_glitz_surface_backend);
 
     glitz_surface_reference (surface);
+    
     crsurface->surface = surface;
-    crsurface->format = glitz_surface_get_format (surface);
+    crsurface->format  = glitz_surface_get_format (surface);
+    crsurface->clip    = NULL;
     
     return (cairo_surface_t *) crsurface;
 }




More information about the cairo-commit mailing list