[Mesa-dev] [PATCH 00/27] intel: Add ETC2 compressed textures support

Anuj Phogat anuj.phogat at gmail.com
Mon Oct 22 10:36:07 PDT 2012


On Fri, Oct 19, 2012 at 11:32 PM, Philipp Klaus Krause <pkk at spth.de> wrote:
> On 20.10.2012 01:28, Anuj Phogat wrote:
>> This series lives on my etc2-v9 branch (https://github.com/aphogat/mesa).
>>
>> This series enables 8 out of 10 ETC2 texture formats for all Intel
>> hardware by simply decoding the ETC2 data into RGBX data at the time
>> of glCompressedTexImage2D. These patches can be tested using piglit
>> test case i have added for etc2 textures. Patches for the test are under
>> review on piglit mailing list.
>>
>> I'll soon post the patches for remaining 2 etc2 formats as well.
>>
>
> What's the purpose of this? Applications typically want a trade-off
> between graphics memory and bandwidth usage and quality, i.e. they offer
> a low-quality setting for users with slower hardware that uses texture
> compression and a higher quality setting for users with high-end
> hardware that can use uncompressed textures.
> Your patch gives them the worst of both: The quality of compressed
> textures at the memory and bandwidth usage of uncompressed textures.
>
> Philipp
>

Philipp, I'm not aware of many applications for the mobile devices which
provide higher / lower quality settings. Lot of these applications just use
compressed textures to save memory and bandwidth. Implementing the
software decompression of etc2 textures, until hardware decompression
is available, looks sensible to me. Moreover, etc2 texture support is
mandatory in OpenGL ES 3.0. This patch series brings intel i965 drivers
closer to gles 3.0 compliance.

HTH
Anuj


More information about the mesa-dev mailing list