Alberto Mardegan wrote:
Hi all,
I've spend quite some time on a weird problem. I've created a subclass
of ClutterActor, and inside its _paint() method I wanted to draw a
rectangle using cogl APIs.
If I call cogl_rectangle, the rectangle is always drawn correctly.
If I call cogl_path_rectangle (+ fill), the rectangle is only drawn if
no other actors are drawn before it.
If I call cogl_flush() just before calling cogl_path_rectangle, it works.
Please disregard this message. Calling cogl_flush() seemed to help, but
then it didn't work if the source colour had an alpha component (<255).
It seems the problem I was experiencing is either a bug in the GL driver
or in the gles clutter backend. I reported it here:
http://bugzilla.openedhand.com/show_bug.cgi?id=1916
Ciao,
Alberto
--
http://www.mardy.it <- geek in un lingua international!
--
To unsubscribe send a mail to [email protected]