From 849480d0c9d5ef76bd3296034b2ad5019fb9c21d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 2 Sep 2016 15:59:40 +0200 Subject: vo_opengl: deprecate sub-options, add them as global options vo_opengl sub-option were always rather annoying to handle. It seems better to make them global options instead. This is simpler and easier to use. The only disadvantage we are aware of is that it's not clear that many/all of these new global options work with vo_opengl only. --vo=opengl-hq is also deprecated. There is extensive compatibility with the old behavior. One exception is that --vo-defaults will not apply to opengl-hq (though with opengl it still works). vo-cmdline is also dysfunctional and will be removed in a following commit. These changes also affect opengl-cb. The update mechanism is still rather inefficient: it requires syncing with the VO after each option change, rather than batching updates. There's also no granularity (video.c just updates "everything", and if auto-ICC profiles are enabled, vo_opengl.c will fetch them on each update). Most of the manpage changes were done by Niklas Haas . --- video/out/vo.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'video/out/vo.c') diff --git a/video/out/vo.c b/video/out/vo.c index b8b55ca58e..ee554f0e6d 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -48,7 +48,6 @@ extern const struct vo_driver video_out_x11; extern const struct vo_driver video_out_vdpau; extern const struct vo_driver video_out_xv; extern const struct vo_driver video_out_opengl; -extern const struct vo_driver video_out_opengl_hq; extern const struct vo_driver video_out_opengl_cb; extern const struct vo_driver video_out_null; extern const struct vo_driver video_out_image; @@ -105,7 +104,6 @@ const struct vo_driver *const video_out_drivers[] = &video_out_lavc, #endif #if HAVE_GL - &video_out_opengl_hq, &video_out_opengl_cb, #endif NULL @@ -188,7 +186,6 @@ const struct m_obj_list vo_obj_list = { .description = "video outputs", .aliases = { {"gl", "opengl"}, - {"gl3", "opengl-hq"}, {0} }, .allow_unknown_entries = true, -- cgit v1.2.3