diff options
author | Cedric Chedaleux <cedric.chedaleux@orange.com> | 2014-02-03 12:53:26 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-04 21:34:58 +0100 |
commit | 96b7ac569c571a38826d5bfb2681889dbf81759d (patch) | |
tree | be5370b25612a6307f29f676918948fc23ed43e6 /src/plugins/platforms | |
parent | fdef360bad0f2f1059ff81f1bdd608332541abac (diff) |
NPOT texture support in QOpenGLTextureCache
Enable non power of two texture support for non compatible NPOT GPU.
If the context does not handle NPOTTexture feature, the image to bind is scaled to POT size. It works with OpenGL ES and Desktop version.
It is actually almost the same code as the one in QGLContextPrivate::bindTexture.
Change-Id: I6f0f511165c9e171a14f4ba6ba0b7a902e590cf6
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions