weston/src
Pekka Paalanen 260ba38fff compositor: buffer can be non-NULL only if newly_attached
There is no need for weston_subsurface_commit_to_cache() to leave the
pending.buffer set. Reset it to NULL.

This makes pending.buffer always NULL if pending.newly_attached == 0.
IOW, pending.buffer cannot be non-NULL unless
pending.newly_attached == 1.

Therefore no need to check pending.buffer nor cached.buffer_ref.buffer
for the weston_surface_attach() calls.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-04-01 16:46:40 -07:00
..
animation.c animation: Fix the fade animation to work in both directions 2014-03-19 16:46:40 -07:00
bindings.c input: Keep track of number of touch points inside touch struct 2013-12-02 15:24:05 -08:00
clipboard.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
cms-colord.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
cms-helper.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
cms-helper.h Add more missing config.h includes 2013-08-16 10:56:00 -07:00
cms-static.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
compositor-drm.c Add libinput based input device backend 2014-03-12 14:55:22 -07:00
compositor-fbdev.c Add libinput based input device backend 2014-03-12 14:55:22 -07:00
compositor-headless.c compositor-headless: create input devices 2014-02-18 13:48:49 -08:00
compositor-rdp.c Fix compilation with FreeRdp 1.1 and master v2 2014-01-19 22:35:51 -08:00
compositor-rpi.c Add libinput based input device backend 2014-03-12 14:55:22 -07:00
compositor-wayland.c Add support for having different GBM formats for different outputs 2014-03-12 14:44:02 -07:00
compositor-x11.c compsitor-x11: Report more accurate dimension of outputs 2014-03-19 13:18:54 -07:00
compositor.c compositor: buffer can be non-NULL only if newly_attached 2014-04-01 16:46:40 -07:00
compositor.h input: Send leave and enter pair when the surface moves under the cursor 2014-02-18 13:47:41 -08:00
data-device.c data-device: Fix surface configure function type 2013-12-03 15:16:21 -08:00
dbus.c dbus: add dbus-match helpers 2013-10-21 16:07:10 -07:00
dbus.h dbus: add dbus-match helpers 2013-10-21 16:07:10 -07:00
evdev-touchpad.c evdev: Only track one pending event 2013-09-24 16:22:19 -07:00
evdev.c evdev: Remove output destroy notifier on device destroy 2014-01-22 11:03:50 -08:00
evdev.h input: Handle unplugging the output for a touchscreen device 2014-01-16 17:08:26 -08:00
filter.c filter: Remove unused variable 2013-11-12 16:20:34 -08:00
filter.h filter: Remove unused variable 2013-11-12 16:20:34 -08:00
gl-renderer.c Add support for having different GBM formats for different outputs 2014-03-12 14:44:02 -07:00
gl-renderer.h Add support for having different GBM formats for different outputs 2014-03-12 14:44:02 -07:00
input.c input: Send leave and enter pair when the surface moves under the cursor 2014-02-18 13:47:41 -08:00
launcher-util.c configure.ac: Make libdrm optional in weston-launch 2013-11-24 15:16:23 -08:00
launcher-util.h launcher: add logind backend 2013-10-21 16:23:58 -07:00
libbacklight.c backlight: fix backlight_path memory leak 2014-01-19 21:58:53 -08:00
libbacklight.h Fix a few -pedantic warnings 2012-05-10 14:11:44 -04:00
libinput-device.c Add libinput based input device backend 2014-03-12 14:55:22 -07:00
libinput-device.h Add libinput based input device backend 2014-03-12 14:55:22 -07:00
libinput-seat.c Add libinput based input device backend 2014-03-12 14:55:22 -07:00
libinput-seat.h Add libinput based input device backend 2014-03-12 14:55:22 -07:00
log.c log: print dummy timestamp if localtime call fails 2014-01-19 21:58:57 -08:00
logind-util.c compositor: Fix a couple of #includes to use "" instead of <> 2014-01-31 22:16:07 -08:00
logind-util.h launcher: add logind backend 2013-10-21 16:23:58 -07:00
noop-renderer.c noop-renderer: Read the shm buffer contents on attach 2014-02-18 13:49:21 -08:00
pixman-renderer.c Fix the pixman renderer with respect to output transforms 2014-03-10 13:29:40 -07:00
pixman-renderer.h Add more missing config.h includes 2013-08-16 10:56:00 -07:00
rpi-bcm-stubs.h rpi: Support opaque regions 2013-12-02 11:36:29 -08:00
rpi-renderer.c rpi: call eglTerminate if we're bailing 2014-01-19 22:20:38 -08:00
rpi-renderer.h rpi: Support opaque regions 2013-12-02 11:36:29 -08:00
screenshooter.c screenshooter: check for NULL malloc and fix memleaks 2014-01-19 22:00:39 -08:00
spring-tool.c Split the geometry information from weston_surface out into weston_view 2013-10-22 13:34:11 -07:00
text-backend.c text: Set context->model to NULL when we deactivate text input 2014-01-13 15:06:10 -08:00
udev-input.h Add libinput based input device backend 2014-03-12 14:55:22 -07:00
udev-seat.c udev-seat: Make udev_input own its own udev object reference 2014-03-12 14:55:18 -07:00
udev-seat.h udev-seat: Make udev_input own its own udev object reference 2014-03-12 14:55:18 -07:00
vaapi-recorder.c vaapi-recorder: Don't leak fd on thread error path 2013-10-10 16:50:18 -07:00
vaapi-recorder.h compositor-drm: Add hardware accelerated capture of screen using libva 2013-08-30 13:44:40 -07:00
version.h.in Document WESTON_VERSION_AT_LEAST() macro behavior 2014-01-27 12:07:19 -08:00
vertex-clipping.c Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float 2013-11-27 22:49:31 -08:00
vertex-clipping.h Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float 2013-11-27 22:49:31 -08:00
weston-egl-ext.h weston-egl: Update weston-egl-ext.h: s/wl_buffer/wl_resource 2013-10-01 10:42:55 -07:00
weston-launch.c configure.ac: Make libdrm optional in weston-launch 2013-11-24 15:16:23 -08:00
weston-launch.h launcher: Handle drm set/drop master and vt switch signals in launcher 2013-09-18 11:14:14 -07:00
weston.pc.in weston.pc: Added libexecdir and pkglibexecdir variables 2013-06-04 00:14:04 -04:00
zoom.c zoom: use the new pointer motion signal to move the zoom frame. 2013-11-15 16:17:51 -08:00