PDA

View Full Version : Trying to use PowerVR OpenGL ES emulation for Windows...



juanrb
05-16-2006, 09:05 AM
Hello very few people using this post!
I'm trying to get started using PowerVR OpenGL ES emulation for Windows, but when I try to run some example, I compile it and I just can see an empty window being shown for less than a second and being closed automatically :s

What's happening?

Xmas
05-28-2006, 07:20 AM
Do you create a window and pass its handle to eglCreateWindowSurface? IIRC you might also have to pass the device context handle of the window to eglGetDisplay.
The emulation layer does not create a window for you. You wouldn't be able to use your own WndProc with it if it did.

The easiest way to find out what's going wrong is steppinig through your initialization function in a debugger and checking the return values of the EGL functions as well as eglGetError().

Of course you can send any questions specific to this emulation library to devrel@powervr.com

dhong
08-19-2006, 03:03 AM
Hi All,

I'm trying to use PowerVR, but I couldn't find libEGL.lib. Where can i get it?

Thanks in advance,
Dongpyo Hong

Xmas
08-21-2006, 01:30 AM
From the device manufacturer.

In the PC emulation SDK, EGL is part of the libGLES_c*.lib.