Hi,

I am porting clutter toolkit (clutk) to gles2. I found some problem between
clutter/cogl rendering and raw gles2 rendering as mentioned below. It's
appreciated that you can give some suggestions.

In part of ctk_effect_blur_paint() function, we do as following
- create fbo with texture and depth buffer (raw gles2)
- switch to this new fbo for rendering (raw gles2)
- call clutter_actor_paint to render the actor to texture (clutter/cogl)
- switch back to default frame buffer (raw gles2)
- render above texture on screen for display (raw gles2)

With the sequence above, the actor cannot be displayed on screen. But if I
replace clutter_actor_paint with raw gles2 rendering to paint a simple
triangle, the triangle can be shown correctly. So I guess
clutter_actor_paint didn't render to the new created fbo. is it related to
the cogl fixed pipeline?

Thanks in advance!

Regards,
Jammy
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to