Re: [Piglit] [PATCH 08/23] util, tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums

2012-10-03 Thread Kenneth Graunke
On 09/28/2012 01:48 PM, Chad Versace wrote: I'm trying to transition Piglit from using GLUT to using Waffle. That requires either killing or wrapping all GLUT code. Define enum piglit_gl_visual in piglit-framework.h, of which each value matches its corresponding GLUT visual enum. Do the

Re: [Piglit] [PATCH 08/23] util, tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums

2012-10-03 Thread Chad Versace
On 10/03/2012 04:43 PM, Kenneth Graunke wrote: On 09/28/2012 01:48 PM, Chad Versace wrote: /** + * A bitmask of these enums specifies visual attributes for the test's window. + * + * Each enum has the same value of its corresponding GLUT enum. That is, for + * each X,

Re: [Piglit] [PATCH 08/23] util, tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums

2012-10-03 Thread Kenneth Graunke
On 10/03/2012 04:50 PM, Chad Versace wrote: On 10/03/2012 04:43 PM, Kenneth Graunke wrote: On 09/28/2012 01:48 PM, Chad Versace wrote: /** + * A bitmask of these enums specifies visual attributes for the test's window. + * + * Each enum has the same value of its corresponding GLUT enum.

[Piglit] [PATCH 08/23] util, tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums

2012-09-28 Thread Chad Versace
I'm trying to transition Piglit from using GLUT to using Waffle. That requires either killing or wrapping all GLUT code. Define enum piglit_gl_visual in piglit-framework.h, of which each value matches its corresponding GLUT visual enum. Do the following substitution in all util and test sources: