[yocto] Denzil / Cedartrail / EGL/GLES under X

Chris Tapp opensource at keylevel.com
Mon Sep 10 11:56:32 PDT 2012


Does anyone have a simple recipe they are willing to share that uses meta/intel/cedartrail which shows how to get EGL/GLES running under X?

I've managed to get to the point where I think EGL is up (no API errors reported), but if I try anything on the GL side (e.g. glClear to get the background color) I'm not getting anything showing on the display when I call eglSwapBuffers().

If I run this app in a terminal within Sato then I can see printf-type diagnostics from the program, but nothing else.

I'm not sure how to configure my build to use the cdv-pvr-driver libs rather than the MESA-dri equivalents either. Both provide libGLESv2, etc., but I want the cdv-pvr-driver versions in the final image. However, cdv-prv-driver doesn't seem to have an include directory to use at build time, so MESA needs to be there as well. Is there a PREFERRED_PROVIDER_virtual/libgl value I can use?

Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list