mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
compositor: Move repaint_status out of weston_output
To accommodate some future CI bump to Trixie (doxygen/breathe issue) move out the anonymous enum out of weston_output object. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
cfb459c2c9
commit
9215a537e0
1 changed files with 12 additions and 6 deletions
|
|
@ -347,6 +347,17 @@ struct weston_plane {
|
|||
struct wl_list link;
|
||||
};
|
||||
|
||||
/** State of the repaint loop
|
||||
*
|
||||
* \ingroup output
|
||||
*/
|
||||
enum weston_repaint_status {
|
||||
REPAINT_NOT_SCHEDULED = 0, /**< idle; no repaint will occur */
|
||||
REPAINT_BEGIN_FROM_IDLE, /**< start_repaint_loop scheduled */
|
||||
REPAINT_SCHEDULED, /**< repaint is scheduled to occur */
|
||||
REPAINT_AWAITING_COMPLETION, /**< last repaint not yet finished */
|
||||
};
|
||||
|
||||
/** Content producer for heads
|
||||
*
|
||||
* \rst
|
||||
|
|
@ -417,12 +428,7 @@ struct weston_output {
|
|||
bool repaint_only_on_capture;
|
||||
|
||||
/** State of the repaint loop */
|
||||
enum {
|
||||
REPAINT_NOT_SCHEDULED = 0, /**< idle; no repaint will occur */
|
||||
REPAINT_BEGIN_FROM_IDLE, /**< start_repaint_loop scheduled */
|
||||
REPAINT_SCHEDULED, /**< repaint is scheduled to occur */
|
||||
REPAINT_AWAITING_COMPLETION, /**< last repaint not yet finished */
|
||||
} repaint_status;
|
||||
enum weston_repaint_status repaint_status;
|
||||
|
||||
/** If repaint_status is REPAINT_SCHEDULED, contains the time the
|
||||
* next repaint should be run */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue