Embedded X

Amit pundiramit at gmail.com
Sun Oct 19 22:15:05 PDT 2008


I got stuck again while porting X11/GTK+ on OMAP.
I'm not sure whether it is the right forum for these questions or not
but these questions are directly or indirectly associated with Mesa/GL
libraries.

Dependency chart is like this ...
GTK+ needs cairo-pdf and cairo-ps backend
cairo-pdf needs glitz installed
while compiling glitz, it looks for GL libraries(libGL) while I have
only GLES libraries meant for OMAP.
I tried cross-compiling MESA for GL libraries but it gave me a
compilation error again. This time it was trying to run the previously
compiled executable for host(arm) on build(x86) platform.

Any help on resolving this issue would be great.

Thanks for your concern.

Regards
Amit Pundir


On Wed, Oct 15, 2008 at 1:47 PM, Kamalneet Singh
<kamalneet.s at samsung.com> wrote:
> Amit wrote:
>> Thank you all for your inputs.
>>
>> I built x-server with kdrive enabled as Mikhail and Kamalneet suggested.
>> I used the Xorg 7.2 release. It did build up successfully but with so
>> many extensions enabled [:(] which I'm not sure whether I will be
>> using or not.
>>
>> So, now I'm trying to customize my build configuration and choose
>> relevant extensions only i.e extensions which my GTK+ framework will
>> depend upon or use.
>>
>> I have a couple of questions:
>>
>> 1. I found two packages on maemo repository namely "Xorg" and "X-server".
>> What is the difference between the two? I thought both are same.
>>
>> Additionally there is "--enable-xorg" configure option available while
>> building Xorg-server. What is the usage of that.
>>
>>
>> 2. Can someone please explain me the usage of:
>> --disable-glx, --enable-xgl, --enable-xglx, --enable-xegl
>
> GLX extension adds OpenGL commands to the protocol. So X clients can use
> OpenGL.
>
> XGL is an X Server built *on top of* OpenGL. Xegl and Xglx are two
> flavors of XGL. To use XGL on desktop, you'll need "--enable-xgl
> --enable-xglx".
>
>>
>> My motive is to enable OPEN GL ES backend for EGL on X. Which option
>> do I have to use? By default it enables OPENGL backend while I need
>> OPENGL ES extension.
>
> What do you want to do?
> 1.  Enable X clients(applications) to use OpenGL ES + EGL?
> or
> 2.  Make X Server itself use OpenGL ES + EGL for rendering?
>
> I don't know of any open source solution for (2). And it is a
> significant development effort.
> XGL uses OpenGL(through glitz). Few months back, XGL support was removed
> from the xserver master branch.
>
> ~kammal
>



More information about the xorg mailing list