weston/src
Pekka Paalanen 502f5e06a2 compositor: fix plane coords in view_accumulate_damage()
All things everywhere, except this one case, assume weston_plane::damage
is in global coordinates. Document it.

view_accumulate_damage() is wrong in converting damage to plane
coordinates (similar to global coordinate except translated). Fix this
by removing the unwanted translation, and use only global coordinates.

We have not seen this bug manifest in real life because we get lucky:
the origin of the primary plane is always at 0, 0. We do not use
non-primary planes, except cursor plane on DRM backend where the actual
damage coordinates are ignored.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2015-02-26 09:07:14 +02:00
..
animation.c animation: also change stop value when updating a fade target 2014-07-30 10:54:23 -07:00
bindings.c input: swallow the key press event when running a compositor key binding 2014-12-15 17:41:25 +02:00
clipboard.c clipboard: set fd member of clipboard_source 2014-12-12 15:01:17 +02:00
cms-colord.c Fix mutex hang in colord on output removal 2015-01-20 20:53:46 -08:00
cms-helper.c Use zalloc instead of calloc(1, ...) 2014-11-28 16:13:13 +02: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 compositor, drm: set per-surface Presentation feedback flags 2015-01-20 17:13:20 -08:00
compositor-fbdev.c compositor: set presentation.presented flags 2015-01-20 17:13:05 -08:00
compositor-headless.c headless: fix the output refresh rate 2015-02-19 14:59:50 +02:00
compositor-rdp.c compositor: set presentation.presented flags 2015-01-20 17:13:05 -08:00
compositor-rpi.c compositor: set presentation.presented flags 2015-01-20 17:13:05 -08:00
compositor-wayland.c compositor: set presentation.presented flags 2015-01-20 17:13:05 -08:00
compositor-x11.c compositor-x11: Move the x11 window close to an idle handler 2015-02-04 19:51:34 -08:00
compositor.c compositor: fix plane coords in view_accumulate_damage() 2015-02-26 09:07:14 +02:00
compositor.h compositor: fix plane coords in view_accumulate_damage() 2015-02-26 09:07:14 +02:00
data-device.c compositor: add weston_surface_set_label_func() 2014-12-08 14:20:20 +02: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
gl-renderer.c gl-renderer: implement surface_copy_content 2015-02-25 14:48:12 +02:00
gl-renderer.h gl-renderer: Remove gl_renderer_interface from gl-renderer.h 2014-04-21 15:43:05 -07:00
input.c input: store the grab serial of the keyboard 2015-02-11 19:35:13 -08:00
launcher-util.c logind: forward Active=true changes for non-DRM backends 2015-01-16 18:34:10 -08:00
launcher-util.h logind: forward Active=true changes for non-DRM backends 2015-01-16 18:34:10 -08: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 libinput: Only forward first and last press and release for a key 2015-02-04 19:39:32 -08:00
libinput-device.h Add libinput based input device backend 2014-03-12 14:55:22 -07:00
libinput-seat.c libinput: default to INFO log level 2014-09-12 12:15:44 +03: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 logind: fix PropertiesChanged parser 2015-01-16 18:34:10 -08:00
logind-util.h logind: forward Active=true changes for non-DRM backends 2015-01-16 18:34:10 -08:00
noop-renderer.c noop-renderer: Read the shm buffer contents on attach 2014-02-18 13:49:21 -08:00
pixman-renderer.c pixman-renderer: implement surface_copy_content 2015-02-25 14:48:18 +02: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-renderer: don't pass a box to pixman_region32_contains_point() 2014-12-01 14:30:28 +02:00
rpi-renderer.h rpi: Support opaque regions 2013-12-02 11:36:29 -08:00
screen-share.c Don't protect xkb_*_unref from NULL 2014-08-20 01:05:16 -07:00
screenshooter.c screenshooter: remove useless cast 2015-02-02 14:58:46 -08:00
spring-tool.c animation: ensure repaints are always scheduled during animations 2014-06-18 17:14:40 -07:00
text-backend.c text: Don't crash if a seat has no keyboard 2014-12-16 16:05:48 +02:00
timeline-object.h compositor: Implement JSON-timeline logging 2014-12-08 15:02:56 +02:00
timeline.c timeline: use file_create_dated() helper 2015-02-25 14:47:59 +02:00
timeline.h compositor: Implement JSON-timeline logging 2014-12-08 15:02:56 +02:00
vaapi-recorder.c Use zalloc instead of calloc(1, ...) 2014-11-28 16:13:13 +02:00
vaapi-recorder.h vaapi-recorder: Don't loop trying to write on out of space condition 2014-05-09 14:12:38 -07:00
version.h.in Document WESTON_VERSION_AT_LEAST() macro behavior 2014-01-27 12:07:19 -08:00
vertex-clipping.c Don't underrun the vertex array of empty polygons 2014-08-20 11:43:26 +03: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-ext: Define EGL tokens harder for old Mesa 2015-02-12 19:31:18 -08:00
weston-launch.c cosmetic: replace boolean function return values with bool 2014-11-04 12:45:49 +02: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.desktop build: install a login manager session entry 2015-01-20 19:44:58 -08:00
weston.pc.in weston.pc: Added libexecdir and pkglibexecdir variables 2013-06-04 00:14:04 -04:00
zoom.c zoom: Check the value of level before using it. 2015-01-20 18:33:43 -08:00