summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.h
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-09-16 13:38:36 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-09-22 20:42:30 -0400
commit411a72d4a2eb69e45701c5e19049f6c543a78f24 (patch)
tree5283ec0bd5db29475253904da2193f6d31547156 /src/mesa/main/viewport.h
parente66a2b879b73bf48800fec7353dafe8fc693ecdb (diff)
downloadexternal_mesa3d-411a72d4a2eb69e45701c5e19049f6c543a78f24.zip
external_mesa3d-411a72d4a2eb69e45701c5e19049f6c543a78f24.tar.gz
external_mesa3d-411a72d4a2eb69e45701c5e19049f6c543a78f24.tar.bz2
mesa: add new entrypoints for GL_OES_viewport_array
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/main/viewport.h')
-rw-r--r--src/mesa/main/viewport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/viewport.h b/src/mesa/main/viewport.h
index b0675db..3951319 100644
--- a/src/mesa/main/viewport.h
+++ b/src/mesa/main/viewport.h
@@ -58,8 +58,14 @@ extern void GLAPIENTRY
_mesa_DepthRangeArrayv(GLuint first, GLsizei count, const GLclampd * v);
extern void GLAPIENTRY
+_mesa_DepthRangeArrayfvOES(GLuint first, GLsizei count, const GLfloat * v);
+
+extern void GLAPIENTRY
_mesa_DepthRangeIndexed(GLuint index, GLclampd n, GLclampd f);
+extern void GLAPIENTRY
+_mesa_DepthRangeIndexedfOES(GLuint index, GLfloat n, GLfloat f);
+
extern void
_mesa_set_depth_range(struct gl_context *ctx, unsigned idx,
GLclampd nearval, GLclampd farval);