diff options
author | 2017-08-19 04:33:40 +0200 | |
---|---|---|
committer | 2017-08-22 09:55:49 +0200 | |
commit | 09c501a40eed7cb05c73fc30ea814d1d256ac0eb (patch) | |
tree | 2508bf03c8a22b098d955ddc7b3abc328d089296 /video/out/opengl/osd.h | |
parent | 371000108acb40a99412316fe1bba2883441c38a (diff) |
vo_opengl: refactor tex_upload to ra_buf_pool
Also refactors the usage of tex_upload to make ra_tex_upload_pbo a
RA-internal thing again.
ra_buf_pool has the main advantage of being dynamically sized depending
on buf_poll, so for OpenGL we'll end up only using one buffer (when not
persistently mapping) - while for vulkan we'll use as many as necessary,
which depends on the swapchain depth anyway.
Diffstat (limited to 'video/out/opengl/osd.h')
-rw-r--r-- | video/out/opengl/osd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/osd.h b/video/out/opengl/osd.h index b5618ce5f0..6c2b886de3 100644 --- a/video/out/opengl/osd.h +++ b/video/out/opengl/osd.h @@ -9,7 +9,7 @@ #include "sub/osd.h" struct mpgl_osd *mpgl_osd_init(struct ra *ra, struct mp_log *log, - struct osd_state *osd, bool want_pbo); + struct osd_state *osd); void mpgl_osd_destroy(struct mpgl_osd *ctx); void mpgl_osd_generate(struct mpgl_osd *ctx, struct mp_osd_res res, double pts, |