mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-01 07:14:39 +00:00
Compare commits
3 Commits
7c0ae37453
...
4d4f54f78e
Author | SHA1 | Date | |
---|---|---|---|
|
4d4f54f78e | ||
|
de669aeb60 | ||
|
f843ba34d1 |
|
@ -55,6 +55,7 @@ script_data.set('DOCTREES_DIR', meson.current_build_dir() + '/doctrees')
|
|||
|
||||
script_data.set('DOXYGEN_CONF', meson.current_build_dir() + '/doxygen.ini')
|
||||
script_data.set('DOXYGEN_CMD', doxygen.full_path())
|
||||
script_data.set('MESON_WERROR', get_option('werror') == true ? 'YES' : 'NO')
|
||||
script_data.set('SPHINX_CMD', sphinx.full_path())
|
||||
script_doxy_sphinx = configure_file(
|
||||
input: 'run_doxygen_sphinx.sh.in',
|
||||
|
|
|
@ -1,2 +1,9 @@
|
|||
#!/bin/sh
|
||||
@DOXYGEN_CMD@ @DOXYGEN_CONF@ && @SPHINX_CMD@ -E -W -q -j auto -d @DOCTREES_DIR@ @SRCDIR@ @OUTDIR@
|
||||
|
||||
if [ "@MESON_WERROR@" = "YES" ]; then
|
||||
SPHINX_WERROR="-W"
|
||||
else
|
||||
SPHINX_WERROR=""
|
||||
fi
|
||||
|
||||
@DOXYGEN_CMD@ @DOXYGEN_CONF@ && @SPHINX_CMD@ $SPHINX_WERROR -E -q -j auto -d @DOCTREES_DIR@ @SRCDIR@ @OUTDIR@
|
||||
|
|
|
@ -946,7 +946,7 @@ drm_repaint_flush_device(struct drm_device *device)
|
|||
{
|
||||
struct drm_backend *b = device->backend;
|
||||
struct drm_pending_state *pending_state;
|
||||
struct weston_output *base;
|
||||
struct drm_output_state *output_state;
|
||||
int ret;
|
||||
|
||||
pending_state = device->repaint_data;
|
||||
|
@ -964,15 +964,13 @@ drm_repaint_flush_device(struct drm_device *device)
|
|||
if (ret == 0)
|
||||
return;
|
||||
|
||||
wl_list_for_each(base, &b->compositor->output_list, link) {
|
||||
struct drm_output *tmp = to_drm_output(base);
|
||||
if (!tmp || tmp->device != device)
|
||||
continue;
|
||||
wl_list_for_each(output_state, &pending_state->output_list, link) {
|
||||
struct drm_output *tmp = output_state->output;
|
||||
|
||||
if (ret == -EBUSY)
|
||||
weston_output_schedule_repaint_restart(base);
|
||||
weston_output_schedule_repaint_restart(&tmp->base);
|
||||
else
|
||||
weston_output_schedule_repaint_reset(base);
|
||||
weston_output_schedule_repaint_reset(&tmp->base);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user