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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user