weston/src
Ander Conselvan de Oliveira 9390ae3ed1 compositor: make es->pitch consistent between shm and drm surfaces
For shm buffers, es->pitch is set using the stride of the buffer. If
the shell happened to set the surface width to something different than
the buffer width, the contents of the surface would be cropped on the
width during redraw. However, for non-shm surfaces, es->pitch was set to
the surface width. That caused the contents of the buffer to be scaled
on the width when the buffer was wider than the surface.

This makes the behavior on both cases the same: crop on the width and
scale on the height. (which is weird but consistent)
2012-03-27 16:36:53 -04:00
..
.gitignore update git ignores 2012-01-27 10:44:22 +02:00
compositor-drm.c compositor-drm: Check es->image, not es->buffer when looking for overlays 2012-03-26 11:48:55 -04:00
compositor-openwfd.c Add an option parser 2012-03-12 01:28:50 -04:00
compositor-wayland.c Hook up axis events. 2012-03-22 11:03:41 -06:00
compositor-x11.c Hook up axis events. 2012-03-22 11:03:41 -06:00
compositor.c compositor: make es->pitch consistent between shm and drm surfaces 2012-03-27 16:36:53 -04:00
compositor.h compositor: add weston_surface_to_global_float helper 2012-03-27 16:36:53 -04:00
evdev.c Hook up axis events. 2012-03-22 11:03:41 -06:00
evdev.h Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
hash.c Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
hash.h Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
libbacklight.c compositor-drm: fix libbacklight build 2012-03-04 22:00:02 -05:00
libbacklight.h compositor-drm: Just pull in libbacklight source for now 2012-02-29 14:23:51 -05:00
Makefile.am Revert "automake: Don't fail the build if we can't setuid." 2012-03-20 22:44:08 -04:00
matrix.c compositor: simplify the matrix inversion API 2012-01-27 10:44:22 +02:00
matrix.h compositor: simplify the matrix inversion API 2012-01-27 10:44:22 +02:00
screenshooter.c compositor: Use GL_BGRA_EXT for glReadPixels in screenshooter 2012-03-27 15:59:46 -04:00
shell.c compositor: add a weston_surface_is_mapped() helper 2012-03-27 16:36:53 -04:00
tablet-shell.c Modify bindings for axis event detection. 2012-03-22 11:03:41 -06:00
tty.c Revert "weston: Drop priviledges early, and seteuid when needed" 2012-01-24 12:41:19 -05:00
util.c Modify bindings for axis event detection. 2012-03-22 11:03:41 -06:00
xserver-launcher.c Use typesafe server-side stubs 2012-03-04 21:57:37 -05:00