PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Adding Emulator DLLs

Is there a way to add DLLs to the emulator image that make use of the hosting environment?

Concretely, this is the problem I'd like to solve: There is a reference implementation of OpenGL ES available, which sits on top of a regular desktop OpenGL implementation. For debugging in the emulator it would be nice to use this reference implementation, with the actual rendering done being by the OpenGL driver that is part of the hosting desktop OS. On the device, of course, I'd use a direct implementation of OpenGL ES instead.

I did a series of searches on this forum, google, MSDN, but could not find any documentation on this.

Thanks,
HM
Could you instead do a PC executable build, instead of using the emulator, and use the desktop DLL's in that way?

JJB
JongJungBu wrote:Could you instead do a PC executable build, instead of using the emulator, and use the desktop DLL's in that way?

JJB

That's actually what I'm doing myself. But there are a couple of folks who have asked me for a dll they can use inside the emulator when using Vincent (http://ogl-es.sourceforge.net). Right now, I am still ensuring that this library has a compatibility mode that runs inside the emulator, but I'd like to get away from having to support two versions of the rasterizer (one for the emulator, one using the JIT for ARM).

- HM