[Interest] PVRTC textures in Qt Quick 2?

Gunnar Sletta gunnar.sletta at jolla.com
Mon Jan 20 15:08:56 CET 2014


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

cheers,
Gunnar

On 20 Jan 2014, at 12:49, Ola Røer Thorsen <ola at silentwings.no> wrote:

> Is it possible to use PVRTC texture compression in Qt Quick 2 on PowerVR gpus? If not, what would it take to add such a feature?
> 
> I searched through the Qt 5.2.0 source code, seems there was PVRTC support in the old "QGL*" classes, but nothing in the "QOpenGL*" classes.
> 
> Cheers,
> Ola
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list