diff options
author | Michael Brasser <michael.brasser@live.com> | 2017-11-07 20:07:34 -0600 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-01-31 08:13:31 +0000 |
commit | 07f9ca1759e35f1eb497fe2f1ad4b7ba71b69b5c (patch) | |
tree | 5dd23f1f31ac3df199572c3add1f25972ec4ec69 /src/quick/scenegraph/scenegraph.pri | |
parent | eace041161a03a849d3896af65493b7885cecc04 (diff) |
Basic working compressed texture atlas
This adds experimental automatic atlasing of ETC-compressed textures
(to be expanded to additional formats), similar to existing atlas
support of QImages. It is off by default, and can be enabled with
QSG_ENABLE_COMPRESSED_ATLAS=1.
[ChangeLog] Add experimental automatic atlasing of ETC-compressed
textures (can be enabled with QSG_ENABLE_COMPRESSED_ATLAS=1)
Change-Id: Ia66971f51299d082a569bdfaadb662a3e522bd79
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quick/scenegraph/scenegraph.pri')
-rw-r--r-- | src/quick/scenegraph/scenegraph.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/scenegraph.pri b/src/quick/scenegraph/scenegraph.pri index 377a4647da..bdd694f95e 100644 --- a/src/quick/scenegraph/scenegraph.pri +++ b/src/quick/scenegraph/scenegraph.pri @@ -230,11 +230,13 @@ SOURCES += \ qtConfig(opengl(es1|es2)?) { HEADERS += \ + $$PWD/compressedtexture/qsgcompressedatlastexture_p.h \ $$PWD/compressedtexture/qsgcompressedtexture_p.h \ $$PWD/compressedtexture/qsgtexturefilehandler_p.h \ $$PWD/compressedtexture/qsgpkmhandler_p.h SOURCES += \ + $$PWD/compressedtexture/qsgcompressedatlastexture.cpp \ $$PWD/compressedtexture/qsgcompressedtexture.cpp \ $$PWD/compressedtexture/qsgpkmhandler.cpp } |