diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-10-05 09:38:32 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-05 12:36:15 +0200 |
commit | cd8c7b1c3c4f743bda9b66ef7840606a20e7b9cf (patch) | |
tree | 6119d091782428e8e03570110d2b7b49e4405cd8 /qtdeclarative.pro | |
parent | 40c9607befb1cce6ef771dc9bd77ac91a7e1f3b4 (diff) |
Make sure the Image texture provider does not return an atlassed texture
This has the implication that textures from texture providers are always
the complete texture with coordinates from 0-1, which is means we get
a copy for atlas textures which may end up affecting performance.
Alternatives are:
- ShaderEffect does this, which means texture providers can provide
atlas textures.
- We expose the subrect to ShaderEffect, which means an API
change in all shader effect classes, and let the vertex shader
solve this. Worst API, fastest and most memory efficient.
Change-Id: Id58eb866f315012637345a6f731626abf4a7a86c
Reviewed-on: http://codereview.qt-project.org/6029
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'qtdeclarative.pro')
0 files changed, 0 insertions, 0 deletions