Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
66 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 66

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress

Subject: Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
by broadblues on 2018/2/17 0:58:44

@kas1e

Use the interface to the ogles2.library directly rather than any stub library, that you might use for compiling simplicity.

eg MiniGL programs are usually linkied against libminigl.a or .so which contains stub functions that call the library calls. I'm assuming that ogles2.librray will work similarly.


olgesSomeFunc() will not then clash with IOgles->olglesSomefunc()


The library *could* be opened in a constructor, it need not be opend in the link lib ne it static or sobj.


The Interface could be extern to the new library and provided in the users code.

the new lib would just need to be compiked with

#include proto/ogles2.h

Adjust al the names to suit obviously


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project