text and compositing
Keith Packard
keithp at keithp.com
Sat Apr 24 07:49:50 EST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/xserver/attachments/20040423/ae0478fa/attachment.pgp
More information about the xserver
mailing list