aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.h
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2014-09-21 18:09:22 +0200
committerMathias Fröhlich <[email protected]>2014-10-24 19:21:21 +0200
commit34a3c97fe6d273d68d2ee80386791832824f3211 (patch)
treee81d1cc8c1f5107e223ff2ea350c3889e8ef52eb /src/mesa/main/viewport.h
parent6340e609a354770e04192b9b44e91fb06aab0159 (diff)
mesa: Implement ARB_clip_control.
Implement the mesa parts of ARB_clip_control. So far no driver enables this. v3: Restrict getting clip control state to the availability of ARB_clip_control. Move to transformation state. Handle clip control state with the GL_TRANSFORM_BIT. Move _FrontBit update into state.c. Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Froehlich <[email protected]>
Diffstat (limited to 'src/mesa/main/viewport.h')
-rw-r--r--src/mesa/main/viewport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/viewport.h b/src/mesa/main/viewport.h
index 514ff1067ff..426e194bd9b 100644
--- a/src/mesa/main/viewport.h
+++ b/src/mesa/main/viewport.h
@@ -71,6 +71,9 @@ _mesa_init_viewport(struct gl_context *ctx);
extern void
_mesa_free_viewport_data(struct gl_context *ctx);
+extern void GLAPIENTRY
+_mesa_ClipControl(GLenum origin, GLenum depth);
+
extern void
_mesa_get_viewport_xform(struct gl_context *ctx, unsigned i,
double scale[3], double translate[3]);