mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 07:00:09 +01:00
drm: Move enum drm_output_propose_state_mode into internal header
This is in preparation for storing the mode with the state later. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
57ad320d86
commit
aefdbb0278
2 changed files with 7 additions and 7 deletions
|
|
@ -336,6 +336,13 @@ struct drm_pending_state {
|
||||||
struct wl_list output_list;
|
struct wl_list output_list;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum drm_output_propose_state_mode {
|
||||||
|
DRM_OUTPUT_PROPOSE_STATE_MIXED, /**< mix renderer & planes */
|
||||||
|
DRM_OUTPUT_PROPOSE_STATE_RENDERER_AND_CURSOR, /**< only assign to renderer & cursor plane */
|
||||||
|
DRM_OUTPUT_PROPOSE_STATE_RENDERER_ONLY, /**< only assign to renderer */
|
||||||
|
DRM_OUTPUT_PROPOSE_STATE_PLANES_ONLY, /**< no renderer use, only planes */
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Output state holds the dynamic state for one Weston output, i.e. a KMS CRTC,
|
* Output state holds the dynamic state for one Weston output, i.e. a KMS CRTC,
|
||||||
* plus >= 1 each of encoder/connector/plane. Since everything but the planes
|
* plus >= 1 each of encoder/connector/plane. Since everything but the planes
|
||||||
|
|
|
||||||
|
|
@ -45,13 +45,6 @@
|
||||||
#include "shared/string-helpers.h"
|
#include "shared/string-helpers.h"
|
||||||
#include "shared/weston-assert.h"
|
#include "shared/weston-assert.h"
|
||||||
|
|
||||||
enum drm_output_propose_state_mode {
|
|
||||||
DRM_OUTPUT_PROPOSE_STATE_MIXED, /**< mix renderer & planes */
|
|
||||||
DRM_OUTPUT_PROPOSE_STATE_RENDERER_AND_CURSOR, /**< only assign to renderer & cursor plane */
|
|
||||||
DRM_OUTPUT_PROPOSE_STATE_RENDERER_ONLY, /**< only assign to renderer */
|
|
||||||
DRM_OUTPUT_PROPOSE_STATE_PLANES_ONLY, /**< no renderer use, only planes */
|
|
||||||
};
|
|
||||||
|
|
||||||
static const char *const drm_output_propose_state_mode_as_string[] = {
|
static const char *const drm_output_propose_state_mode_as_string[] = {
|
||||||
[DRM_OUTPUT_PROPOSE_STATE_MIXED] = "mixed state",
|
[DRM_OUTPUT_PROPOSE_STATE_MIXED] = "mixed state",
|
||||||
[DRM_OUTPUT_PROPOSE_STATE_RENDERER_AND_CURSOR] = "renderer-and-cursor state",
|
[DRM_OUTPUT_PROPOSE_STATE_RENDERER_AND_CURSOR] = "renderer-and-cursor state",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue