summaryrefslogtreecommitdiffstats
path: root/xbmc/rendering/gles/ScreenshotSurfaceGLES.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/rendering/gles/ScreenshotSurfaceGLES.h')
-rw-r--r--xbmc/rendering/gles/ScreenshotSurfaceGLES.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/xbmc/rendering/gles/ScreenshotSurfaceGLES.h b/xbmc/rendering/gles/ScreenshotSurfaceGLES.h
new file mode 100644
index 0000000..1ca1730
--- /dev/null
+++ b/xbmc/rendering/gles/ScreenshotSurfaceGLES.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2005-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include "utils/IScreenshotSurface.h"
+
+#include <memory>
+
+class CScreenshotSurfaceGLES : public IScreenshotSurface
+{
+public:
+ static void Register();
+ static std::unique_ptr<IScreenshotSurface> CreateSurface();
+
+ bool Capture() override;
+};