- 18 Sep, 2018 3 commits
-
-
Changwoo Cho authored
-
Emmanuel Gil Peyrot authored
Signed-off-by:
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
-
Sruthik P authored
-
- 17 Sep, 2018 17 commits
-
-
Simon Ser authored
-
Stefan Agner authored
Add the centered option as background-type. This draws the image once in the center of the screen. If the image is larger, it will be cropped like scale-crop. Signed-off-by:
Stefan Agner <stefan@agner.ch>
-
Stefan Agner authored
Only draw the background once, using the the current default background color or the user specified background color. This allows for non-filling background image implemenation while still using the specified background color. Signed-off-by:
Stefan Agner <stefan@agner.ch>
-
Stefan Agner authored
Weston should not exit if stdin is a closed stream. This allows to launch with a closed stdin: # weston <&- This fixes screen sharing using weston: Weston closes the stdin before forking itself to execute the screen sharing instance of weston. Before this patch screen sharing failed with: Screen share failed: No wl_shm found unknown child process exited Fixes: f0d39b22 ("weston: Set CLOEXEC on stdin") Signed-off-by:
Stefan Agner <stefan@agner.ch>
-
Daniel Stone authored
Add a 'drm-debug' scope which prints verbose information about the DRM backend's repaint cycle, including the decision tree on how views are assigned (or not) to planes. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
Daniel Stone authored
Add this for convenience, so it's easier to access when we add the DRM backend debug scope. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
Daniel Stone authored
Shift up our calculation of the flags we use for atomic commits. We will later use this to differentiate between test-only and full commits when printing debug information inside drm_output_state_apply_atomic. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Daniel Stone authored
Add a 'scene-graph' debug scope which will dump out the current set of outputs, layers, and views and as much information as possible about how they are rendered and composited. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
Daniel Stone authored
As a counterpart to weston_layer_set_mask_infinite(), returning if the mask is the same as what is set. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Pekka Paalanen authored
This is better than running Weston with WAYLAND_DEBUG=server: - It is enabled on demand, no unnecessary flooding and no need to restart the compositor if debug was enabled. - It prints client pointers so that messages with different clients can be seen apart. Signed-off-by:
Pekka Paalanen <pq@iki.fi> parse and print message arguments in protocol_log_fn Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Pekka Paalanen authored
Instead of a compile time choice, offer the XWM debugging messages through the weston-debug protocol and tool on demand. Users will not need to recompile weston to get XWM debugging, and it won't flood the weston log. The debug scope needs to be initialized in launcher.c for it be available from start, before the first X11 client tries to connect and initializes XWM. Signed-off-by:
Pekka Paalanen <pq@iki.fi> pass the wm_debug scope to weston_debug_scope_printf API to append the scopename to the timestr Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Pekka Paalanen authored
This is preparation for using the weston-debug infrastructure for WM_DEBUG. dump_property() may be called from different debugging contexts and often needs to be prefixed with more information. An alternative to this patch would be to pass in the weston_debug_scope as an argument to dump_property(), but then all callers would need to be converted to weston-debug infra in a single commit. Therefore require the callers to provide the FILE* to print to. Signed-off-by:
Pekka Paalanen <pq@iki.fi> Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Pekka Paalanen authored
Write the output of dump_property() out in one log call. When multiple processes (weston and Xwayland) are writing to the same file, this will keep the property dump uninterrupted by Xwayland debug prints. This is also preparation for more development in the same direction. Signed-off-by:
Pekka Paalanen <pq@iki.fi> Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Pekka Paalanen authored
This registers a new weston-debug scope "log" through which one can get live log output interspersed with possible other debugging prints. This is implemented by passing the format and varargs received in our usual logging entrypoints through to the debug scope as well. Anywhere where the varargs set is used twice (once for vfprintf, another for the debug scope), we copy the va_list in order to avoid reusing it, which leads to memory safety issues. Signed-off-by:
Pekka Paalanen <pq@iki.fi> Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Pekka Paalanen authored
A tool for accessing the zcompositor_debug_v1 interface features. Installed along weston-info, because it should be potentially useful for people running libweston-based compositors. Signed-off-by:
Pekka Paalanen <pq@iki.fi> Added a man page for weston-debug client Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> [Pekka: fixed 'missing braces aroudn initializer' warning] Add --list and --all arguments, using interface advertisement. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Emre Ucan <eucan@de.adit-jv.com>
-
Pekka Paalanen authored
Let users enable the compositor debug protocol on the compositor command line. This allows weston-debug tool to work. Signed-off-by:
Pekka Paalanen <pq@iki.fi> Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Pekka Paalanen authored
weston_debug is both a libweston API for relaying debugging messages, and the compositor-debug wayland protocol implementation for accessing those debug messages from a Wayland client. weston_debug_compositor_{create,destroy}() are private API, hence not exported. Signed-off-by:
Pekka Paalanen <pq@iki.fi> append the debug scope name along with the timestamp in weston_debug_scope_timestamp API Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Add explicit advertisement of debug scope names. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Emre Ucan <eucan@de.adit-jv.com>
-
- 11 Sep, 2018 1 commit
-
-
Pekka Paalanen authored
This is a new debugging extension for non-production environments. The aim is to replace all build-time choosable debug prints in the compositor with runtime subscribable debug streams. Signed-off-by:
Pekka Paalanen <pq@iki.fi> Added new libweston-$MAJOR-protocols.pc file and install that for external projects to find the XML files installed by libweston. Signed-off-by:
Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Use noarch_pkgconfig_DATA instead, add ${pc_sysrootdir}, drop unnecessary EXTRA_DIST of weston-debug.xml. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Add explicit advertisement of available debug interfaces. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Emre Ucan <eucan@de.adit-jv.com>
-
- 31 Aug, 2018 1 commit
-
-
Matteo Valdina authored
This fix a crash, when gl-renderer uploads the 2^ texture for YUYV. The pixels buffer was offset of a random value.
-
- 28 Aug, 2018 1 commit
-
-
Daniel Stone authored
Attempt to answer the question on everyone's lips. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
- 27 Aug, 2018 1 commit
-
-
Pekka Paalanen authored
Change format of substituted variables to follow the pattern used by configure_file() in Meson. This helps the migration to Meson, making man/meson.build much cleaner. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
- 24 Aug, 2018 2 commits
-
-
Derek Foreman authored
-
Derek Foreman authored
-
- 20 Aug, 2018 1 commit
-
-
Stefan Agner authored
Linux v4.7 introduced a new connector type for display parallel interface (DPI). Add DPI to the list of connectors in the DRM backend of Weston as well. This avoid DPI connectors showing up as UNNAMED. Signed-off-by:
Stefan Agner <stefan@agner.ch>
-
- 17 Aug, 2018 3 commits
-
-
Derek Foreman authored
-
Derek Foreman authored
Client may map any file descriptor opened for writing with PROT_WRITE themselves. On linux, even a read-only file descriptor to an unlinked file can be re-opened with write permission through /proc/self/fd. The only way to prevent this is to create a memfd which is subsequently write-sealed. Unfortunately this prevents clients from mapping with MAP_SHARED, which is already in widespread usage. To isolate and protect the keymap, whilst allowing MAP_SHARED clients to continue to work, use a unique file descriptor for each wl_keyboard resource. Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Derek Foreman authored
We've always had "send_keymap" internally, but some places failed to use it. Since we also use this in the text backend, export it. Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
- 10 Aug, 2018 2 commits
-
-
Derek Foreman authored
-
Harsha Manjula Mallikarjun authored
During de-init ensure removal of compositor destroy notification from list. Otherwise a dongling pointer is left behind which will affect other plugins. Signed-off-by:
Harsha M M <harsha.manjulamallikarjun@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 08 Aug, 2018 1 commit
-
-
Harsha Manjula Mallikarjun authored
During de-init ensure removal of added signals from list. Otherwise a dongling pointer is left behind which will affect other plugins. Signed-off-by:
Harsha M M <harsha.manjulamallikarjun@in.bosch.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 07 Aug, 2018 3 commits
-
-
Will Thompson authored
* Cover letters are no more; presumably the changes since the previous revision should be summarised in the MR * Code should be indented with tabs, not implemented with tabs Signed-off-by:
Will Thompson <will@willthompson.co.uk>
-
Daniel Stone authored
Though Wayland and the protocols still use mail-based patch review, Weston can now move to GitLab MRs with review through that system. Add some documentation on how to submit patches through GitLab, specifically targeted at people who may be familiar with GitLab review, but not familiar with our rebasing microcommit workflow. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Daniel Stone authored
Move the README file to Markdown, and update it to attempt to explain the current status and use of Weston. The first sections are user-facing, so they can quickly understand what Weston is, what it does, what it doesn't do, and how to go about using it. The following sections on libweston and for distribution packagers are left intact, but should probably be moved to separate documents. This includes a screenshot of Weston running weston-terminal, Chrome and simple-egl, which was taken by myself and subject to the same licensing terms as the rest of the tree. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 06 Aug, 2018 2 commits
-
-
Daniel Stone authored
Change some Wayland-specific references to instead refer to Weston. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Pekka Paalanen authored
Taken from Pekka's wayland/wayland@630c25f4 and follow-ups, use Wayland's CONTRIBUTING document as a basis for Weston. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 27 Jul, 2018 2 commits
-
-
Derek Foreman authored
-
Daniel Stone authored
THe KMS AddFB call can fail for any reason at all: format/modifier not suitable, stride not aligned, allocation not contiguous, etc. If this happens with Weston's own buffers, the result is bad - no composition output. Failing AddFB from user-supplied buffers though, is not an error. The user can't necessarily allocate suitable buffers, nor does it have to. Don't spam the log with warnings when we fail on user buffers. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reported-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Derek Foreman <derek.foreman.samsung@gmail.com>
-