summaryrefslogtreecommitdiffstats
path: root/src/core/ozone/gl_surface_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-06-10 13:57:42 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-09-09 15:19:10 +0200
commit455619d3875e0e0e7a03734806d61c7998735cd4 (patch)
tree3e2558da4525819ad9bd5e46ee9f471c73aa8d5f /src/core/ozone/gl_surface_qt.cpp
parentcd61343ceb4a3de8ce16082917a2f197b2481d08 (diff)
Adaptations for Chromium 83
Change-Id: I63ed851426b18623d549ceaf87f1b6eeec527966 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/ozone/gl_surface_qt.cpp')
-rw-r--r--src/core/ozone/gl_surface_qt.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/ozone/gl_surface_qt.cpp b/src/core/ozone/gl_surface_qt.cpp
index 4be17f12b..90f486532 100644
--- a/src/core/ozone/gl_surface_qt.cpp
+++ b/src/core/ozone/gl_surface_qt.cpp
@@ -243,6 +243,17 @@ bool DirectCompositionSurfaceWin::IsSwapChainTearingSupported()
{
return false;
}
+
+bool DirectCompositionSurfaceWin::AreOverlaysSupported()
+{
+ return false;
+}
+
+UINT DirectCompositionSurfaceWin::GetOverlaySupportFlags(DXGI_FORMAT format)
+{
+ Q_UNUSED(format);
+ return 0;
+}
} // namespace gl
#endif
#endif // !defined(OS_MACOSX)