summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu/context.h')
-rw-r--r--video/out/gpu/context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/gpu/context.h b/video/out/gpu/context.h
index b080e836c8..4cf2af9e3e 100644
--- a/video/out/gpu/context.h
+++ b/video/out/gpu/context.h
@@ -1,6 +1,7 @@
#pragma once
#include "video/out/vo.h"
+#include "video/csputils.h"
#include "config.h"
#include "ra.h"
@@ -62,6 +63,10 @@ struct ra_swapchain {
struct ra_fbo {
struct ra_tex *tex;
bool flip; // rendering needs to be inverted
+
+ // Host system's colorspace that it will be interpreting
+ // the frame buffer as.
+ struct mp_colorspace color_space;
};
struct ra_swapchain_fns {