summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.cc
AgeCommit message (Collapse)Author
2021-04-23I can't convince myself that _canvas_mutex is doing anything useful, so ↵Carl Hetherington
remove it.
2021-04-23Make the GL thread access the canvas size in a less ridiculous way.Carl Hetherington
2021-04-21Add some possibly-useful markers for debugging threads from coredumps.Carl Hetherington
2021-02-01Add a better error when failing to read a DCP in some cases.Carl Hetherington
2021-01-27Use enum class for VideoRange.Carl Hetherington
2021-01-16Fix crash on close on Linux.v2.15.121Carl Hetherington
2021-01-16Fix OpenGL crashes on macOS (#1899).Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-23Various tweaks to fix playback at the end of a film (#1858).Carl Hetherington
The most questionable change here is probably how SimpleVideoView::display_next_frame no longer re-schedules itself if the call to get_next_frame returned AGAIN; it seems wrong to do that when FilmViewer::idle_handler() also reschedules itself when display_next_frame() returns AGAIN.
2020-12-11Fix lots of macOS warnings by using a different boost/bind include.Carl Hetherington
2020-11-16Make sure we use limited ("video") range data when exporting.Carl Hetherington
Our export formats all currently use limited range but we weren't making sure data fed to the encoders was limited range. Should fix #1832.
2020-11-05Fix video waveform view with GL backend.Carl Hetherington
2020-11-04Fix crash on Linux (and maybe others).Carl Hetherington
Calling _canvas->SetCurrent() without the canvas being on screen causes a crash on Linux (and maybe elsewhere).
2020-10-21macOS / new boost build fixes.v2.15.104Carl Hetherington
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