2012-12-12 16:26:39 +04:00
|
|
|
calibrator
|
2012-01-20 13:09:13 +04:00
|
|
|
clickdot
|
2012-09-11 18:02:04 +04:00
|
|
|
cliptest
|
2011-12-02 12:23:55 +04:00
|
|
|
desktop-shell-client-protocol.h
|
|
|
|
desktop-shell-protocol.c
|
2010-11-08 19:38:40 +03:00
|
|
|
dnd
|
2012-09-11 18:02:03 +04:00
|
|
|
editor
|
2011-01-21 18:56:07 +03:00
|
|
|
eventdemo
|
2010-06-11 20:56:24 +04:00
|
|
|
flower
|
2013-06-04 21:10:56 +04:00
|
|
|
fullscreen
|
2010-11-08 19:38:40 +03:00
|
|
|
gears
|
|
|
|
image
|
2012-09-10 01:08:41 +04:00
|
|
|
input-method-protocol.c
|
|
|
|
input-method-client-protocol.h
|
2012-11-05 06:26:43 +04:00
|
|
|
weston-keyboard
|
2011-12-02 12:23:55 +04:00
|
|
|
libtoytoolkit.a
|
2011-01-17 14:37:35 +03:00
|
|
|
resizor
|
2010-11-08 19:38:40 +03:00
|
|
|
screenshooter-client-protocol.h
|
|
|
|
screenshooter-protocol.c
|
2011-08-31 13:40:03 +04:00
|
|
|
simple-egl
|
|
|
|
simple-shm
|
2012-01-16 17:38:17 +04:00
|
|
|
simple-touch
|
2010-11-08 19:38:40 +03:00
|
|
|
smoke
|
protocol: add sub-surfaces
Add protocol for sub-surfaces, wl_subcompositor as the global interface,
and wl_subsurface as the per-surface interface extension.
This patch is meant to be reverted, once sub-surfaces are moved into
Wayland core.
Changes in v2:
- Rewrite wl_subcompositor.get_subsurface description, and move mapping
and commit details into wl_subsurface description. Check the wording
in wl_subsurface.set_position description.
- Add wl_subsurface.set_commit_mode request, and document it, with the
commit_mode enum. Add bad_value error code for wl_subsurface.
- Moved the protocol into Weston repository so we can land it upstream
sooner for public exposure. It is to be moved into Wayland core later.
- Add destroy requests to both wl_subcompositor and wl_subsurface, and
document them. Experience has showed, that interfaces should always
have a destructor unless there is a good and future-proof reason to not
have it.
Changes in v3:
- Specify, that wl_subsurface will become inert, if the corresponding
wl_surface is destroyed, instead of requiring a certain destruction
order.
- Replaced wl_subsurface.set_commit_mode with wl_subsurface.set_sync and
wl_subsurface.set_desync. Parent-cached commit mode is now called
synchronized, and independent mode is desynchronized. Removed
commit_mode enum, and bad_value error.
- Added support for nested sub-surfaces.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2013-04-25 14:57:41 +04:00
|
|
|
subsurface-client-protocol.h
|
|
|
|
subsurface-protocol.c
|
clients: add subsurfaces demo
Add a demo program with:
- a main surface (green)
- a Cairo-image sub-surface (red)
- a raw GLESv2 widget (triangle)
Sub-surface input region is set empty to avoid problems in toytoolkit.
If Cairo links to libGL, then we will end up with also libGLESv2 linked
to subsurfaces program, and both libs getting really used, which leads
to disaster.
Do not build subsurfaces demo, if Cairo links to libGL and cairo-egl is
usable.
The GL rendering loop is not tied to the toytoolkit or the widget, but
runs directly from its own frame callback. Therefore it runs
independent of the rest of the application. This also relies on one of
two things:
- eglSwapInterval(0) is implemented, and therefore eglSwapBuffers never
blocks indefinitely, or
- toytoolkit has a workaround, that guarantees that eglSwapBuffers will
return soon, when we force a repaint on resize.
Otherwise the demo will deadlock.
The code is separated into three sections:
1. The library component, using only EGL, GLESv2, and libwayland-client
APIs, and not aware of any toolkit details of the parent application.
This runs independently until the parent application tells otherwise.
2. The glue code: a toytoolkit application widget, who has its own
rendering machinery.
3. The application written in toytoolkit.
This patch also adds new toytoolkit interfaces:
- widget_get_wl_surface()
- widget_get_last_time()
- widget_input_region_add()
Toytoolkit applications have not had a possibility to change the input
region. The frame widget (decorations) set the input region on its own
when used, otherwise the default input region of everything has been
used. If a window does not have a frame widget, it can now use
widget_input_region_add() to set a custom input region.
These are not window methods, because a widget may lie on a different
wl_surface (sub-surface) than the window.
Changes in v3:
- replace set_commit_mode with set_sync and set_desync
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2013-04-25 14:57:50 +04:00
|
|
|
subsurfaces
|
2011-12-02 12:23:55 +04:00
|
|
|
tablet-shell-client-protocol.h
|
|
|
|
tablet-shell-protocol.c
|
2012-09-11 18:02:03 +04:00
|
|
|
text-client-protocol.h
|
|
|
|
text-cursor-position-client-protocol.h
|
|
|
|
text-cursor-position-protocol.c
|
|
|
|
text-protocol.c
|
2012-12-12 16:26:39 +04:00
|
|
|
transformed
|
2010-06-11 20:56:24 +04:00
|
|
|
view
|
2012-01-16 17:38:17 +04:00
|
|
|
weston-desktop-shell
|
2012-09-11 18:02:03 +04:00
|
|
|
weston-info
|
|
|
|
weston-screensaver
|
2012-04-11 08:20:33 +04:00
|
|
|
weston-screenshooter
|
2012-09-11 18:02:03 +04:00
|
|
|
weston-tablet-shell
|
2012-04-11 08:20:33 +04:00
|
|
|
weston-terminal
|
2012-09-11 18:02:03 +04:00
|
|
|
workspaces-client-protocol.h
|
|
|
|
workspaces-protocol.c
|
2012-11-18 22:06:50 +04:00
|
|
|
weston-simple-im
|