<font color='midnightblue' size='4' face='Georgia, Times New Roman, Times, Serif'><font color="black"><span style="background-color: white;"><font face="impact, sans-serif"><font size="4">Hi<br>
I tried to configure the Cairo for IMX6Q but Cairo automatically checks some requirements and determine Xlib as a surface backend but in fact I don't have X11 and I want to use Frame Buffer insteade of X so:<br>
<br>
1- How Cairo determine that X exist and why Cairo tries to use X?<br>
<br>
2- If I set --enable-xlib to (no) (or use --disable-xlib) I get the following message :<br>
"<br>
*** No native surface backends enabled for your platform. It is strongly<br>
*** recommended that you enable the native surface backend feature for your<br>
*** platform.<br>
"<br>
why?<br>
<br>
3- When I tried to set OpenGLES as a backend of Cairo I saw the following message in configuration of the Cairo :<br>
"<br>
--- The OpenGLESv2 surface backend feature is still under active development<br>
--- and is included in this release only as a preview. It does NOT fully work<br>
--- yet and incompatible changes may yet be made to OpenGLESv2 surface<br>
--- backend specific API.<br>
"<br>
What does it mean? Is it true that Cairo doesn't work at all ("only as a preview") or just might be it has some problem with OpenGLES backend? Which features can't be support with OpenGLES backend by Cairo?<br>
<br>
by the way after Cairo got compiled (with no Xlib and with OpenGLES as abackend), I wrote an application with EGL native windowing system (use framebuffer and native egl function) nothing be displayed on my screen with no error,all of the things are right even Cairo can write surface on PNG file and it's true but I can't see anything on my screen when I lunch my application just display turn on and after few second turn off again.<br>
<br>
Some information that may be helpful:<br>
I use vivante library for opengles,egl,openvg,... <br>
my cross compiler prefix is : arm-none-linux-gnueabi<br>
And of course I truely set the PKG_CONFIG_PATH & LD_LIBRARY_PATH<br>
<br>
Best Regards:<br>
Ali<br>
</font><br>
</font></span></font></font>