[Interest] PVRTC textures in Qt Quick 2?

Ola Røer Thorsen ola at silentwings.no
Mon Jan 20 16:04:58 CET 2014


2014/1/20 Gunnar Sletta <gunnar.sletta at jolla.com>

> You can install a custom image provider that provides the PowerVR texture
> directly as a QSGTexture. In the scenegraph playground repository there is
> already a plugin that does this for AMD compressed textures. You can use
> that as a basis for your code.
>
>
> https://qt.gitorious.org/qtplayground/scenegraph/source/6379165f6ae63c3a73a62b8fa3845cc299449827:imageproviders/amd_compressed_atc_texture
>
>
Ah, brilliant! :-) Thanks!

I guess compressed textures can't be added to the regular texture atlas? Is
it possible to create a QSGTexture pointing to a custom texture atlas
instead? I could return custom QSGTextures re-implementing
normalizedTextureSubRect?

Cheers,
Ola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140120/493a5cfc/attachment.html>


More information about the Interest mailing list