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

Burton, Ross ross.burton at intel.com
Thu Sep 13 04:03:34 PDT 2012


Hi Chris,

On 10 September 2012 19:56, Chris Tapp <opensource at keylevel.com> wrote:
> 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().

GL or GLES?  GL on Cedar Trail is very limited , you're heavily
recommended to use GLES.

> 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?

This is a bit of a mess at the moment, and I want to sort it, but it's
a complicated mess.

Building against mesa-dri shouldn't be a problem as all GL
implementations have the same ABI, assuming you can get the
cdv-prv-driver package installed and not mesa-dri on your image.
Preferred providers only work for built-time dependencies, so assuming
that you're having problems with getting mesa-dri out and
cdv-prv-driver in the image you'll need to use something like
RCONFLICTS and RPROVIDES so that the package system uses
cdv-prv-driver instead of mesa-dri.

Ross



More information about the yocto mailing list