[cairo-commit] glitz/src glitz.c,1.27,1.28 glitz_pixel.c,1.10,1.11
David Reveman
commit at pdx.freedesktop.org
Wed Oct 6 11:21:50 PDT 2004
Committed by: davidr
Update of /cvs/cairo/glitz/src
In directory gabe:/tmp/cvs-serv19372/src
Modified Files:
glitz.c glitz_pixel.c
Log Message:
Fixed drawable offsets used for pixel transfer and copy area
Index: glitz.c
===================================================================
RCS file: /cvs/cairo/glitz/src/glitz.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** glitz.c 4 Oct 2004 11:40:48 -0000 1.27
--- glitz.c 6 Oct 2004 18:21:48 -0000 1.28
***************
*** 474,478 ****
glitz_texture_bind (gl, texture);
! glitz_texture_set_tex_gen (gl, texture, x_dst, y_dst, 0);
gl->tex_env_f (GLITZ_GL_TEXTURE_ENV, GLITZ_GL_TEXTURE_ENV_MODE,
--- 474,481 ----
glitz_texture_bind (gl, texture);
! glitz_texture_set_tex_gen (gl, texture,
! x_dst - x_src,
! y_dst - y_src,
! 0);
gl->tex_env_f (GLITZ_GL_TEXTURE_ENV, GLITZ_GL_TEXTURE_ENV_MODE,
Index: glitz_pixel.c
===================================================================
RCS file: /cvs/cairo/glitz/src/glitz_pixel.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** glitz_pixel.c 4 Oct 2004 11:40:48 -0000 1.10
--- glitz_pixel.c 6 Oct 2004 18:21:48 -0000 1.11
***************
*** 544,548 ****
box.y2 = box.y1 + height;
! glitz_texture_set_tex_gen (gl, texture, x_dst, y_dst, 0);
gl->tex_env_f (GLITZ_GL_TEXTURE_ENV, GLITZ_GL_TEXTURE_ENV_MODE,
--- 544,548 ----
box.y2 = box.y1 + height;
! glitz_texture_set_tex_gen (gl, texture, 0, 0, 0);
gl->tex_env_f (GLITZ_GL_TEXTURE_ENV, GLITZ_GL_TEXTURE_ENV_MODE,
More information about the cairo-commit
mailing list