When the player is used in OpenGL mode, pass unscaled XYZ data through to the shader...
[dcpomatic.git] / src / wx / gl_video_view.h
index 0186417d2dbc48c65e400361aaffaee8b2296700..4bab64348f078d00db84b1f04c1e7166f6e43939 100644 (file)
@@ -53,8 +53,12 @@ public:
                return _vsync_enabled;
        }
 
+       std::map<GLenum, std::string> information () const {
+               return _information;
+       }
+
 private:
-       void set_image (std::shared_ptr<const Image> image);
+       void set_image (std::shared_ptr<const PlayerVideo> pv);
        void set_image_and_draw ();
        void draw (Position<int> inter_position, dcp::Size inter_size);
        void thread ();
@@ -82,8 +86,10 @@ private:
        boost::atomic<bool> _one_shot;
 
        GLuint _vao;
-       GLint _draw_border;
+       GLint _fragment_type;
        bool _setup_shaders_done = false;
 
        std::shared_ptr<wxTimer> _timer;
+
+       std::map<GLenum, std::string> _information;
 };