diff options
author | wm4 <wm4@nowhere> | 2017-08-05 13:48:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-08-05 13:48:46 +0200 |
commit | f72a33d2cb223df921967cfe7ae203f882ba6921 (patch) | |
tree | 3571ef752f95e42488bc80de5343d2287a94cbdb /video/out/opengl/osd.h | |
parent | dd096863fa00f1c0c9268932a46ddc321122f552 (diff) | |
download | mpv-f72a33d2cb223df921967cfe7ae203f882ba6921.tar.bz2 mpv-f72a33d2cb223df921967cfe7ae203f882ba6921.tar.xz |
vo_opengl: organize ra PBO flag slightly differently
Instead of having a mutable ra_tex field (and the only one), move the
flag to struct ra, since we have only 2 tex_upload user calls anyway,
and both want the same PBO behavior. (At first I considered making it
a RA_TEX_UPLOAD_ flag, but why bother. PBOs are a terribly GL-specific
thing, so we can't expect a reasonable abstraction of it anyway.)
Diffstat (limited to 'video/out/opengl/osd.h')
-rw-r--r-- | video/out/opengl/osd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/opengl/osd.h b/video/out/opengl/osd.h index 89d52f313e..a0aa104a48 100644 --- a/video/out/opengl/osd.h +++ b/video/out/opengl/osd.h @@ -13,8 +13,6 @@ struct mpgl_osd *mpgl_osd_init(struct ra *ra, struct mp_log *log, struct osd_state *osd); void mpgl_osd_destroy(struct mpgl_osd *ctx); -void mpgl_osd_set_options(struct mpgl_osd *ctx, bool pbo); - void mpgl_osd_generate(struct mpgl_osd *ctx, struct mp_osd_res res, double pts, int stereo_mode, int draw_flags); void mpgl_osd_resize(struct mpgl_osd *ctx, struct mp_osd_res res, int stereo_mode); |