summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.cc
AgeCommit message (Collapse)Author
2022-05-22OpenGL line width > 1.0 does not seem to work on macOS (gives an INVALID_VALUE).Carl Hetherington
2022-05-22Cleanup: use an enum rather than a magic value.Carl Hetherington
2022-05-02Replace some raw arrays with std::vectors.Carl Hetherington
2022-04-29Primitive auto-crop (#1477).Carl Hetherington
2022-04-29Try to make the GL code a little clearer.Carl Hetherington
2022-04-29Rename border line to outline content.Carl Hetherington
2022-04-09Fix some comment typos.Carl Hetherington
2022-04-07Cleanup: remove unused parameter to PlayerVideo::force.Carl Hetherington
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