aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-12 18:01:40 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-29 09:48:33 -0400
commit3132c0ab107d0251652fe1cb43830d5d0cc57e8f (patch)
tree54208a9720aa82098ba3c84ff4606c4acac68b8e /include/wlr
parentf211bc983aeeacd7f4d6af8c47845e8ddc2f7e9b (diff)
output: drop wlr_output_state.buffer_type
This is now unconditionally set to WLR_OUTPUT_STATE_BUFFER_SCANOUT.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index f42e2061..dd4b4c0f 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -63,11 +63,6 @@ enum wlr_output_state_field {
WLR_OUTPUT_STATE_GAMMA_LUT = 1 << 7,
};
-enum wlr_output_state_buffer_type {
- WLR_OUTPUT_STATE_BUFFER_RENDER,
- WLR_OUTPUT_STATE_BUFFER_SCANOUT,
-};
-
enum wlr_output_state_mode_type {
WLR_OUTPUT_STATE_MODE_FIXED,
WLR_OUTPUT_STATE_MODE_CUSTOM,
@@ -85,8 +80,7 @@ struct wlr_output_state {
bool adaptive_sync_enabled;
// only valid if WLR_OUTPUT_STATE_BUFFER
- enum wlr_output_state_buffer_type buffer_type;
- struct wlr_buffer *buffer; // if WLR_OUTPUT_STATE_BUFFER_SCANOUT
+ struct wlr_buffer *buffer;
// only valid if WLR_OUTPUT_STATE_MODE
enum wlr_output_state_mode_type mode_type;