Commit Graph

3 Commits

Author SHA1 Message Date
martinfouilleul 20e425494f Use a custom GL loader to allow different versions of GL/GLES APIs to co-exist. The loader fills an api struct with GL functions pointers.
We have a per-thread pointer to select which api struct is used, and GL functions are pound-defined to call the versions in that struct.
GL/GLES surfaces can use one of the loader function to load their api, and the prepare proc of the surface sets its api as the current one
before gl calls are issued.
2023-02-16 19:35:01 +01:00
martinfouilleul c57e16db5a [win32 port] Hello triangle in OpenGL 4.3 2022-12-21 19:43:31 +01:00
martinfouilleul 2421871c3e windows port initial commit: simple window with GL 4.3 context 2022-12-21 12:03:55 +01:00