weston/libweston
Pekka Paalanen 69dcd23c60 libweston: drop a misleading dmabuf comment
This comment was added in 230f3b1bf8 with the
intent that if we had an information table about pixel formats (which we do
have today), we could implement more sanity checks like ensuring that width
pixels fit into stride.

Daniel Vetter said on #dri-devel IRC recently:

	< danvet> since userspace shouldn't look at stride for buffers with
	modifiers, only pass it around unchanged

I asked for clarification. It was expected that userspace would not do any kind
of sanity checks as modifiers could change everything.

Let's remove the misleading code comment so that people don't get the idea of
adding more well-intended but ill-advised sanity checks. If more checks are
added, they must take the modifier into account, which the existing checks do
not do.

After 5 years, it is far too late to remove our existing sanity checks, but we
can attempt to not cause any more damage that would restrict what people can do
in the kernel.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2019-11-14 16:31:33 +02:00
..
backend-drm backend-drm: Added support for legacy fd_import 2019-11-12 13:01:02 -05:00
backend-fbdev build: separate deps for int and ext libweston users 2019-10-24 13:29:33 +03:00
backend-headless build: separate deps for int and ext libweston users 2019-10-24 13:29:33 +03:00
backend-rdp backend-rdp: work around unresolved symbols 2019-10-24 13:40:51 +03:00
backend-wayland build: separate deps for int and ext libweston users 2019-10-24 13:29:33 +03:00
backend-x11 backend-x11: need libdrm headers in build 2019-10-24 13:29:33 +03:00
renderer-gl Add include for missing symbols 2019-11-13 11:34:30 +00:00
animation.c Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
backend.h libweston: Bring back 'weston_output_move' 2019-09-13 08:57:31 +00:00
bindings.c Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
clipboard.c Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
compositor.c libweston: Add a new helper to check if the view spawns the entire 2019-11-11 16:51:48 +00:00
content-protection.c weston-log: Add 'destroy_subscription' callback for the subscription 2019-10-17 19:42:55 +03:00
data-device.c Fix a crash when closing an X11 window with a selection 2019-08-15 14:03:48 +02:00
dbus.c dbus: Don't return value from void function 2019-06-11 11:31:04 +01:00
dbus.h Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
git-version.h.meson Add Meson build system 2018-12-09 14:50:54 +02:00
input.c input: use ro_anonymous_file to minimize duplication of keymap files 2019-11-04 15:10:05 +01:00
launcher-direct.c libweston: make session_active a bool 2019-07-18 06:35:41 +00:00
launcher-impl.h Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
launcher-logind.c libweston: Move 'struct weston_backend' to the internal backend header 2019-07-18 06:43:38 +00:00
launcher-util.c Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
launcher-util.h Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
launcher-weston-launch.c libweston: make session_active a bool 2019-07-18 06:35:41 +00:00
libinput-device.c libweston: Migrate functions that operate on 'weston_output' into backend header 2019-07-18 06:43:38 +00:00
libinput-device.h Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
libinput-seat.c libweston: Remove internal weston-log set-up function out of public header 2019-07-18 13:34:04 +03:00
libinput-seat.h Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
libweston-internal.h libweston: Add a new helper to check if the view spawns the entire 2019-11-11 16:51:48 +00:00
linux-dmabuf.c libweston: drop a misleading dmabuf comment 2019-11-14 16:31:33 +02:00
linux-dmabuf.h linux-dmabuf: send deprecated format events 2018-01-18 11:24:19 +00:00
linux-explicit-synchronization.c libweston: Advertise minor version 2 of zwp_linux_explicit_synchronization_v1 2019-08-02 15:00:08 +00:00
linux-explicit-synchronization.h libweston: Support zwp_surface_synchronization_v1.set_acquire_fence 2019-02-06 12:21:56 +00:00
linux-sync-file-uapi.h libweston: Introduce an internal linux sync file API 2019-02-06 12:21:56 +00:00
linux-sync-file.c libweston: export weston_linux_sync_file_read_timestamp() 2019-04-18 12:50:55 +03:00
linux-sync-file.h libweston: export weston_linux_sync_file_read_timestamp() 2019-04-18 12:50:55 +03:00
log.c libweston/log: Add 'wlog' group for weston_log() related functions 2019-07-18 13:34:04 +03:00
meson.build build: reduce sub-dependencies of libweston 2019-10-24 13:29:33 +03:00
noop-renderer.c noop-renderer: zero-initialize struct 2019-10-11 12:16:35 +00:00
pixel-formats.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
pixel-formats.h pixel-formats: add RGBA bits and type fields 2019-10-04 12:17:18 +03:00
pixman-renderer.c pixman: avoid unnecessary y-flip for screen capture 2019-08-01 08:19:15 +00:00
pixman-renderer.h libweston: Introduce backend.h 2019-07-18 06:43:38 +00:00
plugin-registry.c Rename plugin-registry.h to libweston/plugin-registry.h 2019-04-18 12:31:46 +03:00
screenshooter.c libweston: Add functions to modify disable_planes counter for an output 2019-08-26 16:18:22 +05:30
spring-tool.c Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
timeline.c doc/sphinx: Add some documentation about timeline points 2019-10-17 21:42:25 +03:00
timeline.h doc/sphinx: Add some documentation about timeline points 2019-10-17 21:42:25 +03:00
touch-calibration.c libweston: Migrate functions that operate on 'weston_compositor' 2019-07-18 06:43:38 +00:00
vertex-clipping.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vertex-clipping.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
weston-launch.c weston-launch: use exec to ensure signal delivery 2019-11-09 00:56:06 +01:00
weston-launch.h libweston: Migrate weston_environment_get_fd() to weston-launch header 2019-07-18 06:43:38 +00:00
weston-log-file.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
weston-log-flight-rec.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
weston-log-internal.h libweston: Create the 'timeline' scope 2019-10-17 21:42:25 +03:00
weston-log-wayland.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
weston-log.c weston-log: Avoid prefix-matching the scope name when checking for a 2019-11-05 17:08:17 +02:00
zoom.c libweston: Add functions to modify disable_planes counter for an output 2019-08-26 16:18:22 +05:30