[mmap] partial revert of 8cef8db4 to disable using mmap file reader
[videoplayer.git] / GLvideo_renderer.h
blobeaea8da8aa1884bf9c1ddd9bf73965003d83b374
1 #ifndef __GLVIDEO_RENDERER_H
2 #define __GLVIDEO_RENDERER_H
4 #include <GL/glew.h>
6 class VideoData;
8 namespace GLVideoRenderer
10 class GLVideoRenderer {
11 public:
12 virtual void createTextures(VideoData *video_data) = 0;
13 virtual void deleteTextures() = 0;
14 virtual void uploadTextures(VideoData *video_data) = 0;
15 virtual void renderVideo(VideoData *video_data, GLuint shader) = 0;
16 virtual ~GLVideoRenderer() {};
20 #endif