mesa: Implement ARB_clip_control.
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>
Sun, 21 Sep 2014 16:09:22 +0000 (18:09 +0200)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Fri, 24 Oct 2014 17:21:21 +0000 (19:21 +0200)
commit34a3c97fe6d273d68d2ee80386791832824f3211
treee81d1cc8c1f5107e223ff2ea350c3889e8ef52eb
parent6340e609a354770e04192b9b44e91fb06aab0159
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 <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
13 files changed:
src/mapi/glapi/gen/ARB_clip_control.xml [new file with mode: 0644]
src/mapi/glapi/gen/gl_API.xml
src/mesa/main/attrib.c
src/mesa/main/dlist.c
src/mesa/main/extensions.c
src/mesa/main/get.c
src/mesa/main/get_hash_params.py
src/mesa/main/mtypes.h
src/mesa/main/polygon.c
src/mesa/main/state.c
src/mesa/main/tests/dispatch_sanity.cpp
src/mesa/main/viewport.c
src/mesa/main/viewport.h