Rename ProRes export format to MOV / ProRes (#2067).
[dcpomatic.git] / src / wx / gl_video_view.h
index 1e6886f26cd4e91b032558f03d5acd3e486980c1..36edd6b8b979111285a7df2dcc4421efbd37c0f1 100644 (file)
@@ -62,14 +62,13 @@ private:
        void request_one_shot ();
        void check_for_butler_errors ();
        void ensure_context ();
+       void size_changed (wxSizeEvent const &);
 
-       /* Mutex for use of _canvas; it's only contended when our ::thread
-          is started up so this may be overkill.
-        */
-       boost::mutex _canvas_mutex;
        wxGLCanvas* _canvas;
        wxGLContext* _context;
 
+       boost::atomic<wxSize> _canvas_size;
+
        GLuint _id;
        boost::optional<dcp::Size> _size;
        bool _have_storage;