1. 03 May, 2016 1 commit
  2. 02 Mar, 2016 1 commit
  3. 29 Oct, 2015 2 commits
    • Nanley Chery's avatar
      mesa: Enable ASTC in GLES' [NUM_]COMPRESSED_TEXTURE_FORMATS queries · 65f6caf4
      Nanley Chery authored
      In OpenGL ES, the COMPRESSED_TEXTURE_FORMATS query returns the set of
      supported specific compressed formats. Since ASTC formats fit within
      that category, include them in the set and update the
      NUM_COMPRESSED_TEXTURE_FORMATS query as well.
      
      This enables GLES2-based ASTC dEQP tests to run. See the Bugzilla for
      more info.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92193
      
      Reported-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
      Suggested-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Signed-off-by: Nanley Chery's avatarNanley Chery <nanley.g.chery@intel.com>
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      65f6caf4
    • Nanley Chery's avatar
      mesa/texcompress: Restrict FXT1 format to desktop GL subset · 8090a1c3
      Nanley Chery authored
      In agreement with the extension spec and commit
      dd0eb004
      
      , filter FXT1 formats to the
      desktop GL profiles. Now we no longer advertise such formats as supported
      in an ES context and then throw an INVALID_ENUM error when the client
      tries to use such formats with CompressedTexImage2D.
      
      Fixes the following 26 dEQP tests:
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_invalid_border
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_invalid_border_cube_neg_x
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_invalid_border_cube_neg_y
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_invalid_border_cube_neg_z
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_invalid_border_cube_pos_x
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_invalid_border_cube_pos_y
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_invalid_border_cube_pos_z
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_invalid_size
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_level_max_cube_pos
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_level_max_tex2d
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_level_cube
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_level_tex2d
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_width_height_cube_neg_x
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_width_height_cube_neg_y
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_width_height_cube_neg_z
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_width_height_cube_pos_x
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_width_height_cube_pos_y
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_width_height_cube_pos_z
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_neg_width_height_tex2d
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_width_height_max_cube_neg_x
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_width_height_max_cube_neg_y
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_width_height_max_cube_neg_z
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_width_height_max_cube_pos_x
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_width_height_max_cube_pos_y
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_width_height_max_cube_pos_z
      * dEQP-GLES2.functional.negative_api.texture.compressedteximage2d_width_height_max_tex2d
      
      v2. Use _mesa_is_desktop_gl() (Ilia, Ian)
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Signed-off-by: Nanley Chery's avatarNanley Chery <nanley.g.chery@intel.com>
      8090a1c3
  4. 19 Sep, 2015 2 commits
  5. 31 Aug, 2015 1 commit
  6. 26 Aug, 2015 2 commits
  7. 19 Aug, 2015 1 commit
  8. 01 Apr, 2015 1 commit
  9. 23 Feb, 2015 1 commit
  10. 12 Aug, 2014 3 commits
  11. 27 Jan, 2014 2 commits
    • Mark Mueller's avatar
      mesa: Fix Type A _INT formats to MESA_FORMAT naming standard · f5bd5568
      Mark Mueller authored
      Replace Type A _INT formats names with _SINT to match naming spec,
      and update type C formats as follows:
          s/MESA_FORMAT_R_INT8\b/MESA_FORMAT_R_SINT8/g
          s/MESA_FORMAT_R_INT16\b/MESA_FORMAT_R_SINT16/g
          s/MESA_FORMAT_R_INT32\b/MESA_FORMAT_R_SINT32/g
          s/MESA_FORMAT_RG_INT8\b/MESA_FORMAT_RG_SINT8/g
          s/MESA_FORMAT_RG_INT16\b/MESA_FORMAT_RG_SINT16/g
          s/MESA_FORMAT_RG_INT32\b/MESA_FORMAT_RG_SINT32/g
          s/MESA_FORMAT_RGB_INT8\b/MESA_FORMAT_RGB_SINT8/g
          s/MESA_FORMAT_RGB_INT16\b/MESA_FORMAT_RGB_SINT16/g
          s/MESA_FORMAT_RGB_INT32\b/MESA_FORMAT_RGB_SINT32/g
          s/MESA_FORMAT_RGBA_INT8\b/MESA_FORMAT_RGBA_SINT8/g
          s/MESA_FORMAT_RGBA_INT16\b/MESA_FORMAT_RGBA_SINT16/g
          s/MESA_FORMAT_RGBA_INT32\b/MESA_FORMAT_RGBA_SINT32/g
          s/\bMESA_FORMAT_RED_RGTC1\b/MESA_FORMAT_R_RGTC1_UNORM/g
          s/\bMESA_FORMAT_SIGNED_RED_RGTC1\b/MESA_FORMAT_R_RGTC1_SNORM/g
          s/\bMESA_FORMAT_RG_RGTC2\b/MESA_FORMAT_RG_RGTC2_UNORM/g
          s/\bMESA_FORMAT_SIGNED_RG_RGTC2\b/MESA_FORMAT_RG_RGTC2_SNORM/g
          s/\bMESA_FORMAT_L_LATC1\b/MESA_FORMAT_L_LATC1_UNORM/g
          s/\bMESA_FORMAT_SIGNED_L_LATC1\b/MESA_FORMAT_L_LATC1_SNORM/g
          s/\bMESA_FORMAT_LA_LATC2\b/MESA_FORMAT_LA_LATC2_UNORM/g
          s/\bMESA_FORMAT_SIGNED_LA_LATC2\b/MESA_FORMAT_LA_LATC2_SNORM/g
      f5bd5568
    • Mark Mueller's avatar
      mesa: change gl_format to mesa_format · 71fe9437
      Mark Mueller authored
      s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
      71fe9437
  12. 15 Jan, 2014 1 commit
    • Ian Romanick's avatar
      mesa: Add COMPRESSED_RGBA_S3TC_DXT1_EXT to COMPRESSED_TEXTURE_FORMATS for GLES · 0a75909b
      Ian Romanick authored
      
      
      The ES and desktop GL specs diverge here.  Yay!
      
      In desktop OpenGL, the driver can perform online compression of
      uncompressed texture data.  GL_NUM_COMPRESSED_TEXTURE_FORMATS and
      GL_COMPRESSED_TEXTURE_FORMATS give the application a list of formats
      that it could ask the driver to compress with some expectation of
      quality.  The GL_ARB_texture_compression spec calls this "suitable for
      general-purpose usage."  As noted above, this means
      GL_COMPRESSED_RGBA_S3TC_DXT1_EXT is not included in the list.
      
      In OpenGL ES, the driver never performs compression.
      GL_NUM_COMPRESSED_TEXTURE_FORMATS and GL_COMPRESSED_TEXTURE_FORMATS give
      the application a list of formats that the driver can receive from the
      application.  It is the *complete* list of formats.  The
      GL_EXT_texture_compression_s3tc spec says:
      
          "New State for OpenGL ES 2.0.25 and 3.0.2 Specifications
      
              The queries for NUM_COMPRESSED_TEXTURE_FORMATS and
              COMPRESSED_TEXTURE_FORMATS include COMPRESSED_RGB_S3TC_DXT1_EXT,
              COMPRESSED_RGBA_S3TC_DXT1_EXT, COMPRESSED_RGBA_S3TC_DXT3_EXT,
              and COMPRESSED_RGBA_S3TC_DXT5_EXT."
      
      Note that the addition is only to the OpenGL ES specification!
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      See-also: http://lists.freedesktop.org/archives/mesa-dev/2013-October/047439.html
      
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      Cc: "10.0" <mesa-stable@lists.freedesktop.org>
      0a75909b
  13. 21 Aug, 2013 2 commits
  14. 05 Jun, 2013 1 commit
  15. 30 Apr, 2013 1 commit
  16. 24 Apr, 2013 3 commits
    • Kenneth Graunke's avatar
      mesa: Restore 78-column wrapping of license text in C-style comments. · 3d8d5b29
      Kenneth Graunke authored
      
      
      The previous commit introduced extra words, breaking the formatting.
      
      This text transformation was done automatically via the following shell
      command:
      $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript
      
      where 'vimscript' is a file containing:
      /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * '
      :wq
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      3d8d5b29
    • Kenneth Graunke's avatar
      mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability. · 96ff2edc
      Kenneth Graunke authored
      This brings the license text in line with the MIT License as published
      on the Open Source Initiative website:
      
      http://opensource.org/licenses/mit-license.php
      
      
      
      Generated automatically be the following shell command:
      $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
        sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {}
      
      This introduces some wrapping issues, to be fixed in the next commit.
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      96ff2edc
    • Kenneth Graunke's avatar
      mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text. · dd404bc9
      Kenneth Graunke authored
      
      
      Generated automatically be the following shell command:
      $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
        sed -i 's/BRIAN PAUL/THE AUTHORS/' {}
      
      The intention here is to protect all authors, not just Brian Paul.  I
      believe that was already the sensible interpretation, but spelling it
      out is probably better.
      
      More practically, it also prevents people from accidentally copy &
      pasting the license into a new file which says Brian is not liable when
      he isn't even one of the authors.
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      dd404bc9
  17. 17 Apr, 2013 1 commit
  18. 24 Jan, 2013 1 commit
  19. 26 Dec, 2012 1 commit
  20. 14 Dec, 2012 2 commits
  21. 08 Dec, 2012 10 commits