1. 10 Oct, 2012 1 commit
  2. 03 Oct, 2012 4 commits
  3. 01 Oct, 2012 2 commits
  4. 29 Sep, 2012 1 commit
  5. 26 Sep, 2012 1 commit
    • Brian Paul's avatar
      piglit: add piglit_rgbw_image() helper · 7c8fe337
      Brian Paul authored
      Create an image buffer with red, green, blue, white quadrants.
      This code was extracted out of the piglit_rgbw_texture() function.
      The piglit_rgbw_texture() function is then rewritten to use the new
      piglit_rgbw_image() function.
      7c8fe337
  6. 22 Sep, 2012 1 commit
  7. 20 Sep, 2012 1 commit
  8. 18 Sep, 2012 1 commit
  9. 14 Sep, 2012 1 commit
  10. 05 Sep, 2012 3 commits
    • Blaž Tomažič's avatar
      cmake: Build OpenCL utilities and framework · 9ffd30f4
      Blaž Tomažič authored
      Add BUILD_CL_TESTS option to cmake configuration and build OpenCL
      utilities and framework to library piglitutil_cl.
      Signed-off-by: Blaž Tomažič's avatarBlaž Tomažič <blaz.tomazic@gmail.com>
      9ffd30f4
    • Blaž Tomažič's avatar
      util-cl: Add OpenCL testing framework · 5ce70194
      Blaž Tomažič authored
      The framework is composed of 1 main part and 3 different sub-parts. Each
      test is linked to this framework and calls the piglit_cl_framework_run
      function.
      
      The main part is in piglit-framework-cl.* files. The header contains
      definitions to implement each specific test type. The source file's
      piglit_cl_framework_run function is called by each test of any type.
      This file then parses program and environment variables, and depending
      on test configuration, runs the test on selected platforms and devices.
      
      The other 3 sub-parts are tests types implementations: Custom, API and
      Program. Each one is used to create tests that benefit from different
      functionality. Here each header file contains definitions to implement
      an OpenCL test and each source file handles the specific options used in
      test configurtation.
      Signed-off-by: Blaž Tomažič's avatarBlaž Tomažič <blaz.tomazic@gmail.com>
      5ce70194
    • Blaž Tomažič's avatar
      util-cl: Add utilities to support OpenCL tests · e51ff1b6
      Blaž Tomažič authored
      piglit-util-cl.* adds functions for faster and easier writing of OpenCL
      programs. Most of the functions return NULL or false on errors and print
      the error to stderr, others print an error and exit the program.
      
      piglit-util-cl-enum.* files add enum definitions (some of them also by
      version) and their string representations.
      Signed-off-by: Blaž Tomažič's avatarBlaž Tomažič <blaz.tomazic@gmail.com>
      e51ff1b6
  11. 24 Aug, 2012 2 commits
  12. 23 Aug, 2012 1 commit
    • Chad Versace's avatar
      cmake,waffle: Bump requirement to waffle>=1.0 · a408cfab
      Chad Versace authored
      If piglit is configured to use waffle, then use pkgconfig to require
      waffle>=1.0. Also, replace the custom cmake WAFFLE variables with those
      provided by the pkg_check_modules.
      
      Waffle 1.0 moved its header directory from $prefix/include/waffle to
      $prefix/include/waffle-1. So add '-I $prefix/include/waffle-1' to the
      CFLAGS and update the #include directives appropriately.
      Signed-off-by: default avatarChad Versace <chad@chad.versace.us>
      a408cfab
  13. 10 Aug, 2012 1 commit
    • Jose Fonseca's avatar
      Fix build on MinGW. · a086d33d
      Jose Fonseca authored
      MinGW has many Unix headers, but unfortunately aren't complete.
      
      This fixes build failure due to missing S_ISLNK() macro.
      a086d33d
  14. 31 Jul, 2012 2 commits
  15. 26 Jul, 2012 1 commit
  16. 20 Jul, 2012 1 commit
  17. 16 Jul, 2012 5 commits
  18. 08 Jul, 2012 1 commit
  19. 06 Jul, 2012 2 commits
  20. 30 Jun, 2012 1 commit
  21. 28 Jun, 2012 6 commits
  22. 25 Jun, 2012 1 commit
    • Paul Berry's avatar
      util: Make a separate function to compare in-memory images. · e51de44e
      Paul Berry authored
      This patch splits off a new piglit-util function,
      piglit_compare_images_color(), from the existing
      piglit_probe_image_color() function.  The new function compares two
      images in memory, so that the caller can take responsibility for
      calling glReadPixels().
      
      In addition, this patch creates a function
      piglit_compute_probe_tolerance(), which detemines the correct
      tolerance thresholds to use when comparing images.
      
      These functions will be needed in order to test proper behaviour of
      MSAA with different buffer formats, since the MSAA format test needs
      to be able to read the rendered image using glReadPixels, make
      adjustments to it in memory, and then compare the results.
      Reviewed-by: Anuj Phogat's avatarAnuj Phogat <anuj.phogat@gmail.com>
      e51de44e