1. 10 Nov, 2017 6 commits
    • Brian Paul's avatar
      cmake: also install Windows manifest files · 9ff39d33
      Brian Paul authored
      The previous patch (5087aa3f "cmake: create Win10 manifest files
      for particular executables") didn't copy the manifest files when doing
      'make install'.
      This fixes that.  It requires CMake 3.0 or later.  Thanks to Brad King
      for helping out!
      Reviewed-by: Jose Fonseca's avatarJose Fonseca <jfonseca@vmware.com>
    • Brian Paul's avatar
      framework: decrement argc in delete_arg() · 134d8f6e
      Brian Paul authored
      So it doesn't have to be done after every call to delete_arg().
      Reviewed-by: Charmaine Lee's avatarCharmaine Lee <charmainel@vmware.com>
    • Brian Paul's avatar
      all.py: use gl_extension_supported() to omit some test groups · 6da34024
      Brian Paul authored
      Some newer extensions like GL_ARB_texture_gather, GL_ARB_gpu_shader5
      and GL_ARB_gpu_shader_fp64 aren't supported by some drivers.
      So if they're not supported by the driver, don't bother adding them
      to the test list.
      Reviewed-by: Charmaine Lee's avatarCharmaine Lee <charmainel@vmware.com>
    • Brian Paul's avatar
      all.py: filter directories traversed to find shader tests · a28ef33f
      Brian Paul authored
      The script searches all files under tests/ and generated_tests/ for
      files ending in ".shader_test".  For each match, a ShaderTest() object
      is created and added to the test list.
      For GL extensions or versions not supported by the driver, this is
      wasted effort.
      This patch looks for directories under spec/ and tries to determine if
      the extension/feature is actually supported by the current driver.  If
      not, it's skipped.
      This, with other recent optimizations, reduces Piglit startup time for a
      Windows VM from nearly 5 minutes to 45 seconds.
      - replace os.path.walk() with my own walk_dir_tree() which avoids
        decending into subdirs when the parent directory/feature is not supported.
      - Use env var to enable/disable shader directory filtering
      - Also, fix naming conventions and minor formatting issues.
      - minor Piglit style changes, per Dylan
      - handle ES cases in is_feature_directory_supported()
      Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
    • Brian Paul's avatar
      framework: fix wflinfo issues in opengl module · a1f430ce
      Brian Paul authored
      1. If the PIGLIT_PLATFORM string is 'mixed_glx_egl' we need to convert
      it to 'glx' so that wflinfo understands it.
      2. Look in the piglit bin/ directory for the wflinfo.exe program.
      When we build piglit, we copy wflinfo.exe into the bin/ directory for
      packaging to avoid having to install waffle on target machines.  If
      it's not found there, assume it's in our PATH just like before.
      v2: Pass env argument to subprocess.check_output() instead of using
      the find_wflinfo() function, per Dylan.
      Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
    • Brian Paul's avatar
      framework: move WflInfo class into new wflinfo.py module · edc41a1d
      Brian Paul authored
      Reduce the clutter in opengl.py
      Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
  2. 09 Nov, 2017 10 commits
  3. 08 Nov, 2017 1 commit
  4. 06 Nov, 2017 2 commits
  5. 03 Nov, 2017 1 commit
  6. 01 Nov, 2017 1 commit
  7. 31 Oct, 2017 19 commits