mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 19:27:36 +00:00
LibGL: Implement a basic OpenGL 1.x compatible library
This currently (obviously) doesn't support any actual 3D hardware, hence all calls are done via software rendering. Note that any modern constructs such as shaders are unsupported, as this driver only implements Fixed Function Pipeline functionality. The library is split into a base GLContext interface and a software based renderer implementation of said interface. The global glXXX functions serve as an OpenGL compatible c-style interface to the currently bound context instance. Co-authored-by: Stephan Unverwerth <s.unverwerth@gmx.de>
This commit is contained in:
parent
1424c4651f
commit
4807d32139
14 changed files with 920 additions and 0 deletions
|
@ -150,6 +150,10 @@
|
|||
#cmakedefine01 GIF_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef GL_DEBUG
|
||||
#cmakedefine01 GL_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef GLOBAL_DTORS_DEBUG
|
||||
#cmakedefine01 GLOBAL_DTORS_DEBUG
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue