[SailfishDevel] OpenGL Under Selica QML
david.greaves at jolla.com
Wed Jan 22 16:34:09 UTC 2014
Fantastic - I just verified that it works here too.
How are you getting the GL into the QML scene?
I created a GLItem which allows property connections and sizing so I know where
to draw in the window. I then inherit from this item and render into the
viewport it sets up.
On 22/01/14 14:30, wsvries wrote:
> I got it working!
> _backgroundVisible : false
> This way the ApplicationWindow (background) doesn't overpaint the OpenGL.
> Silica items now nicely and transparantly overlap the OpenGL.
> wsvries schreef op 2014-01-22 14:50:
>> I'll stick to standard QML then.
>> David Greaves schreef op 2014-01-22 12:04:
>>> On 22/01/14 10:59, David Greaves wrote:
>>>> The other option is to render to an FBO and then assign that to a QML item
>>>> AFAIUI it's slightly lower performance but it does give you total control over
>>>> layering your GLES window into your QML.
>>> SailfishOS.org Devel mailing list
>> SailfishOS.org Devel mailing list
More information about the Devel