Re: text and compositing

Keith Packard <[email protected]> Fri, 23 Apr 2004 14:49:50 -0700
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Around 14 o'clock on Apr 23, Jon Smirl wrote:

> I was thinking about the case where Cairo would be drawing to the X server
> using GLX instead of X. Windows being drawn with GLX don't have to follow X
> protocol rules.

Ah, that's a good point.  Finding a way in our eventual server of 
reporting back to the GL-based application about the projective 
transformation used from window coordinates to screen coordinates will 
allow us to merge that with any application transformation and do 
both in one pass, providing better performance and less blocky looking 
results.  

Of course, this will only be easy if the whole window is transformed
through the same matrix.  If the window is actually painted with piecewise
homogeneous tranformations, then things will get a bit more complicated.

The X server architecture doesn't currently expose the window->screen 
transformation matrix, but we can come up with some conventions to make 
that possible.

-keith

_______________________________________________
xserver mailing list
[email protected]
http://freedesktop.org/mailman/listinfo/xserver
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh version 2.3.1 11/28/2001

iD8DBQFAiY99Qp8BWwlsTdMRAjmxAKDBnEn6RYjSzGpAb/vf2quyWbqo9wCfZV23
Yrye+TRsDjKkdPUur3MIar4=
=Fr4D
-----END PGP SIGNATURE-----