Commit Graph

21 Commits

Author SHA1 Message Date
Luke Benstead
1356ae352c Begin experimental new renderig code 2018-05-05 20:38:55 +01:00
Luke Benstead
42d2a1e091 Refactor glTexImage2D and associated enums
- Enums now respect GLs defined ranges
- Short formats are now correctly supported
- Duplicated (and incorrect) enums removed
- New conversions supported
- Fixes a number of bugs
2018-05-01 09:07:09 +01:00
Luke Benstead
4bf579f7bc Replace custom glKosLightAmbientX functions with glLightModelfv 2017-07-23 18:58:57 +01:00
Luke Benstead
1a80a70614 Implement gl(Enable|Disable)ClientState 2017-05-31 19:32:46 +01:00
Lawrence Sebald
0fa6e42b55 Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
Lawrence Sebald
9fc75b6772 Add glGetError() and gluErrorString(). 2016-01-03 22:23:32 -05:00
Josh Pearson
5fce3e1897 Added Texture Format Conversion to glTexImage2D, Added GL_TEXTURE Matrix Transformations when glEnable(GL_KOS_TEXTURE_MATRIX), various bug fixes, few more API functions added 2015-09-06 09:47:57 -07:00
Lawrence Sebald
25ba67b9b1 Fix compilation inside the new kos-ports tree. 2015-05-08 22:35:16 -04:00
Josh Pearson
763ec99483 Added multi-texture support and glCompressedTexImage2D to the GL API 2015-01-04 15:07:57 -08:00
Josh Pearson
8b276ca731 Fixed const pointer function definitions 2014-12-19 19:07:11 -08:00
Josh Pearson
97dc25918a First major update to the API 9-28-14 2014-09-28 19:40:41 -07:00
U-PH3NOM-PC\PH3NOM
b6e9ff70b5 Fixed bugs reported as of 9-06-2014 2014-09-07 15:41:26 -07:00
Lawrence Sebald
be969bd840 Normalize line endings in libgl to LF rather than CRLF. 2014-08-29 15:56:23 -04:00
Lawrence Sebald
61b809f5cd Add glGetFloatv() for reading matrices as requested in #dreamcastdev on IRC.
This commit also adds a new glKosGetMatrix() function that does the same thing,
but isn't limited to the modelview, projection, and texture matrices, as
glGetFloatv() is.
2014-08-29 15:38:42 -04:00
U-PH3NOM-PC\PH3NOM
0711f10b1f #Fixed glVertex2f to perform as the standard defines. glKosVertex2f is added for direct submission to PVR of 2D vertices with no transform. 2014-08-26 18:11:41 -07:00
Lawrence Sebald
4390d627bf This should hopefully fix the C++ compilation issues with libgl. 2014-08-18 19:16:32 -04:00
U-PH3NOM-PC\PH3NOM
9dde472293 #Fixed problem in glut.h causing conflict when linking the library against c++ programs 2014-08-17 15:03:16 -07:00
U-PH3NOM-PC\PH3NOM
aca082fa8b #Initial Commit for new Open GL API, replacing the old KGL 2014-08-16 11:15:06 -07:00
U-PH3NOM-PC\PH3NOM
d5077ae105 #Initial Commit for new Open GL API, replacing the old KGL 2014-08-16 11:13:38 -07:00
U-PH3NOM-PC\PH3NOM
5c5a0196c5 #Initial Commit for new Open GL API, replacing the old KGL 2014-08-16 11:09:37 -07:00
Harley Laue
8e2359a1d0 This should work again 2012-07-06 09:01:41 -05:00