diff options
author | Berthold Krevert <berthold.krevert@basyskom.com> | 2015-01-29 17:18:49 +0100 |
---|---|---|
committer | Berthold Krevert <berthold.krevert@basyskom.com> | 2015-02-04 15:23:55 +0000 |
commit | ec699494f537902e756ac317a5bbe52694cc4223 (patch) | |
tree | 0b19e0dc7b1c73e93d4898579643846992711cec /examples/quick/particles/itemparticle | |
parent | b962b5281b3c90cacc00db8b8b69bcff730a0093 (diff) |
Move VAO binding to Renderer::render()
Amongst other things, QSGRenderer::preprocess() triggers the rendering of
QQuickShaderEffectSource items into framebuffer objects. The renderers
responsible for these QQuickShaderEffectSource items bind and unbind
their own VAOs, which messes up the VAO state set in QSGRenderer::preprocess().
Scenegraph nodes must not depend on the vao state set by the renderer anyway as
the binding has to be considered as an implementation detail.
Change-Id: Idec34c65397394e12e7f8419a1c9633d5f70a22e
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'examples/quick/particles/itemparticle')
0 files changed, 0 insertions, 0 deletions