Introduce QSGMaterial::CustomCompileStep
authorGunnar Sletta <gunnar.sletta@digia.com>
Tue, 6 Aug 2013 12:18:19 +0000 (13:18 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 12 Aug 2013 08:43:50 +0000 (10:43 +0200)
commitf56b68b61c8ae021526c2d433961323b7e41032c
tree295f51cfd53139b9a91307a989c62a4eaa652151
parente14df5bb36fa16bf1f13c0b24a12dc558c5a089b
Introduce QSGMaterial::CustomCompileStep

Nobody reimplements the virtual QSGMaterialShader::compile()
function, so we disable that code path and make it opt-in for
compatibility.

We do this, because opens up for that the renderer can do something
different, including changing the source code to allow for better
optimization.

Change-Id: Ia72f9eda7d6428e26878158ab03349f753a35c66
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
src/quick/scenegraph/coreapi/qsgmaterial.cpp
src/quick/scenegraph/coreapi/qsgmaterial.h