[cairo] gl: add GL_TEXTURE_RECTANGLE_EXT support

Eric Anholt eric at anholt.net
Tue Feb 16 14:05:06 PST 2010

On Sat, 30 Jan 2010 19:29:55 +1000, Dave Airlie <airlied at gmail.com> wrote:
> This is just one of my Saturday afternoon hackarounds, not sure I'll
> get to making it cleaner or figuring
> out what to do with repeats.
> It basically just uses the alternate tex target and sets the matrix up
> to not change width/height.
> It passes one or two tests fine that I played with.

OK, I've pushed the patch on top of the GLSL stuff in master and done
some fixups.  It's not all the way there, but pretty close and someone
else could probably clean it up easily.

Regressions I see when forcing ARB_texture_rectangle instead of


They all look like off-by-ones in coordinates.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100216/11cf5a30/attachment.pgp 

More information about the cairo mailing list