[cairo-commit] glitz ChangeLog,1.43,1.44 TODO,1.10,1.11

David Reveman commit at pdx.freedesktop.org
Wed Aug 18 05:30:26 PDT 2004


Committed by: davidr

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

Modified Files:
	ChangeLog TODO 
Log Message:
New trapezoid type and new filters

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/glitz/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** ChangeLog	9 Aug 2004 22:57:35 -0000	1.43
--- ChangeLog	18 Aug 2004 12:30:23 -0000	1.44
***************
*** 1,2 ****
--- 1,97 ----
+ 2004-08-18  David Reveman  <c99drn at cs.umu.se>
+ 
+ 	* src/glitzint.h: New filter system should now be working.
+ 	Added x_offset, y_offset to all polygon rendering functions.
+ 
+ 	* src/glitz_util.c: Added glitz_clamp_value.
+ 
+ 	* src/glitz_tri.c: Added x_offset, y_offset.
+ 	Don't use display list for multi-sampling as it turned out slower than
+ 	without display lists.
+ 	Added new glitz_add_triangles function.
+ 
+ 	* src/glitz_trap.c: Switch to new trapezoid type.
+ 	Added x_offset, y_offset.
+ 	Don't use display list for multi-sampling as it turned out slower than
+ 	without display lists.
+ 	Added new glitz_add_trapezoids function.
+ 
+ 	* src/glitz_surface.c (glitz_surface_init): HINT_CLIP default.
+ 	(glitz_surface_set_transform): Fixed projective transformations.
+ 	Removed glitz_surface_get_affine_transform.
+ 	(glitz_surface_set_fill): Added GLITZ_FILL_CLIP.
+ 	Removed correctness hint.
+ 	(glitz_surface_set_filter): Updated filter system.
+ 	Removed polyopacity.
+ 	Added x_offset, y_offset to clipping functions.
+ 
+ 	* src/glitz_stencil.c: Added x_offset, y_offset.
+ 
+ 	* src/glitz_rect.c: Added x_offset, y_offset.
+ 
+ 	* src/glitz_program.c: Added new much improved fragment programs
+ 	and new system for creating them.
+ 
+ 	* src/glitz_pixel.c (glitz_put_pixels): Removed broken render texture
+ 	support.
+ 
+ 	* src/glitz_glx_surface.c: Don't use render texture.
+ 
+ 	* src/glitz_glx_info.c: Removed display list functions.
+ 
+ 	* src/glitz_glx_format.c (_glitz_glx_format_compare): We rather have
+ 	single buffered non-multisample formats first.
+ 
+ 	* src/glitz_glx_extension.c: Don't use render texture.
+ 
+ 	* src/glitz_glx_context.c: Don't use render texture.
+ 	Don't check max texture indirections here.
+ 
+ 	* src/glitz_gl.h: Added some fragment program tokens.
+ 	Removed display list function prototypes.
+ 
+ 	* src/glitz_filter.c: Added new convolution and new gradient filters.
+ 
+ 	* src/glitz_compose.c: Added fill type clip.
+ 	(_glitz_get_surface_type): Tracking changes to new filter system.
+ 
+ 	* src/glitz_aglint.h: Don't use render texture.
+ 
+ 	* src/glitz_agl_surface.c: Don't use render texture.
+ 
+ 	* src/glitz_agl_pbuffer.c: Don't use render texture. We need a better
+ 	interface for that. GL_EXT_render_target looks promising.
+ 
+ 	* src/glitz_agl_info.c: Removed display list functions.
+ 
+ 	* src/glitz_agl_format.c (_glitz_agl_format_compare): We rather have
+ 	non-multisample formats first.
+ 
+ 	* src/glitz_agl_extension.c (glitz_agl_query_extensions): Don't check
+ 	max texture indirections here.
+ 
+ 	* src/glitz.h: Switch to the new trapezoid type.
+ 	Added GLITZ_FILTER_GAUSSIAN.
+ 	Added fill type CLIP, which works the same way as X Render; no image 
+ 	transformation, then dst rectangle is clipped to surface size. image
+ 	transformation, fill type transparent is used.
+ 	Removed correctness hint as highest quality is now always used.
+ 	Removed polyopacity as it's now a parameter to the composite polygon
+ 	functions.
+ 	Added x_offset and y_offset to all polygon rendering functions.
+ 	Added glitz_add_trapezoids and glitz_add_triangles.
+ 
+ 	* src/glitz.c: Removed the manual repeat fall-back as it was too many
+ 	problems with it and it just made everything a mess.
+ 	GL_ARB_texture_border_clamp is now required for normal transformations.
+ 	Switch to not using display lists for multi-sampling as it seems to
+ 	be faster.
+ 
+ 	* src/Makefile.am (libglitz_la_SOURCES): Removed glitz_matrix.c.
+ 
+ 	* TODO: Added new convolution and gradient filter.
+ 	Fixed projective transformations.
+ 	Added some notes about gamma correction.
+ 
  2004-08-10  David Reveman  <c99drn at cs.umu.se>
  

Index: TODO
===================================================================
RCS file: /cvs/cairo/glitz/TODO,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** TODO	9 Aug 2004 22:57:35 -0000	1.10
--- TODO	18 Aug 2004 12:30:23 -0000	1.11
***************
*** 1,14 ****
! * Switch to new trapezoid type. Add x_offset and y_offset to
!   glitz_composite_trapezoids, glitz_composite_triangles and similars.
! 
! * Add glitz_add_trapezoids, glitz_add_triangles...
! 
! * Fix so that projective transformations actually work.
  
! * Implement the new convolution and the new gradient filters.
!   (Current filters are broken!)
  
  * Add low-pass sub-pixel filters for HW accelerated color balancing 
!   of per-component alpha masks (possibly with gamma correction).
  
  * GL_MESA_pack_invert support.
--- 1,21 ----
! * Use different fragment programs for transformed surfaces and
!   non-transformed surfaces.
  
! * Allow the fragment filters to be applied to mask surfaces
!   and not only source surfaces. The filter system and the fragment
!   programs are design to work both with source and mask surfaces,
!   so this should be really easy. Most work will be to validate that
!   it works correct for all cases.
  
  * Add low-pass sub-pixel filters for HW accelerated color balancing 
!   of per-component alpha masks.
! 
! * Gamma correction. Software multi-sampling using stencil bits
!   can easily be gamma corrected without any performance penelty.
!   Gammma correction for the add_trapezoids and add_triangles might
!   be harder. The above mentioned sub-pixel filters should include
!   gamma correction and I should probably also add a gamma correction filter for
!   alpha-masks and per-component alpha-masks without color
!   balancing.
  
  * GL_MESA_pack_invert support.




More information about the cairo-commit mailing list