summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.cc
AgeCommit message (Collapse)Author
2021-11-14Missing include.v2.15.174Carl Hetherington
2021-11-14Account for DPI scale factors when calculating some sizes (#2118).v2.15.173Carl Hetherington
2021-10-25Fix position of content outline (#2108).v2.15.171Carl Hetherington
2021-10-03Always call ::draw() even when we have no image.Carl Hetherington
Otherwise the screen doesn't get cleared properly when no film is loaded.
2021-10-03Remove unused parameters.Carl Hetherington
2021-10-01Fix subtitle positioning and centering of the DCP frame in the window.v2.15.165Carl Hetherington
Also tidy up a bit with the Rectangle class.
2021-10-01Change glLineWidth from 2.0 -> 1.0.v2.15.164Carl Hetherington
Apparently a line width of greater than 1.0 is not allowed in some versions of OpenGL.
2021-10-01Missing check_gl_error() calls.Carl Hetherington
2021-09-30Only support GLVideoView when building with wxWidgets >= 3.1.0.Carl Hetherington
2021-09-27Various alignment tidying/fixups.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-09-27Allow RGB24 in textures.Carl Hetherington
2021-09-27Support subs and tidy up a few things.Carl Hetherington
2021-09-27Rename image -> video.Carl Hetherington
2021-09-27Move some stuff inside Texture.Carl Hetherington
2021-09-27Add basic Texture wrapper for a GL texture.Carl Hetherington
2021-09-27Rename _size -> _video_sizeCarl Hetherington
2021-09-27Tweak some comments.Carl Hetherington
2021-09-27Extract indices array and make some offset constants.Carl Hetherington
2021-09-27Rename _texture -> _video_texture.Carl Hetherington
2021-09-27When the player is used in OpenGL mode, pass unscaled XYZ data through to ↵Carl Hetherington
the shader and do colourspace conversion there.
2021-09-27Fix GL information fetching.Carl Hetherington
2021-09-27Re-work OpenGL video view to use modern shaders / APIs.Carl Hetherington
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