-
Lina Versace authored
I'm trying to transition Piglit from using GLUT to using Waffle. This requires killing all uses of GLUT functions, one-by-one. Two remaining tests called glutSwapBuffers directly, read-front and texline, for which piglit_preset_results is unsuitable. These tests call glReadPixels on the front buffer. This patch replaces those calls with a new wrapper, piglit_swap_buffers. Reviewed-and-tested-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Paul Berry <stereotype441@gmail.com> Acked-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
3168c103