[PATCH 1/4 wayland] add damage2 api

Pekka Paalanen ppaalanen at gmail.com
Thu Jun 7 03:17:07 PDT 2012


On Thu, 7 Jun 2012 09:59:15 +0000
"Zhao, Halley" <halley.zhao at intel.com> wrote:

> Hi pq:
> Thanks for your review, I have updated the patches to use wl_surface_attach2().
> 
> I agree to your definition of coordinate: all protocol uses surface local coordinates, buffer coordinate is only used for (sub-)texture mapping inside Weston.
> 
> Since opengl and overlay supports scaling in nature, I think there are only some corner cases that scaling are not supported.
> Opengl and overlay have their interface to control scaling quality, should we create such interface per wl_surface or a global one for Weston?
> 
> Next, I can try to add interface for the above two.

Remember that the core protocol is not only for GL-enabled servers
or overlay hardware. A completely software-rendering compositor on a
dumb framebuffer is also a possibility, although not implemented yet
AFAIK. There have been some ideas about a pixman-based compositor
instead of GL ES 2.

Think about wanting to run Wayland apps on a machine without any
graphics acceleration hardware.


Thanks,
pq


More information about the wayland-devel mailing list