Set bind options before uploading to give hints to the driver
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 1 Mar 2012 11:34:48 +0000 (12:34 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Mar 2012 12:26:10 +0000 (13:26 +0100)
commit6c5955e58f885cf5b4597b8fb0a059d204e2a5e1
tree9fbe60bd78436ca72004d469972420c6f1341fad
parentc0da7869001a52668f4ffaa851e05dd0ca6e6d67
Set bind options before uploading to give hints to the driver

This can prevent allocation of unused mipmap levels on some
drivers.

Change-Id: I2d730c04e120872367078b17a344c01b4d4aa87a
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
src/quick/scenegraph/util/qsgtexture.cpp