<div dir="ltr">Hi everyone,<div><br></div><div>I'm currently trying to get some Clutter demo code running on my Raspberry Pi, using EGL. My goal is to be able to run the various demos without modifying the demo code/binary, and use Cogl's egl backend to do the rendering (with modifications to perform the RasPi specific initialization routines). The demos do run in X when clutter/cogl is configured to do so, although very slowly.<br clear="all">

<div><div><br></div><div>From what I can tell, it looks like I should be setting COGL_DRIVER=gles2, and then COGL_RENDERER=egl_null, modifying the egl_null driver to fit this use case. It's not entirely clear whether the egl_null driver is just a stub or whether it's just a generic egl->framebuffer driver, as opposed to an android specific one such as egl_android. The Raspberry Pi's Broadcom VC4 does not support KMS.</div>

<div><br></div><div>The link below is a raspberry pi demo, which draws directly to the framebuffer using raw egl calls. The initialization code is very similar to the egl_null initialization process.</div><div><a href="https://github.com/raspberrypi/firmware/tree/master/opt/vc/src/hello_pi/hello_triangle2">https://github.com/raspberrypi/firmware/tree/master/opt/vc/src/hello_pi/hello_triangle2</a><br>

</div><div><br></div><div>So far, I've had no success.</div><div><br></div><div>The questions: Is egl_null the correct renderer to be using/modifying for this use case? Do you know of anyone who has already succeeded with this? Are the COGL_* environment variables documented anywhere?</div>

<div><br></div><div>Thanks!</div><div><br></div>--<div><font size="4"><font style="color:rgb(0,0,0);font-family:garamond,serif" size="4">Stephen Just</font><br></font></div></div>
</div></div>