1. 23 Jun, 2014 1 commit
    • Chad Versace's avatar
      dispatch: Use piglit-dispatch for GLES1 · 9bfd7de5
      Chad Versace authored
      After having migrated piglit-dispatch to the Khronos XML,
      moving GLES1 to piglit-dispatch was easy. This patch:
        1. Fixes gl_wrap.h to include piglit-dispatch-gen.h instead of
        2. Deletes some ugly macro workarounds for GLES1 that piglit-dispatch
        3. Add piglit-dispatch*.c to libpiglitutil_gles1 in the CMake.
        4. Call piglit_dispatch_init(PIGLIT_DISPATCH_ES1).
      Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
  2. 26 Nov, 2013 1 commit
  3. 17 Jun, 2013 1 commit
  4. 30 Nov, 2012 1 commit
  5. 10 Oct, 2012 3 commits
  6. 06 Sep, 2012 1 commit
  7. 05 Sep, 2012 3 commits
  8. 23 Aug, 2012 2 commits
  9. 16 Jul, 2012 1 commit
  10. 24 May, 2012 4 commits
  11. 23 Mar, 2012 3 commits
    • Paul Berry's avatar
      piglit-dispatch: Switch to using piglit-dispatch instead of GLEW. · 8b7badfc
      Paul Berry authored
      Previous patches set up the piglit-dispatch infrastructure but did not
      use it.  This patch enables piglit-dispatch and uses it instead of
      - No piglit regressions on Intel SandyBridge (Linux) or the nVidia
        binary blob for Linux.
      - One regression on Mac OSX: after this patch,
        shaders/gpu_shader4_attribs incorrectly skips.  This happens because
        the functions tested by shaders/gpu_shader4_attribs are defined in
        both EXT_gpu_shader4 and NV_vertex_program4 extensions.
        Piglit-dispatch is not yet capable of understanding that a function
        might be defined with the same name in multiple extension specs
        (because it is based on the gl.spec file from www.opengl.org, which
        fails to encode this information).  I plan to address this in a
        future patch.
      - Spot checked on Microsoft Windows.
      v2: Remove redundant includes of GL headers.
    • Chad Versace's avatar
      cmake: Replace calls to add_{executable,library} with wrappers · ba75b97a
      Chad Versace authored
          add_executable -> piglit_add_executable
          add_library -> piglit_add_library
      For now, each wrapper function trivially wraps the function it replaces,
      and so this patch changes no behavior.
      This commit was created using the command:
         sed -i -e "s/add_executable/piglit_add_executable/" -e "s/add_library/piglit_add_library/" $(find src/ tests/ -name "*CMakeLists*")
      Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
    • Paul Berry's avatar
      Fixup APIENTRY macro on Apple · 85240ae1
      Paul Berry authored
      The version of glut.h that ships on Mac OSX undefines the APIENTRY
      macro.  APIENTRY is used on Windows builds to specify that GL
      functions use the __stdcall calling convention, so it needs to be
      defined to be the empty string on Mac OSX.  Previously this hasn't
      been a problem because all of the GL function prototypes and typedefs
      are finished by the time glut.h is included.  However, when we switch
      to using piglit-dispatch instead of GLEW, there will be at least one
      compilation unit (piglit-dispatch.c) which needs to use the APIENTRY
      macro after including glut.h.
      This patch works around the problem by redefining APIENTRY to the
      correct value (which is the empty string) after including glut.h on
      Apple builds.
  12. 11 Jan, 2012 1 commit
  13. 09 Sep, 2011 2 commits
  14. 14 Mar, 2011 1 commit
    • Jose Fonseca's avatar
      s/WIN32/_WIN32/ · f1377213
      Jose Fonseca authored
      The proper macro for Windows operating systems is _WIN32 and not WIN32.
      Thanks to Vinson Lee to remind me of that.
  15. 13 Mar, 2011 1 commit
  16. 26 Feb, 2011 9 commits