weston_buffer: Move direct_display out of gl-renderer

Just make it a generic buffer attribute, not hidden away in GL.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone
2022-01-19 17:59:50 +00:00
parent 57c34139d3
commit 8544a4d09b
3 changed files with 12 additions and 12 deletions
+2
View File
@@ -1219,6 +1219,8 @@ struct weston_buffer {
ORIGIN_TOP_LEFT, /* buffer content starts at (0,0) */
ORIGIN_BOTTOM_LEFT, /* buffer content starts at (0, height) */
} buffer_origin;
bool direct_display;
void *backend_private;
const struct pixel_format_info *pixel_format;