[Mesa-dev] [PATCH 00/16] Add infrastructure for GL_OES_texture_compression_astc

Anuj Phogat anuj.phogat at gmail.com
Mon Mar 7 18:45:21 UTC 2016


On Fri, Mar 4, 2016 at 6:39 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Not that I'm against this, but is there actual HW that supports the full 3d
> stuff? From what I gather, no proprietary drivers expose this ext.
>
Right. I realized it after I wrote these patches. I'm not planning to post
more patches for this extension. We can either land the series now or
wait until it is actually usable to any hardware running Mesa.

> On Mar 4, 2016 8:17 PM, "Anuj Phogat" <anuj.phogat at gmail.com> wrote:
>>
>> Anuj Phogat (16):
>>   mesa: Add block depth field in struct gl_format_info
>>   mesa: Add support to query block depth using
>>     _mesa_get_format_block_size()
>>   mesa: Add error conditions for compressed textures with 3D blocks
>>   mesa: Account for block depth in _mesa_format_image_size()
>>   glapi: Update dispatch XML files for OES_texture_compression_astc.xml
>>   mesa: Add mesa formats for astc 3d formats
>>   mesa: Add entries for astc 3d formats initializing struct
>>     gl_format_info
>>   mesa: Add OES_texture_compression_astc to extension table and
>>     gl_extensions
>>   mesa: Align the values of #define's in glheader.h
>>   mesa: Add the missing defines for GL_OES_texture_compression_astc
>>   mesa: Add a helper function is_astc_3d_format()
>>   mesa: Account for astc 3d formats in _mesa_is_astc_format()
>>   mesa: Handle astc 3d formats in _mesa_base_tex_format()
>>   mesa: Handle astc 3d formats in _mesa_get_compressed_formats()
>>   mesa: Enable translation between astc 3d gl formats and mesa formats
>>   swrast: Add texfetch_funcs entries for astc 3d formats
>>
>>  src/mapi/glapi/gen/Makefile.am                     |   1 +
>>  .../glapi/gen/OES_texture_compression_astc.xml     |  61 +++
>>  src/mapi/glapi/gen/gl_API.xml                      |   2 +
>>  src/mesa/drivers/dri/i915/intel_mipmap_tree.c      |   8 +-
>>  src/mesa/drivers/dri/i915/intel_tex_layout.c       |   4 +-
>>  src/mesa/drivers/dri/i965/brw_tex_layout.c         |  21 +-
>>  src/mesa/drivers/dri/i965/intel_copy_image.c       |  14 +-
>>  src/mesa/drivers/dri/i965/intel_mipmap_tree.c      |   8 +-
>>  src/mesa/drivers/dri/nouveau/nouveau_util.h        |   8 +-
>>  src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c   |  11 +-
>>  src/mesa/drivers/dri/radeon/radeon_texture.c       |   4 +-
>>  src/mesa/main/copyimage.c                          |   6 +-
>>  src/mesa/main/extensions_table.h                   |   1 +
>>  src/mesa/main/format_info.py                       |   5 +-
>>  src/mesa/main/format_parser.py                     |  15 +-
>>  src/mesa/main/formatquery.c                        |   4 +-
>>  src/mesa/main/formats.c                            |  52 +-
>>  src/mesa/main/formats.csv                          | 550
>> +++++++++++----------
>>  src/mesa/main/formats.h                            |  24 +-
>>  src/mesa/main/glformats.c                          |  54 +-
>>  src/mesa/main/glheader.h                           |  81 +--
>>  src/mesa/main/mtypes.h                             |   1 +
>>  src/mesa/main/texcompress.c                        | 117 ++++-
>>  src/mesa/main/texgetimage.c                        |   4 +-
>>  src/mesa/main/teximage.c                           |  17 +-
>>  src/mesa/main/texstore.c                           |   4 +-
>>  src/mesa/swrast/s_texfetch.c                       |  27 +-
>>  src/mesa/swrast/s_texture.c                        |   4 +-
>>  28 files changed, 719 insertions(+), 389 deletions(-)
>>  create mode 100644 src/mapi/glapi/gen/OES_texture_compression_astc.xml
>>
>> --
>> 2.5.0
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list