summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.cc
AgeCommit message (Collapse)Author
2020-09-11Fixes for building with newer wxWidgets.Carl Hetherington
2020-08-09wxEVT_CREATE appears never to arrive on Windows, so change thingsv2.15.96Carl Hetherington
to create the OpenGL thread on the first paint request.
2020-08-09Remove old comment.Carl Hetherington
2020-08-09Don't call OpenGL functions until the wxGLContext has been created.Carl Hetherington
2020-08-05Add some more OpenGL debugging.Carl Hetherington
2020-07-29Fix bugs in thread termination causing occasional pthreadCarl Hetherington
assertion failures. Before this, it was possible for J2KEncoder::terminate_threads() to finish without terminating all threads if the thread _running_ terminate_threads() was itself interrupt()ed. This is because the thread_group::join_all() in terminate_threads() is an interruption point, so it was possible it not to complete but instead to throw interrupted_exception. Then the owning J2KEncoder would be torn down but the threads would still be running, causing use-after-frees. This commit adds some boost::this_thread::disable_interruption objects to ensure that the owning thread is not interrupted while it is being destroyed. Also tidy up code that does this stuff, assuming that it's safe to not call thread::joinable but instead do thread.interrupt(); try { thread.join(); } catch (...) {}
2020-07-26Various OSX warnings fixes.Carl Hetherington
2020-06-28Fix confusion between one-shot and playing causing surprisingCarl Hetherington
seeks when things are updated.
2020-06-28Rename _playing_condition -> _thread_work_condition.Carl Hetherington
2020-02-06Fix crash.Carl Hetherington
2020-01-30Various thread cleanups.Carl Hetherington
2020-01-08Use glTexSubImage2D when possible, as suggested by ↵Carl Hetherington
https://www.khronos.org/opengl/wiki/Common_Mistakes
2020-01-08Don't busy-wait when there's nothing to play.Carl Hetherington
2020-01-08Check that get_next_frame succeeds.Carl Hetherington
2020-01-08Fix some crashes.Carl Hetherington
2020-01-08More tidying up.Carl Hetherington
2020-01-08Various cleanups and thread-safety.Carl Hetherington
2020-01-08Same thing with inter_size.Carl Hetherington
2020-01-08Move _inter_position out of FilmViewer.Carl Hetherington
2020-01-08Move _dropped into VideoView.Carl Hetherington
2020-01-08Implement GLView::update.Carl Hetherington
2020-01-08Don't try opening error dialogues from the GL thread.Carl Hetherington
2020-01-08Fix display when there is no film.Carl Hetherington
2020-01-08Start thread when the window will have been created. Fix logic error.Carl Hetherington
2020-01-08Nicer protection of _player_video. Always run GL thread rather than ↵Carl Hetherington
starting/stopping it.
2020-01-08Remove GL context accessor and hence lock.Carl Hetherington
2020-01-08Clean up access to stuff from Film.Carl Hetherington
2020-01-08A little thread safety.Carl Hetherington
2020-01-08Various timing hacks and development.Carl Hetherington
2020-01-08Barely-functioning GL playback with new arrangement.Carl Hetherington
2019-06-03Fix typo.Carl Hetherington
2019-06-03More Windows hackery.Carl Hetherington
2019-06-03More accurate reporting of whether vsync is enabled.Carl Hetherington
2019-06-03Windows #include.Carl Hetherington
2019-06-03Attempted Windows GL fixes.Carl Hetherington
2019-06-03Type fix for OS X.Carl Hetherington
2019-06-03Another OS X include.Carl Hetherington
2019-06-03Another OS X include.Carl Hetherington
2019-06-03Try another way on OS X.Carl Hetherington
2019-06-03More GL build fixes.Carl Hetherington
2019-06-03Fix some build failures due to GL stuff.Carl Hetherington
2019-06-03Try to enable vsync with GL on Linux.Carl Hetherington
2019-05-12Restore paint-panel timing.Carl Hetherington
2019-05-10Fix crash with small GL canvas sizes.v2.15.1Carl Hetherington
2019-05-10Colour in 'masking' in GL mode.Carl Hetherington
2019-05-10Fix update on drag with GL canvas.Carl Hetherington
2019-05-10I believe _canvas will be destroyed by its parent.Carl Hetherington
2019-05-10Remove storage of _frame in FilmViewer.Carl Hetherington
2019-05-10Tidy up sized emissions from VideoView.Carl Hetherington
2019-05-10Remove unnecessary Refresh() call.Carl Hetherington