summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/formats.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-02-17 17:20:33 +0100
committerwm4 <wm4@nowhere>2017-02-17 17:26:01 +0100
commitd8bf000d29a5868636cbb16aef007b9487d123e2 (patch)
treee5ca9fe5fe518c1c8e6fe46819c205f6372d3103 /video/out/opengl/formats.h
parente59e917e71d6e2220f5a6f751f604516ab3e6008 (diff)
downloadmpv-d8bf000d29a5868636cbb16aef007b9487d123e2.tar.bz2
mpv-d8bf000d29a5868636cbb16aef007b9487d123e2.tar.xz
vo_opengl: hwdec_vaegl: use new format setup function
Plus add a helper.
Diffstat (limited to 'video/out/opengl/formats.h')
-rw-r--r--video/out/opengl/formats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/formats.h b/video/out/opengl/formats.h
index 5eed1ef2d4..9b20c3fa26 100644
--- a/video/out/opengl/formats.h
+++ b/video/out/opengl/formats.h
@@ -51,6 +51,7 @@ const struct gl_format *gl_find_uint_format(GL *gl, int bytes_per_component,
int n_components);
const struct gl_format *gl_find_float16_format(GL *gl, int n_components);
int gl_format_type(const struct gl_format *format);
+bool gl_format_is_regular(const struct gl_format *format);
GLenum gl_integer_format_to_base(GLenum format);
bool gl_is_integer_format(GLenum format);
int gl_component_size(GLenum type);