[PATCH xserver] glamor: Paint first and last pixel of lines

Max Staudt mstaudt at suse.de
Tue Feb 14 15:11:00 UTC 2017


On 02/14/2017 12:10 AM, Adam Jackson wrote:
> fb has been the only extant renderer for nearly nine years. Clearly
> there exists code that expects it. I'm not convinced that pushing back
> on that expectation is a good move, technically correct though it may
> be.

I'll second that.

So shall we use the fallback code for now, until the wrinkles are ironed
out of GLAMOR?


Here's something else to consider:

With hardware specific 2D acceleration on the way out, clients mostly
pushing huge images (GTK, Qt, ...), and thus Wayland around the corner,
I see the Xorg server mvoe away from its original role as a driver layer.

Instead, it's becoming a pure 2D rendering framework for the apps that
still use raw X11 commands. These programs expect it to work precisely
and reproducibly. Thus, how about focusing on doing precise 2D rendering -
it is the reference X server after all - and making sure that everything
behaves like mi?

I'd even leave the existing GL lines code intact, as it's really cool to
have. But disabled by default, so users get the precise experience first,
and can decide to switch to a quick-but-imprecise OpenGL based experience
if they wish to do so.



Max



More information about the xorg-devel mailing list