diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-11 18:52:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-27 13:41:46 +0200 |
| commit | 7245e46453a82886739a45bd78fcdf9e8401367c (patch) | |
| tree | d8f8b3d420eecfc958ac78df40c26f77d34f47d3 /src/wx/video_view.h | |
| parent | e9ae050b0b15c91c3f591ad84938e60d271357b3 (diff) | |
When the player is used in OpenGL mode, pass unscaled XYZ data through to the shader and do colourspace conversion there.
Diffstat (limited to 'src/wx/video_view.h')
| -rw-r--r-- | src/wx/video_view.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/video_view.h b/src/wx/video_view.h index 9517a3bf4..5353f213f 100644 --- a/src/wx/video_view.h +++ b/src/wx/video_view.h @@ -127,6 +127,10 @@ public: _three_d = t; } + void set_optimise_for_j2k (bool o) { + _optimise_for_j2k = o; + } + protected: NextFrameResult get_next_frame (bool non_blocking); boost::optional<int> time_until_next_frame () const; @@ -168,6 +172,8 @@ protected: StateTimer _state_timer; + bool _optimise_for_j2k = false; + private: /** Mutex protecting all the state in this class */ mutable boost::mutex _mutex; |
