summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.cc
AgeCommit message (Collapse)Author
2026-03-10Fix updating of crop guess rectangle from the auto-crop dialog.Carl Hetherington
Before the change in the dialog would raise an ImageChanged which would reset the crop again, making it unchangeable.
2026-03-10Use a more generic way to request things.Carl Hetherington
2026-03-10Add a set of missing update() calls.Carl Hetherington
2026-03-10Rename one_shot stuff to better reflect what it actually does.Carl Hetherington
2026-03-10Add a comment.Carl Hetherington
2025-10-10Keep screen awake while playing on Windows (#3095).Carl Hetherington
2025-08-25Fix player crop in OpenGL mode.Carl Hetherington
Previously we changed the scaling of the texture, when instead we should only look at a subset of the texture.
2025-08-25Rename variable.Carl Hetherington
2025-08-25Cleanup: some east/west const.Carl Hetherington
2025-08-25Rename size -> out_size.Carl Hetherington
2025-08-25Fix incorrect display when cropping unoptimised video with the OpenGL ↵Carl Hetherington
renderer (#3075). Previously we wrongly tried to apply crop to videos in Optimisation::NONE, which are already cropped and {letter,pillar}boxed.
2025-08-25Cleanup: wrap glUniform* calls.Carl Hetherington
2025-08-25Cleanup: extract check_gl_error to gl_util.{cc,h}Carl Hetherington
2025-08-12Replace AVPixelFormat parameter to PlayerVideo::image with a functor.Carl Hetherington
This was removed in df9b4676aba8b941f124b174393988cad21677e1 and surrounding commits, but it turns out we need it after all.
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2025-06-17Support content crop in the GL backend.Carl Hetherington
2025-05-26Remove functors for choosing pixel format output from make_image().Carl Hetherington
2025-02-22Log audio latency under the player debug option.Carl Hetherington
2025-02-22White space: gl_video_view.{cc,h}Carl Hetherington
2025-01-09Fix subtitle rendering with OpenGL.Carl Hetherington
A number of errors were made when adding the two new video textures for rendering MPEG2.
2024-09-03Remove some implicit conversions between wxString and std::string.Carl Hetherington
2024-06-06Support optimised rendering of YUV420P in OpenGL.Carl Hetherington
2024-01-02Fix crash due to player_video().first becoming null sometime betweenCarl Hetherington
it being passed into the method and then being re-read via another call to player_video().
2022-11-10Fix uninitialised variable.Carl Hetherington
2022-10-18Fix colour primaries when previewing Rec.2020 content with OpenGL.Carl Hetherington
2022-10-18Clarify RGB fragment type as being for Rec709/sRGB primaries.Carl Hetherington
2022-10-18Add a scope.Carl Hetherington
2022-10-18Extract ublas_to_gl method.Carl Hetherington
2022-10-18Rename colour_conversion -> xyz_rec709_colour_conversion.Carl Hetherington
2022-08-12Remove misleading comment.Carl Hetherington
Video levels are taken care of by the call to PlayerVideo::image() above, in the non-J2K case, and for J2K we're already in full range so there's no need to convert.
2022-08-12Put the OpenGL XYZ -> RGB gammas the right way round (#2294).Carl Hetherington
1/2.6 is the correction when converting to XYZ, not to RGB.
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