1. 03 May, 2016 2 commits
  2. 19 Sep, 2015 1 commit
  3. 01 Sep, 2015 2 commits
  4. 26 Aug, 2015 1 commit
  5. 25 Aug, 2015 1 commit
  6. 24 Aug, 2015 1 commit
  7. 19 Aug, 2015 1 commit
  8. 10 Aug, 2015 1 commit
  9. 19 Jan, 2015 1 commit
  10. 12 Jan, 2015 6 commits
  11. 17 Sep, 2014 2 commits
  12. 12 Aug, 2014 1 commit
    • Neil Roberts's avatar
      mesa: Add the format enums for BPTC-compressed images · 7e78033c
      Neil Roberts authored
      
      
      This adds the following four Mesa image format enums which correspond to the
      four BPTC compressed texture formats:
      
       MESA_FORMAT_BPTC_RGBA_UNORM
       MESA_FORMAT_BPTC_SRGB_ALPHA_UNORM
       MESA_FORMAT_BPTC_RGB_SIGNED_FLOAT
       MESA_FORMAT_BPTC_RGB_UNSIGNED_FLOAT
      
      It also updates the format information functions to handle these and the
      corresponding GL enums.
      
      v2: Also modify _mesa_get_format_color_encoding, _mesa_get_srgb_format_linear
          and _mesa_get_uncompressed_format
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      7e78033c
  13. 11 Aug, 2014 1 commit
  14. 05 Aug, 2014 2 commits
  15. 30 Jun, 2014 1 commit
    • Jason Ekstrand's avatar
      Remove the ATI_envmap_bumpmap extension · 4000c011
      Jason Ekstrand authored
      
      
      As far as I can tell, the Intel mesa driver is the only driver in the world
      still supporting this legacy extension.  If someone wants to do bump
      mapping, they can use shaders.
      Signed-off-by: Jason Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
      Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> [v1]
      Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> [v2]
      Reviewed-by: Ian Romanick <idr@freedesktop.org> [v3]
      4000c011
  16. 17 Apr, 2014 1 commit
  17. 24 Mar, 2014 1 commit
  18. 10 Mar, 2014 3 commits
  19. 07 Mar, 2014 1 commit
  20. 06 Mar, 2014 1 commit
  21. 03 Mar, 2014 1 commit
    • Brian Paul's avatar
      mesa: update packed format layout comments · 657436da
      Brian Paul authored
      Update the comments for the packed formats to accurately reflect the
      layout of the bits in the pixel.  For example, for the packed format
      MESA_FORMAT_R8G8B8A8, R is in the least significant position while A
      is in the most-significant position of the 32-bit word.
      
      v2: also fix MESA_FORMAT_A1B5G5R5_UNORM, per Roland.
      657436da
  22. 28 Feb, 2014 1 commit
  23. 10 Feb, 2014 1 commit
    • Kenneth Graunke's avatar
      mesa: Fix MESA_FORMAT_Z24_UNORM_S8_UINT vs. X8_UINT mix-up. · a487ef87
      Kenneth Graunke authored
      In commit eeed49f5
      
      , Mark accidentally
      renamed MESA_FORMAT_S8_Z24 to MESA_FORMAT_Z24_UNORM_X8_UINT and
      MESA_FORMAT_X8_Z24 to MESA_FORMAT_Z24_UNORM_S8_UINT, reversing their
      sense.  The commit message was correct, but what sed commands actually
      got run didn't match that.
      
      This patch swaps the two enum names, reversing them.  This should undo
      the damage, but might break things if people have manually fixed a few
      instances in the meantime...
      
      Mark's commit also failed to mention renames:
      s/MESA_FORMAT_ARGB2101010_UINT\b/MESA_FORMAT_B10G10R10A2_UINT/g
      s/MESA_FORMAT_ABGR2101010\b/MESA_FORMAT_R10G10B10A2_UNORM/g
      but those seem okay.
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      a487ef87
  24. 05 Feb, 2014 1 commit
  25. 27 Jan, 2014 5 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: Fix MESA_FORMAT names containg SIGNED · 8b47b6bc
      Mark Mueller authored
      Update comments. Replace format names containing SIGNED with
      SNORM appended w/decoration per the format name spec:
      
          s/MESA_FORMAT_SIGNED_R8\b/MESA_FORMAT_R_SNORM8/g
          s/MESA_FORMAT_SIGNED_RG88_REV\b/MESA_FORMAT_R8G8_SNORM/g
          s/MESA_FORMAT_SIGNED_RGBX8888\b/MESA_FORMAT_X8B8G8R8_SNORM/g
          s/MESA_FORMAT_SIGNED_RGBA8888\b/MESA_FORMAT_A8B8G8R8_SNORM/g
          s/MESA_FORMAT_SIGNED_RGBA8888_REV\b/MESA_FORMAT_R8G8B8A8_SNORM/g
          s/MESA_FORMAT_SIGNED_R16\b/MESA_FORMAT_R_SNORM16/g
          s/MESA_FORMAT_SIGNED_GR1616\b/MESA_FORMAT_R16G16_SNORM/g
          s/MESA_FORMAT_SIGNED_RGB_16\b/MESA_FORMAT_RGB_SNORM16/g
          s/MESA_FORMAT_SIGNED_RGBA_16\b/MESA_FORMAT_RGBA_SNORM16/g
          s/MESA_FORMAT_SIGNED_A8\b/MESA_FORMAT_A_SNORM8/g
          s/MESA_FORMAT_SIGNED_I8\b/MESA_FORMAT_I_SNORM8/g
          s/MESA_FORMAT_SIGNED_L8\b/MESA_FORMAT_L_SNORM8/g
          s/MESA_FORMAT_SIGNED_A16\b/MESA_FORMAT_A_SNORM16/g
          s/MESA_FORMAT_SIGNED_I16\b/MESA_FORMAT_I_SNORM16/g
          s/MESA_FORMAT_SIGNED_L16\b/MESA_FORMAT_L_SNORM16/g
          s/MESA_FORMAT_SIGNED_AL88\b/MESA_FORMAT_L8A8_SNORM/g
          s/MESA_FORMAT_SIGNED_RG88\b/MESA_FORMAT_G8R8_SNORM/g
          s/MESA_FORMAT_SIGNED_RG1616\b/MESA_FORMAT_G16R16_SNORM/g
      8b47b6bc
    • Mark Mueller's avatar
      mesa: Fix MESA_FORMAT names with ALPH, INTENSITY, and LUMINANCE · 2e02e195
      Mark Mueller authored
      Compressed spelled out color components ALPHA, INTENSITY, and LUMINANCE to A, I, and L:
          s/MESA_FORMAT_ALPHA_UINT8\b/MESA_FORMAT_A_UINT8/g'
          s/MESA_FORMAT_ALPHA_UINT16\b/MESA_FORMAT_A_UINT16/g'
          s/MESA_FORMAT_ALPHA_UINT32\b/MESA_FORMAT_A_UINT32/g'
          s/MESA_FORMAT_ALPHA_INT32\b/MESA_FORMAT_A_SINT32/g'
          s/MESA_FORMAT_ALPHA_INT16\b/MESA_FORMAT_A_SINT16/g'
          s/MESA_FORMAT_ALPHA_INT8\b/MESA_FORMAT_A_SINT8/g'
          s/MESA_FORMAT_INTENSITY_UINT8\b/MESA_FORMAT_I_UINT8/g'
          s/MESA_FORMAT_INTENSITY_UINT16\b/MESA_FORMAT_I_UINT16/g'
          s/MESA_FORMAT_INTENSITY_UINT32\b/MESA_FORMAT_I_UINT32/g'
          s/MESA_FORMAT_INTENSITY_INT32\b/MESA_FORMAT_I_SINT32/g'
          s/MESA_FORMAT_INTENSITY_INT16\b/MESA_FORMAT_I_SINT16/g'
          s/MESA_FORMAT_INTENSITY_INT8\b/MESA_FORMAT_I_SINT8/g'
          s/MESA_FORMAT_LUMINANCE_UINT8\b/MESA_FORMAT_L_UINT8/g'
          s/MESA_FORMAT_LUMINANCE_UINT16\b/MESA_FORMAT_L_UINT16/g'
          s/MESA_FORMAT_LUMINANCE_UINT32\b/MESA_FORMAT_L_UINT32/g'
          s/MESA_FORMAT_LUMINANCE_INT32\b/MESA_FORMAT_L_SINT32/g'
          s/MESA_FORMAT_LUMINANCE_INT16\b/MESA_FORMAT_L_SINT16/g'
          s/MESA_FORMAT_LUMINANCE_INT8\b/MESA_FORMAT_L_SINT8/g'
          s/MESA_FORMAT_LUMINANCE_ALPHA_UINT8\b/MESA_FORMAT_LA_UINT8/g'
          s/MESA_FORMAT_LUMINANCE_ALPHA_UINT16\b/MESA_FORMAT_LA_UINT16/g'
          s/MESA_FORMAT_LUMINANCE_ALPHA_UINT32\b/MESA_FORMAT_LA_UINT32/g'
          s/MESA_FORMAT_LUMINANCE_ALPHA_INT32\b/MESA_FORMAT_LA_SINT32/g'
          s/MESA_FORMAT_LUMINANCE_ALPHA_INT16\b/MESA_FORMAT_LA_SINT16/g'
          s/MESA_FORMAT_LUMINANCE_ALPHA_INT8\b/MESA_FORMAT_LA_SINT8/g'
          s/MESA_FORMAT_ALPHA_FLOAT16\b/MESA_FORMAT_A_FLOAT16/g'
          s/MESA_FORMAT_ALPHA_FLOAT32\b/MESA_FORMAT_A_FLOAT32/g'
          s/MESA_FORMAT_INTESITY_FLOAT16\b/MESA_FORMAT_I_FLOAT16/g'
          s/MESA_FORMAT_INTESITY_FLOAT32\b/MESA_FORMAT_I_FLOAT32/g'
          s/MESA_FORMAT_INTENSITY_FLOAT16\b/MESA_FORMAT_I_FLOAT16/g'
          s/MESA_FORMAT_INTENSITY_FLOAT32\b/MESA_FORMAT_I_FLOAT32/g'
          s/MESA_FORMAT_LUMINANCE_FLOAT16\b/MESA_FORMAT_L_FLOAT16/g'
          s/MESA_FORMAT_LUMINANCE_FLOAT32\b/MESA_FORMAT_L_FLOAT32/g'
          s/MESA_FORMAT_LUMINANCE_ALPHA_FLOAT16\b/MESA_FORMAT_LA_FLOAT16/g'
          s/MESA_FORMAT_LUMINANCE_ALPHA_FLOAT32\b/MESA_FORMAT_LA_FLOAT32/g'
      2e02e195
    • Mark Mueller's avatar
      mesa: Change many Type P MESA_FORMATs to meet naming spec · eeed49f5
      Mark Mueller authored
      Conversion of Type P formats as follows (w/related comment fixes):
          s/MESA_FORMAT_RGB565\b/MESA_FORMAT_B5G6R5_UNORM/g
          s/MESA_FORMAT_RGB565_REV\b/MESA_FORMAT_R5G6B5_UNORM/g
          s/MESA_FORMAT_ARGB4444\b/MESA_FORMAT_B4G4R4A4_UNORM/g
          s/MESA_FORMAT_ARGB4444_REV\b/MESA_FORMAT_A4R4G4B4_UNORM/g
          s/MESA_FORMAT_RGBA5551\b/MESA_FORMAT_A1B5G5R5_UNORM/g
          s/MESA_FORMAT_XBGR8888_SNORM\b/MESA_FORMAT_R8G8B8X8_SNORM/g
          s/MESA_FORMAT_XBGR8888_SRGB\b/MESA_FORMAT_R8G8B8X8_SRGB/g
          s/MESA_FORMAT_ARGB1555\b/MESA_FORMAT_B5G5R5A1_UNORM/g
          s/MESA_FORMAT_ARGB1555_REV\b/MESA_FORMAT_A1R5G5B5_UNORM/g
          s/MESA_FORMAT_AL44\b/MESA_FORMAT_L4A4_UNORM/g
          s/MESA_FORMAT_RGB332\b/MESA_FORMAT_B2G3R3_UNORM/g
          s/MESA_FORMAT_ARGB2101010\b/MESA_FORMAT_B10G10R10A2_UNORM/g
          s/MESA_FORMAT_Z24_S8\b/MESA_FORMAT_S8_UINT_Z24_UNORM/g
          s/MESA_FORMAT_S8_Z24\b/MESA_FORMAT_Z24_UNORM_S8_UINT/g
          s/MESA_FORMAT_X8_Z24\b/MESA_FORMAT_Z24_UNORM_X8_UINT/g
          s/MESA_FORMAT_Z24_X8\b/MESA_FORMAT_X8Z24_UNORM/g
          s/MESA_FORMAT_RGB9_E5_FLOAT\b/MESA_FORMAT_R9G9B9E5_FLOAT/g
          s/MESA_FORMAT_R11_G11_B10_FLOAT\b/MESA_FORMAT_R11G11B10_FLOAT/g
          s/MESA_FORMAT_Z32_FLOAT_X24S8\b/MESA_FORMAT_Z32_FLOAT_S8X24_UINT/g
          s/MESA_FORMAT_ABGR2101010_UINT\b/MESA_FORMAT_R10G10B10A2_UINT/g
          s/MESA_FORMAT_XRGB4444_UNORM\b/MESA_FORMAT_B4G4R4X4_UNORM/g
          s/MESA_FORMAT_XRGB1555_UNORM\b/MESA_FORMAT_B5G5R5X1_UNORM/g
          s/MESA_FORMAT_XRGB2101010_UNORM\b/MESA_FORMAT_B10G10R10X2_UNORM/g
          s/MESA_FORMAT_AL88\b/MESA_FORMAT_L8A8_UNORM/g
          s/MESA_FORMAT_AL88_REV\b/MESA_FORMAT_A8L8_UNORM/g
          s/MESA_FORMAT_AL1616\b/MESA_FORMAT_L16A16_UNORM/g
          s/MESA_FORMAT_AL1616_REV\b/MESA_FORMAT_A16L16_UNORM/g
          s/MESA_FORMAT_RG88\b/MESA_FORMAT_G8R8_UNORM/g
          s/MESA_FORMAT_GR88\b/MESA_FORMAT_R8G8_UNORM/g
          s/MESA_FORMAT_GR1616\b/MESA_FORMAT_R16G16_UNORM/g
          s/MESA_FORMAT_RG1616\b/MESA_FORMAT_G16R16_UNORM/g
          s/MESA_FORMAT_SRGBA8\b/MESA_FORMAT_A8B8G8R8_SRGB/g
          s/MESA_FORMAT_SARGB8\b/MESA_FORMAT_B8G8R8A8_SRGB/g
          s/MESA_FORMAT_SLA8\b/MESA_FORMAT_L8A8_SRGB/g
      
      Conflicts:
      	src/mesa/drivers/dri/i965/brw_surface_formats.c
      	src/mesa/main/format_pack.c
      	src/mesa/main/format_unpack.c
      	src/mesa/main/formats.c
      	src/mesa/main/texformat.c
      	src/mesa/main/texstore.c
      eeed49f5
    • Mark Mueller's avatar
      mesa: Change many Type A MESA_FORMATs to meet naming standard · 50a01d2a
      Mark Mueller authored
      Update comments. Conversion of the following Type A formats:
          s/MESA_FORMAT_RGB888\b/MESA_FORMAT_BGR_UNORM8/g
          s/MESA_FORMAT_BGR888\b/MESA_FORMAT_RGB_UNORM8/g
          s/MESA_FORMAT_A8\b/MESA_FORMAT_A_UNORM8/g
          s/MESA_FORMAT_A16\b/MESA_FORMAT_A_UNORM16/g
          s/MESA_FORMAT_L8\b/MESA_FORMAT_L_UNORM8/g
          s/MESA_FORMAT_L16\b/MESA_FORMAT_L_UNORM16/g
          s/MESA_FORMAT_I8\b/MESA_FORMAT_I_UNORM8/g
          s/MESA_FORMAT_I16\b/MESA_FORMAT_I_UNORM16/g
          s/MESA_FORMAT_R8\b/MESA_FORMAT_R_UNORM8/g
          s/MESA_FORMAT_R16\b/MESA_FORMAT_R_UNORM16/g
          s/MESA_FORMAT_Z16\b/MESA_FORMAT_Z_UNORM16/g
          s/MESA_FORMAT_Z32\b/MESA_FORMAT_Z_UNORM32/g
          s/MESA_FORMAT_S8\b/MESA_FORMAT_S_UINT8/g
          s/MESA_FORMAT_SRGB8\b/MESA_FORMAT_BGR_SRGB8/g
          s/MESA_FORMAT_RGBA_16\b/MESA_FORMAT_RGBA_UNORM16/g
          s/MESA_FORMAT_SL8\b/MESA_FORMAT_L_SRGB8/g
          s/MESA_FORMAT_Z32_FLOAT\b/MESA_FORMAT_Z_FLOAT32/g
          s/MESA_FORMAT_XBGR16161616_UNORM\b/MESA_FORMAT_RGBX_UNORM16/g
          s/MESA_FORMAT_XBGR16161616_SNORM\b/MESA_FORMAT_RGBX_SNORM16/g
          s/MESA_FORMAT_XBGR16161616_FLOAT\b/MESA_FORMAT_RGBX_FLOAT16/g
          s/MESA_FORMAT_XBGR16161616_UINT\b/MESA_FORMAT_RGBX_UINT16/g
          s/MESA_FORMAT_XBGR16161616_SINT\b/MESA_FORMAT_RGBX_SINT16/g
          s/MESA_FORMAT_XBGR32323232_FLOAT\b/MESA_FORMAT_RGBX_FLOAT32/g
          s/MESA_FORMAT_XBGR32323232_UINT\b/MESA_FORMAT_RGBX_UINT32/g
          s/MESA_FORMAT_XBGR32323232_SINT\b/MESA_FORMAT_RGBX_SINT32/g
          s/MESA_FORMAT_XBGR8888_UINT\b/MESA_FORMAT_RGBX_UINT8/g
          s/MESA_FORMAT_XBGR8888_SINT\b/MESA_FORMAT_RGBX_SINT8/g
      50a01d2a