[vlmc-devel] IRenderTarget

Yikai Lu git at videolan.org
Sun Apr 17 09:20:08 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Fri Apr 15 21:28:22 2016 +0900| [83109a9dd65da791bf55afe9c2f6e05d6264a4d5] | committer: Hugo Beauzée-Luyssen

IRenderTarget

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> https://code.videolan.org/videolan/vlmc/commit/83109a9dd65da791bf55afe9c2f6e05d6264a4d5
---

 src/Backend/IRenderTarget.h | 18 ++++++++++++++++++
 src/CMakeLists.txt          |  1 +
 2 files changed, 19 insertions(+)

diff --git a/src/Backend/IRenderTarget.h b/src/Backend/IRenderTarget.h
new file mode 100644
index 0000000..9efbf0f
--- /dev/null
+++ b/src/Backend/IRenderTarget.h
@@ -0,0 +1,18 @@
+#ifndef IRENDERTARGET_H
+#define IRENDERTARGET_H
+
+
+namespace Backend
+{
+    class ISourceRenderer;
+
+    class IRenderTarget
+    {
+    public:
+        virtual ~IRenderTarget() = default;
+        virtual void configure( ISourceRenderer* renderer ) = 0;
+    };
+}
+
+#endif // IRENDERTARGET_H
+
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bb4bef5..ae426ff 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,6 +40,7 @@ SET(VLMC_SRCS
     Backend/IBackend.h
     Backend/ISourceRenderer.h
     Backend/ISource.h
+    Backend/IRenderTarget.h
     Backend/VLC/VLCBackend.cpp
     Backend/VLC/VLCSourceRenderer.cpp
     Backend/VLC/VLCVmemRenderer.cpp



More information about the Vlmc-devel mailing list