tests,util: Wrap glutPostRedisplay with piglit_post_redisplay
I'm trying to transition Piglit from using GLUT to using Waffle. This requires killing all uses of GLUT functions, one-by-one. This patch replaces all-but-one instance of glutPostRedisplay with a new wrapper, piglit_post_redisplay. The sole remaining test that uses glutPostRedisplay is windowoverlap; but that test doesn't use piglit-framework, anyway. Since piglit_escape_exit_key() calls piglit_post_redisplay() which is defined in piglitutil_gl*, we must now link piglitutil_gl into piglitglxutil to prevent link errors. Acked-by:Eric Anholt <eric@anholt.net> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-and-tested-by:
Jordan Justen <jordan.l.justen@intel.com> Tested-by:
Paul Berry <stereotype441@gmail.com> Signed-off-by:
Chad Versace <chad.versace@linux.intel.com>
Showing
Please register or sign in to comment