diff options
author | Michael Brasser <michael.brasser@live.com> | 2017-04-18 09:07:07 -0500 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-08-07 13:56:05 +0000 |
commit | 432e27ae092397cb2154f48103e729852c38cf2d (patch) | |
tree | 12c9b108a6e85082d029da994af0f9c7e5ca8d4f /src/quick/scenegraph/scenegraph.pri | |
parent | 5a6887ae8536c0b751e7b870ab629ecbf8784d22 (diff) |
Add very basic compressed texture support
Allow direct loading of pkm texture files into Image. This can
be extended to additional texture types, and then eventually
turned into a full plugin architexture.
[ChangeLog][Qt Quick] Allow direct loading of pkm texture files
into Image. For example: Image { source: "myImage.pkm" }
Change-Id: I1baed6c3e85a15752da8adc675482d874c9355ab
Task-number: QTBUG-59872
Task-number: QTBUG-29451
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/scenegraph/scenegraph.pri')
-rw-r--r-- | src/quick/scenegraph/scenegraph.pri | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/quick/scenegraph/scenegraph.pri b/src/quick/scenegraph/scenegraph.pri index c6db3df158..b5c72f521c 100644 --- a/src/quick/scenegraph/scenegraph.pri +++ b/src/quick/scenegraph/scenegraph.pri @@ -220,3 +220,18 @@ qtConfig(opengl(es1|es2)?) { $$PWD/shaders/visualization.frag \ $$PWD/shaders/visualization.vert } + +# Compressed Texture API +HEADERS += \ + $$PWD/util/qsgtexturereader_p.h + +SOURCES += \ + $$PWD/util/qsgtexturereader.cpp + +qtConfig(opengl(es1|es2)?) { + HEADERS += \ + $$PWD/compressedtexture/qsgpkmhandler_p.h + + SOURCES += \ + $$PWD/compressedtexture/qsgpkmhandler.cpp +} |