PDA

View Full Version : Qtopia Core and OpenGL - "Vanilla" EGL implementation ?



zelko
4th May 2007, 10:44
=== From documentation (4.3 -beta) ===================
- Warning -
"...OpenGL API in Qtopia Core, it must be integrated with the Q Window System (QWS). See the Qtopia Core and OpenGL documentation for details."

- Simple Integration -
The simple integration approach use a ready-made EGL implementation, only requiring a simple custom interface between the EGL interface and QWS. To illustrate, the current release of Qtopia Core provides a simple example interface integrating the "Vanilla" EGL implementation from Hybrid Graphics Ltd. with QWS. The example is located in Qt's src/opengl directory (qegl_qws.*).

- Full Integration -
It is also possible to do a full integration, taking the advantage of accelerated hardware, but this requires a custom EGL implementation that is tailored for the given platform. Please contact Trolltech for more information.
==============================================
http://doc.trolltech.com/4.3-snapshot/qtopiacore-opengl.html



Hello there,
need your help... platform- x86, Linux/gcc...




1st problem,
is to compile qtopia-core with OpenGL support/examples... tried it many ways, more or less like this:

./configure -qvfb -opengl -depths 8,16,32 -embedded x86 -static -release ...

some errors:
entering directory... /examples/painting/svgviewer
..src/opengl/qgl.h GLES/gl.h: No such file
..'GLuinit' has not been declared...

any help? ...without "-opengl" everything is fine but OpenGL examples dont get compiled?

(btw, qt-x11-4.3-beta compiles and works with OpenGL on X11 without any problems)



...anyway,
once i mange to get over compiling, it would be good to know more about Qtopia Core and OpenGL/OpenGL ES integration with QWS:

- Simple Integration ("Vanilla" EGL) ?
- Full Integration ?

* Will EGL example - "..src/opengl/qegl_qws.cpp" then work without X11? - how/what to compile to have that possible?



2nd problem/goal,
is to have minimal OpenGL (ES) "layer" preferably with QWS, but some Kdrive based small foot-print option is also a possibility, i guess... / so, any info, hint, link... is most welcome and appreciated!




Thank you,
zelko

Miniature, Linux based OpenGL development system without X
http://one.xthost.info/zelko/opengl.html