Adam Jackson <[email protected]> writes:

> There are only two behaviors here. Xnest and Xdmx forward the clip list
> to the backing server, other DDXes use mi. But a layer like damage has
> to wrap everything in the GCFuncs vtable even though it really only
> cares about ValidateGC.
>
> Since none of this varies within a screen, we can move the clip
> management funcs up to the ScreenRec and eliminate the empty wrappers.

I tried to come up with a reason I would want a layer to be able to
change the funcs per-gc at runtime, and failed.  Yay for killing
boilerplate.

Reviewed-by: Eric Anholt <[email protected]>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to