diff options
author | wm4 <wm4@nowhere> | 2017-08-14 19:57:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-08-14 19:57:44 +0200 |
commit | df8cc84f4782334015393b2dee669830d1cca516 (patch) | |
tree | ba0889281df8e29619a5c5ed86c79cd2a6f4789e /video/out/opengl/video.h | |
parent | 68201f4591bd07c7d7027d50fdb6cc5500c7382c (diff) | |
download | mpv-df8cc84f4782334015393b2dee669830d1cca516.tar.bz2 mpv-df8cc84f4782334015393b2dee669830d1cca516.tar.xz |
vo_opengl: remove DR image layouting code to renderer
No reason to have it in a higher level.
Diffstat (limited to 'video/out/opengl/video.h')
-rw-r--r-- | video/out/opengl/video.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h index 915994f435..fd27c7a1bc 100644 --- a/video/out/opengl/video.h +++ b/video/out/opengl/video.h @@ -189,7 +189,8 @@ void gl_video_set_hwdec(struct gl_video *p, struct ra_hwdec *hwdec); struct vo; void gl_video_configure_queue(struct gl_video *p, struct vo *vo); -void *gl_video_dr_alloc_buffer(struct gl_video *p, size_t size); -void gl_video_dr_free_buffer(struct gl_video *p, void *ptr); +struct mp_image *gl_video_get_image(struct gl_video *p, int imgfmt, int w, int h, + int stride_align); + #endif |