@fredkiefer,
I took an hour and went through wraster with a view of how to remove it and replace it.
On the server side, it is trivial to do - 90% of the wraster code is unused, and can be deleted. The parts that are used in Xlib are RContext, RXImage, and RGetClosestXColor/RGBtoPixel. 6 call touchpoints. On the consumer side, there are about 39 call touchpoints.
Cairo is the default and art doesn't use wraster at all - which is good as the fallback.
So my thought is you could move the x11 server to plain Xlib, then you could decide whether to retire the Xlib graphics backend (cleanest path), or we rewrite its 39 call sites to plain Xlib.
Thoughts?
@fredkiefer,
I took an hour and went through wraster with a view of how to remove it and replace it.
On the server side, it is trivial to do - 90% of the wraster code is unused, and can be deleted. The parts that are used in Xlib are RContext, RXImage, and RGetClosestXColor/RGBtoPixel. 6 call touchpoints. On the consumer side, there are about 39 call touchpoints.
Cairo is the default and art doesn't use wraster at all - which is good as the fallback.
So my thought is you could move the x11 server to plain Xlib, then you could decide whether to retire the Xlib graphics backend (cleanest path), or we rewrite its 39 call sites to plain Xlib.
Thoughts?