St. Pierre: The Linux Graphics Stack
Posted Jun 25, 2012 18:18 UTC (Mon) by ebassi
In reply to: St. Pierre: The Linux Graphics Stack
Parent article: St. Pierre: The Linux Graphics Stack
Presumably, GTK and Qt could be changed to rely on XRender and any other necessary extensions when they are available, instead of pre-compositing everything itself.
this is what happens already.
it turns out, though, that none (except older intel ones) of the modern GPUs are optimized for XRender's usage of trapezoids; as every GPU is, essentially, a programmable 3D pipeline, triangles are actually more suited for them. in point of fact, XRender is not at all a good drawing and compositing API. the proper drawing and compositing API is, actually, OpenGL.
that is also why Cairo, which was born as the client-side XRender API, is now moving to GL internally, and its internals are in the process of being overhauled for that.
to post comments)