GLVideoView (FilmViewer* viewer, wxWindow* parent);
~GLVideoView ();
- wxWindow* get () const {
+ wxWindow* get () const override {
return _canvas;
}
- void update ();
- void start ();
- void stop ();
+ void update () override;
+ void start () override;
+ void stop () override;
- NextFrameResult display_next_frame (bool);
+ NextFrameResult display_next_frame (bool) override;
bool vsync_enabled () const {
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_and_draw ();
bool _setup_shaders_done = false;
std::shared_ptr<wxTimer> _timer;
+
+ std::map<GLenum, std::string> _information;
};