weston/clients
Neil Roberts 97b747cdda westoy: Add an option to explicitly disable cairo on a widget
The subsurfaces example creates a subsurface widget and uses EGL to
render to it directly rather than using the cairo context from the
widget. In theory this shouldn't cause any problems because the westoy
window code lazily creates the cairo surface when an application
creates a cairo context. However commit fdca95c7 changed the behaviour
to force the lazy creation at the beginning of each surface redraw.
This ends up making the triangle surface get two attaches – one from
Cairo and one from the direct EGL.

It looks like it would be difficult to reinstate the lazy surface
creation behaviour whilst still maintaining the error handling for
surface creation because none of the redraw handlers in the example
clients are designed to cope with that. Instead, this patch adds an
explicit option on a widget to disable creating the Cairo surface and
the subsurface example now uses that.

Closes: https://bugs.freedesktop.org/show_bug.cgi?id=72854
2014-01-09 15:03:15 -08:00
..
.gitignore clients: add scaler test app 2013-12-16 22:55:47 -08:00
calibrator.c Add touch support for wl_shell_surface_move 2013-08-16 10:56:00 -07:00
clickdot.c Rename frame_create and frame_set_child_size with a window_ prefix 2013-10-13 22:12:16 -07:00
cliptest.c Rename frame_create and frame_set_child_size with a window_ prefix 2013-10-13 22:12:16 -07:00
desktop-shell.c desktop-shell: Remove debug code from previous commit 2014-01-01 16:32:09 -08:00
dnd.c distinguish touch screen and pointer dnd in client 2013-11-25 16:32:12 -08:00
editor.c editor: Add missing touch-to-activate for the entries 2014-01-07 10:42:41 -08:00
eventdemo.c Rename frame_create and frame_set_child_size with a window_ prefix 2013-10-13 22:12:16 -07:00
flower.c westoy: Remove window_touch_move 2013-11-13 16:37:36 -08:00
fullscreen.c westoy: Remove window_touch_move 2013-11-13 16:37:36 -08:00
gears.c Rename invocations of frame_create that were missed by ee7fefcf 2013-10-21 21:04:08 -07:00
glmatrix.c Add signedness warning flag and fix fallout 2012-03-30 11:52:39 -04:00
image.c westoy: Remove unused support for window parents 2013-11-13 16:43:03 -08:00
keyboard.c keyboard: Handle touch up event 2014-01-07 12:57:59 -08:00
Makefile.am clients: Fix libexec clients install 2014-01-03 17:33:36 -08:00
matrix3.xpm clients: import glmatrix.c and matrix3.xpm 2011-11-18 14:45:04 +02:00
multi-resource.c multi-resource: Don't include non-existing xmalloc.h 2013-10-10 19:21:05 -07:00
nested-client.c nested-client: Exit if we fail to create the nested client struct 2013-10-10 16:50:18 -07:00
nested.c nested: Add EGL_WL_create_wayland_buffer_from_image compat defines 2013-12-17 10:40:01 -08:00
resizor.c terminal: Add context menu with new terminal/copy/paste 2013-10-23 16:52:05 -07:00
scaler.c protocol: rename wl_surface_scaler to wl_viewport 2014-01-08 21:33:19 -08:00
screenshot.c screenshooter: Add missing newline and use program_invocation_short_name 2013-08-12 22:15:38 -07:00
simple-egl.c simple-egl: Add option to allow not syncing to compositor repaint cycle 2013-12-07 22:26:23 -08:00
simple-shm.c Add more missing config.h #includes 2013-08-26 14:59:14 -07:00
simple-touch.c clients: remove superfluous call 2013-09-13 15:12:23 -07:00
smoke.c Add touch support for wl_shell_surface_move 2013-08-16 10:56:00 -07:00
stacking.c stacking: Set a keyboard focus handler so we can repaint the frame 2013-12-05 15:37:29 -08:00
subsurfaces.c westoy: Add an option to explicitly disable cairo on a widget 2014-01-09 15:03:15 -08:00
terminal.c terminal: add touch screen selection support 2013-11-25 11:26:00 -08:00
transformed.c westoy: Remove window_touch_move 2013-11-13 16:37:36 -08:00
view.c westoy: Remove unused support for window parents 2013-11-13 16:43:03 -08:00
weston-info.c weston-info: Handle shm formats better 2013-11-20 13:54:00 -08:00
weston-simple-im.c Add more missing config.h #includes 2013-08-26 14:59:14 -07:00
window.c westoy: Add an option to explicitly disable cairo on a widget 2014-01-09 15:03:15 -08:00
window.h westoy: Add an option to explicitly disable cairo on a widget 2014-01-09 15:03:15 -08:00
wscreensaver-glue.c screensaver: fix decoding of transparency in xpm files 2012-09-06 21:08:12 -04:00
wscreensaver-glue.h Never include wayland-util.h directly 2011-11-22 09:35:14 -05:00
wscreensaver.c Rename invocations of frame_create that were missed by ee7fefcf 2013-10-21 21:04:08 -07:00
wscreensaver.h Add signedness warning flag and fix fallout 2012-03-30 11:52:39 -04:00