[cairo-commit] glitz/src glitz_trapimp.h,1.2,1.3
David Reveman
commit at pdx.freedesktop.org
Thu Jan 27 04:01:08 PST 2005
Committed by: davidr
Update of /cvs/cairo/glitz/src
In directory gabe:/tmp/cvs-serv27729/src
Modified Files:
glitz_trapimp.h
Log Message:
Move misplaced note about gamma correction
Index: glitz_trapimp.h
===================================================================
RCS file: /cvs/cairo/glitz/src/glitz_trapimp.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- glitz_trapimp.h 27 Jan 2005 11:57:39 -0000 1.2
+++ glitz_trapimp.h 27 Jan 2005 12:01:04 -0000 1.3
@@ -139,15 +139,16 @@
accurately and consistently with a set of one-dimensional texture
coordinates in a fixed size texture. By using linear texture
filtering this allows us to render perfectly anti-aliased
- geometry on a wide range of hardware. It could also be a Nx1 surface
- containing a pre-computed gamma curve with resolution N for gamma
- corrected anti-aliasing.
+ geometry on a wide range of hardware.
Each trapezoid needs to be slit up into a set of rectangles along
with appropriate horizontal texture coordinates for the specified
mask surface. In general the mask is a 2x1 surface with pixel
- 0,0 "clear black" and pixel 1,0 "solid white". This function
- generates geometry data in the following format:
+ 0,0 "clear black" and pixel 1,0 "solid white". It could also be a
+ Nx1 surface containing a pre-computed gamma curve with resolution
+ N for gamma corrected anti-aliasing.
+
+ This function generates geometry data in the following format:
primitive : QUADS
type : SHORT|INT|FLOAT|DOUBLE
More information about the cairo-commit
mailing list