tnl: Maintain the _WindowMap matrix in TNLcontext v2.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Sun, 29 Mar 2015 16:57:45 +0000 (18:57 +0200)
committerMathias Froehlich <Mathias.Froehlich@gmx.net>
Sun, 5 Apr 2015 06:01:47 +0000 (08:01 +0200)
commit29e6c7dbc5bacf4f2b741333ac56469a00164e65
treedce4396bf2dd349906b3c5120d11db4426b98695
parent472913ea7563e136b9ad3d33111925147a044a39
tnl: Maintain the _WindowMap matrix in TNLcontext v2.

This is the only real user of _WindowMap which has the depth
buffer scaling multiplied in. Maintain the _WindowMap of the
one and only viewport inside TNLcontext.

v2:
Remove unneeded parentheses.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
src/mesa/swrast_setup/ss_context.c
src/mesa/tnl/t_context.c
src/mesa/tnl/t_context.h
src/mesa/tnl/t_rasterpos.c