[cairo-commit] glitz ChangeLog, 1.39, 1.40 README, 1.1.1.1, 1.2 TODO, 1.7, 1.8 configure.in, 1.9, 1.10

David Reveman commit at pdx.freedesktop.org
Tue Jul 20 00:51:16 PDT 2004


Committed by: davidr

Update of /cvs/cairo/glitz
In directory pdx:/tmp/cvs-serv23709

Modified Files:
	ChangeLog README TODO configure.in 
Log Message:
Component-alpha among other things

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/glitz/ChangeLog,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** ChangeLog	21 Jun 2004 21:49:14 -0000	1.39
--- ChangeLog	20 Jul 2004 07:51:13 -0000	1.40
***************
*** 1,2 ****
--- 1,120 ----
+ 2004-07-20  David Reveman  <c99drn at cs.umu.se>
+ 
+ 	* src/glitzint.h: Added glTexEnvfv, glColor4d and pixel buffer
+ 	functions to glitz_gl_proc_address_list_t.
+ 	Moved some stuff into glitz_color_range.c.
+ 	Added new glitz_render_op_t infrastructure.
+ 	Added component-alpha support.
+ 	Fixed some macros.
+ 	Added reference counting to glitz_surface_t.
+ 	programs -> program_map.
+ 	SHORT_MODULATE -> SHORT_MULT.
+ 
+ 	* src/glitz_surface.c (glitz_surface_init): programs -> program_map.
+ 	Added reference counting to surfaces.
+ 	Added glitz_surface_set_component_alpha.
+ 
+ 	* src/glitz_render.c: Added new glitz_render_op_t infrastructure.
+ 	This is a major improvement to the old mess. This new infrastructure
+ 	scales very well, is much easier to understand and is more efficient.
+ 
+ 	* src/glitz_programmatic.c: GLITZ_PROGRAMMATIC_SURFACE_LINEAR_TYPE ->
+ 	GLITZ_PROGRAMMATIC_SURFACE_TYPE_LINEAR and 
+ 	GLITZ_PROGRAMMATIC_SURFACE_RADIAL_TYPE ->
+ 	GLITZ_PROGRAMMATIC_SURFACE_TYPE_RADIAL.
+ 	(_glitz_programmatic_surface_create): Use MAXSHORT for static surface
+ 	size.
+ 	Removed glitz_programmatic_surface_setup.
+ 	Removed glitz_programmatic_surface_bind as that code should now be
+ 	in glitz_render.c.
+ 
+ 	* src/glitz_program.c: Cleaned up and moved some that should be in
+ 	glitz_render.c. Added support for component-alpha.
+ 
+ 	* src/glitz_pixel.c: Added new pixel buffer interface, which 
+ 	allows for asynchronous pixel transfers and access to 
+ 	high-performance memory. Modified pixel transfer functions
+ 	to use the new pixel buffer interface.
+ 
+ 	* src/glitz_glxint.h: Added
+ 	GLITZ_GLX_FEATURE_ARB_TEXTURE_ENV_COMBINE_MASK,
+ 	GLITZ_GLX_FEATURE_ARB_TEXTURE_ENV_DOT3_MASK,
+ 	GLITZ_GLX_FEATURE_PIXEL_BUFFER_OBJECT_MASK;
+ 	programs -> program_map.
+ 
+ 	* src/glitz_glx_surface.c (_glitz_glx_set_features): Better check
+ 	for multi-texturing and check pixel buffer object extension
+ 	support.
+ 	programs -> program_map.
+ 
+ 	* src/glitz_glx_info.c: Added glTexEnvfv, glColor4d and pixel buffer
+ 	functions to _glitz_glx_gl_proc_address.
+ 	(glitz_glx_thread_info_get): Fixed thread specific data
+ 	allocation.
+ 	(glitz_glx_display_destroy): Fixed memory leak.
+ 	(glitz_glx_screen_info_get): Use glitz_program_map_init to
+ 	initialize program map.
+ 	(glitz_glx_screen_destroy): Use glitz_program_map_fini to
+ 	clean up program map.
+ 
+ 	* src/glitz_glx_extension.c: Check for GL_ARB_texture_env_combine,
+ 	GL_ARB_texture_env_dot3 and GL_EXT_pixel_buffer_object.
+ 
+ 	* src/glitz_glx_context.c (glitz_glx_context_proc_address_lookup): 
+ 	Lookup pixel buffer object function pointers.
+ 
+ 	* src/glitz_gl.h: Added a bunch of new tokens and function
+ 	declarations.
+ 
+ 	* src/glitz_format.c: OpenGL GL_ALPHA formats are now used for
+ 	alpha textures instead of GL_INTENSITY.
+ 
+ 	* src/glitz_color_range.c: Moved some stuff from glitzint.h to this
+ 	file and use the new pixel buffer interface for asynchronous
+ 	color range data transfers.
+ 
+ 	* src/glitz_aglint.h: Added
+ 	GLITZ_AGL_FEATURE_ARB_TEXTURE_ENV_COMBINE_MASK,
+ 	GLITZ_AGL_FEATURE_ARB_TEXTURE_ENV_DOT3_MASK,
+ 	GLITZ_AGL_FEATURE_PIXEL_BUFFER_OBJECT_MASK.
+ 	programs -> program_map.
+ 
+ 	* src/glitz_agl_surface.c: programs -> program_map.
+ 
+ 	* src/glitz_agl_info.c: Added glTexEnvfv, glColor4d and pixel buffer
+ 	functions to _glitz_agl_gl_proc_address.
+ 	(glitz_agl_thread_info_get): Fixed thread specific data
+ 	allocation.
+ 	(glitz_agl_thread_info_init): Use glitz_program_map_init to
+ 	initialize program map.
+ 	(glitz_agl_thread_info_fini): Use glitz_program_map_fini to
+ 	clean up program map.
+ 	(glitz_agl_thread_info_fini): Do not free thread specific data here.
+ 
+ 	* src/glitz_agl_extension.c: Check for GL_ARB_texture_env_combine,
+ 	GL_ARB_texture_env_dot3 and GL_EXT_pixel_buffer_object.
+ 
+ 	* src/glitz.h: glitz_color_range_create now needs a surface
+ 	reference.
+ 	Added glitz_surface_set_component_alpha.
+ 	Added skip_lines to glitz_pixel_format_t.
+ 	Added new pixel buffer interface, which allows for asynchronous
+ 	pixel transfers and access to high-performance memory.
+ 
+ 	* src/glitz.h: Added GLITZ_FEATURE_ARB_TEXTURE_ENV_COMBINE_MASK,
+ 	GLITZ_FEATURE_ARB_TEXTURE_ENV_DOT3_MASK,
+ 	GLITZ_FEATURE_PIXEL_BUFFER_OBJECT_MASK,
+ 	GLITZ_FEATURE_COMPONENT_ALPHA_MASK.
+ 
+ 	* src/glitz.c: Moved in my new glitz.c code, much of it is similar
+ 	to the old glitz.c code. However, this new code uses the new
+ 	glitz_render_op_t infrastructure and supports component alpha.
+ 
+ 	* configure.in: Added GCC warning flags.
+ 
+ 	* TODO: Updated todo list.
+ 
+ 	* README: Added a short description of glitz.
+ 
  2004-06-21  David Reveman  <c99drn at cs.umu.se>
  

Index: README
===================================================================
RCS file: /cvs/cairo/glitz/README,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** README	30 Mar 2004 17:07:18 -0000	1.1.1.1
--- README	20 Jul 2004 07:51:13 -0000	1.2
***************
*** 1 ****
! glitz - OpenGL compositing library
--- 1,21 ----
! glitz - OpenGL image compositing library
! 
! Glitz is an OpenGL image compositing library. Glitz provides
! Porter/Duff compositing of images and implicit mask generation for
! geometric primitives including trapezoids, triangles, and rectangles.
! 
! The semantics of glitz are designed to precisely match the
! specification of the X Render extension. Glitz does not only implement
! X Render features like component alpha and image transformations, but
! also support additional features like convolution filters and color
! gradients, which are not currently part of the X Render specification.
! 
! The performance and capabilities of glitz are much dependent on
! graphics hardware. Glitz does not in any way handle software
! fall-backs when graphics hardware is insufficient. However, glitz
! will report if any requested operation cannot be carried out by
! graphics hardware, hence making a higher level software layer
! responsible for appropriate actions.
! 
! David Reveman
! c99drn at cs.umu.se

Index: TODO
===================================================================
RCS file: /cvs/cairo/glitz/TODO,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** TODO	18 May 2004 15:01:50 -0000	1.7
--- TODO	20 Jul 2004 07:51:13 -0000	1.8
***************
*** 1,11 ****
! * Text support. Glyph set management, glyph and string compositing
!   operations. Some ideas: Multi-texturing for compositing multiple glyphs 
!   per render pass, Sub-pixel rendering, vector text; glyphs loaded into 
!   display lists.
! 
! * A programmable surface type which can store a set of rendering operations
!   in a display list.
  
  * Projective transformations.
  
  * WGL (Windows GL) backend.
--- 1,9 ----
! * GL_MESA_pack_invert support.
  
  * Projective transformations.
  
+ * Retained-mode rendering.
+ 
  * WGL (Windows GL) backend.
+ 
+ * Mesa-solo backend.

Index: configure.in
===================================================================
RCS file: /cvs/cairo/glitz/configure.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** configure.in	21 Jun 2004 21:49:14 -0000	1.9
--- configure.in	20 Jul 2004 07:51:13 -0000	1.10
***************
*** 47,50 ****
--- 47,80 ----
    esac
  
+   case " $CFLAGS " in
+   *[[\ \	]]-Wpointer-arith[[\ \	]]*) ;;
+   *) CFLAGS="$CFLAGS -Wpointer-arith" ;;
+   esac
+ 
+   case " $CFLAGS " in
+   *[[\ \	]]-Wstrict-prototypes[[\ \	]]*) ;;
+   *) CFLAGS="$CFLAGS -Wstrict-prototypes" ;;
+   esac
+ 
+   case " $CFLAGS " in
+   *[[\ \	]]-Wmissing-prototypes[[\ \	]]*) ;;
+   *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
+   esac
+ 
+   case " $CFLAGS " in
+   *[[\ \	]]-Wmissing-declarations[[\ \	]]*) ;;
+   *) CFLAGS="$CFLAGS -Wmissing-declarations" ;;
+   esac
+ 
+   case " $CFLAGS " in
+   *[[\ \	]]-Wnested-externs[[\ \	]]*) ;;
+   *) CFLAGS="$CFLAGS -Wnested-externs" ;;
+   esac
+ 
+   case " $CFLAGS " in
+   *[[\ \	]]-fno-strict-aliasing[[\ \	]]*) ;;
+   *) CFLAGS="$CFLAGS -fno-strict-aliasing" ;;
+   esac
+ 
    if test "x$enable_ansi" = "xyes"; then
      case " $CFLAGS " in




More information about the cairo-commit mailing list