[vlmc-devel] [PATCH 1/5] IRenderTarget
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Fri Apr 15 12:34:57 CEST 2016
On 04/14/2016 10:10 AM, Yikai Lu wrote:
> ---
> src/Backend/IRenderTarget.h | 18 ++++++++++++++++++
> src/CMakeLists.txt | 1 +
> 2 files changed, 19 insertions(+)
> create mode 100644 src/Backend/IRenderTarget.h
>
> 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
>
LGTM
More information about the Vlmc-devel
mailing list