[Mesa-dev] [PATCH 0/4] Cleanup viewport handling past clip control.
Mathias.Froehlich at gmx.net
Mathias.Froehlich at gmx.net
Mon Mar 30 23:37:32 PDT 2015
From: Mathias Froehlich <Mathias.Froehlich at gmx.net>
Hi,
The series cleans up viewport handling a bit. Make use of the utility
functions provided with the clip control implementation in the drivers.
Move the _WindowMap matrix into the TNL state which is the only
remaining user of that matrix and simplify gl_viewport_attrib handling.
I did not see any regression with piglit quick.test on i965 and on swrast.
I cannot test the radeon code that I touched since I do not have such
hardware available.
Please review!
Thanks
Mathias
Mathias Froehlich (4):
i965: Make use of _mesa_get_viewport_xform.
radeon: Make use of _mesa_get_viewport_xform.
tnl: Maintain the _WindowMap matrix in TNLcontext.
mesa: Remove the _WindowMap from gl_viewport_attrib.
src/mesa/drivers/dri/i965/brw_sf_state.c | 17 +++++-----
src/mesa/drivers/dri/i965/gen6_viewport_state.c | 17 +++++-----
src/mesa/drivers/dri/i965/gen7_viewport_state.c | 17 +++++-----
src/mesa/drivers/dri/i965/gen8_viewport_state.c | 17 +++++-----
src/mesa/drivers/dri/r200/r200_state.c | 17 +++++-----
src/mesa/drivers/dri/radeon/radeon_state.c | 17 +++++-----
src/mesa/main/context.c | 12 ++-----
src/mesa/main/mtypes.h | 1 -
src/mesa/main/state.c | 25 --------------
src/mesa/main/viewport.c | 44 ++-----------------------
src/mesa/main/viewport.h | 3 --
src/mesa/swrast_setup/ss_context.c | 5 +--
src/mesa/tnl/t_context.c | 12 +++++++
src/mesa/tnl/t_context.h | 1 +
src/mesa/tnl/t_rasterpos.c | 13 ++++----
15 files changed, 80 insertions(+), 138 deletions(-)
--
2.1.0
More information about the mesa-dev
mailing list