[Interest] QtQuick2 ShaderEffectSource unexpected behavior on Playbook

Preet prismatic.project at gmail.com
Sat May 11 06:37:51 CEST 2013


Hiya,

I have a very simple (QML-only) example with ShaderEffect and
ShaderEffectSource that runs fine on my system but has an issue on my
Playbook. I'm using Qt 5.1 alpha. On the playbook I get a black square in
the ShaderEffectSource texture  where the ShaderEffect is. Its a bit hard
to explain, but some pictures might help:

desktop (correct output): http://i.imgur.com/COPnPj5.png
playbook (incorrect... will alternate between 1 and 2 when I call
ShaderEffectSource's scheduleUpdate() method):
1 - http://i.imgur.com/cSPa6Qd.png
2 - http://i.imgur.com/wWSjQqT.png

In the image ShaderEffectSource's sourceItem is the root item of the QML
document. On the right side is the ShaderEffect output, all its doing is
drawing the texture from ShaderEffectSource to a smaller rectangle on the
right half of the screen.

code: http://pastebin.com/raw.php?i=e8pY7uM7

Is this a bug? Or am I just using ShaderEffectSource wrong?


Regards,

Preet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130511/e5326455/attachment.html>


More information about the Interest mailing list