- May 27, 2008 at 9:43 am #29531
Hi all,I want to do a simple demo program with opengl 1.1 (and egl 1.1), exploiting the two MBX lite multitexture layers.So, the questions are:1) Is it possible to use those layers by means of opengl (and/or egl)?2) If yes, how can I do it, that is what functions do I have to use?Thanks in advance,IgorMay 27, 2008 at 10:14 am #32130
You can certainly do this under OpenGL ES 1.1. If you download our SDK for your platform or use our VFrame PCEmulation SDK and examine TrainingCourses/Multitexture/OGLES/ you’ll find an example project that does exactly what your asking, for various effects.
The most relevant functions are probably:
Please let us know if you have any problems,
GMay 27, 2008 at 11:09 am #32131
Gordon, Thank you for your fast reply!Well, I have seen like I can use MBX Multitexture support. Sorry but I have the last question:Does MBX lite support hardware overlay layers as well?I ‘d like to create two rendering contexts, one for the main plane (layer) and another for the overlay planes (layers). Is it possible?Thanks a lot,IgorMay 27, 2008 at 12:33 pm #32132
XmasMemberigor wrote:Does MBX lite support hardware overlay layers as well?
I ‘d like to create two rendering contexts, one for the main plane (layer) and another for the overlay planes (layers).Â Is it possible?
Hardware overlays are a feature of the display controller which is not part of the MBX core. Whether overlays are supported and whether you can create surfaces renderable by OpenGL ES that go to different layers depends on the SoC/platform you are using.May 27, 2008 at 1:33 pm #32133
Thanks Xmas.Sorry, you’re right.I’m using ‘mpc5121’ evaluation board and, checking the manual , I have read that the Display Interface Unit manages three planes onto the display.Now, I have to understand how to manages those planes with opengl es.Maybe, using EGL… I could!Thank you for the support,Igor