weston/protocol
Pekka Paalanen f565d80ff5 protocol: crop & scale RFC v3
Add cropping and scaling to wl_surface.

Add a global factory interface wl_scaler, which creates
wl_scaler_surface objects tied to a given wl_surface. The
wl_scaler_surface object can be used to set a cropping and scaling
transformation to change how a wl_buffer maps to wl_surface contents.

Changes in v2:

Take into account buffer_transform and buffer_scale, and try to explain
more clearly how the coordinate transformations work and what their
order is. Add, that crop and scale state is double-buffered. Explain
missing dst_x, dst_y.  Clarify that undefined content still is some
content, but NULL buffer implies no content nor size.

Changes in v3:

Disallow zero values for dst_width and dst_height.

Open issues:

Should this be a separate interface like here, or just a wl_surface
request?

If we keep this as a separate interface, rename wl_surface_scaler to
wl_viewport.
2013-12-16 22:35:56 -08:00
..
desktop-shell.xml shell: wait for desktop-shell init before fade in 2013-05-22 18:07:30 -04:00
input-method.xml text: Rename input_method to wl_input_method 2013-05-02 17:18:46 -04:00
Makefile.am protocol: crop & scale RFC v3 2013-12-16 22:35:56 -08:00
scaler.xml protocol: crop & scale RFC v3 2013-12-16 22:35:56 -08:00
screenshooter.xml screenshooter: Grab pixel data directly before buffer swap 2012-04-20 16:13:27 -04:00
text-cursor-position.xml Convert text cursor position protocol to use fixed types. 2012-06-04 11:07:50 -04:00
text.xml text: Improve protocol documentation. 2013-05-02 17:12:21 -04:00
wayland-test.xml tests: Test whether a simple EGL main loop uses too many buffers 2013-12-07 22:26:23 -08:00
workspaces.xml shell: Introduce workspace manager interface 2012-08-31 19:51:49 -04:00
xdg-shell.xml xdg_shell: Adding a new shell protocol. 2013-12-03 11:35:24 -08:00
xserver.xml compositor: Add a simple WM to the xserver launcher 2011-07-01 10:46:40 -04:00