Hayden Kowalchuk
0ab6a7f039
feat: glDepthRange and glPolygonOffset
2019-08-13 18:16:38 -04:00
Hayden K
11a8736198
feat: add gl EXT handing for mipmap
...
- comes from gl1.4
- new defines
- expand glTexEnvi
2019-04-17 14:29:50 -04:00
Hayden K
a812fd572e
Change to single file
2019-04-15 14:11:17 -04:00
Hayden K
1c160ff519
change empty call to define
2019-04-08 09:56:13 -04:00
Hayden K
4a9336f584
fix all the previous crap.
...
holy hell
2019-04-08 09:36:33 -04:00
Hayden K
944f911d41
merge latest to latest gldc
2019-04-08 09:12:45 -04:00
Hayden K
9aee9fe970
feat: add correct mipmapping
...
* fixes memory layout and handling
* allows paletted mipmapped textures
2019-04-05 22:15:57 -04:00
Hayden K
61f9ff5122
merge upstream
2019-03-13 12:17:43 -04:00
Luke Benstead
7c33f13438
Allow configuring initial capacities
2019-03-13 15:43:50 +00:00
Luke Benstead
724ff628aa
Fix some signedness issues
2019-03-13 15:14:09 +00:00
Hayden K
edbff32340
- changes to allocation and mem mgmt
...
- Replace some mem* functions with store queues
- fix capacity of AlignedVector to 32 intervals
- turn profiler fully compile only
2019-03-12 23:47:54 -04:00
Hayden K
e7d3364ffc
Change int to enum to avoid signed issues
2019-03-12 18:38:40 -04:00
Hayden Kowalchuk
6cce79cfe6
Merge branch 'master' of gitlab.com:simulant/GLdc
2019-03-11 18:07:26 -04:00
Luke Benstead
c73a96c1a5
Fix some more invalid GL constants
2019-03-11 19:36:07 +00:00
Hayden K
e472ddf8d1
merge master
2019-03-11 15:35:06 -04:00
Luke Benstead
d21a07e799
Fix up some wrong constant values
2019-03-11 19:29:48 +00:00
Luke Benstead
588c082ec8
Allow specifying palette, autosort, memory options via glKosInitEx
2019-03-11 19:07:59 +00:00
Hayden K
ba211c3a50
General merge and repair
...
- Fix defines
- Fix POLYGON logic
- change static func names to macro
- Fix checkEnum
2019-03-10 21:02:24 -04:00
Luke Benstead
834599dc4b
Add glDrawBuffer stub
2019-03-10 20:05:40 +00:00
Luke Benstead
1807a0119c
Add some missing function stubs
2019-03-10 12:19:45 +00:00
Luke Benstead
259a82e69f
Add support for multiple shared palettes
2019-03-10 11:18:56 +00:00
Luke Benstead
3c3018450f
Support twiddled and non-twiddled paletted textures
2019-03-03 18:49:33 +00:00
Luke Benstead
c3cd3b936c
Add definition of GL_INTENSITY
2019-02-23 21:29:45 +00:00
Luke Benstead
6d2c47bda1
Implement GL_EXT_shared_texture_palette
2019-02-21 21:58:31 +00:00
Luke Benstead
c84f211ad0
More work towards paletted textures
2018-09-22 20:45:17 +01:00
Luke Benstead
baf7cf5bdd
Stub out glColorTableEXT
2018-09-20 15:01:13 +01:00
Luke Benstead
e68c051991
Add missing glColorMaterial definition
2018-09-15 11:42:42 +01:00
Luke Benstead
0d0beface3
Fix up some extension aliasing
2018-08-26 19:29:46 +01:00
Luke Benstead
d36469faaf
Start implementing a multitexture example
2018-08-17 07:09:53 +01:00
Luke Benstead
021237f258
Fix a number of issues with texture loading
2018-08-14 09:49:31 +01:00
Luke Benstead
4c99dd740a
Add support for mipmapped compressed textures
2018-08-08 09:50:57 +01:00
Luke Benstead
86dd5dd2b2
glCompressedTexImage2D is an ARB extension in OpenGL 1.2.1
2018-08-07 20:49:10 +01:00
Luke Benstead
16d949bfbc
Clean up compressed texture constants and code
2018-08-07 20:22:44 +01:00
Luke Benstead
582a29d267
Add glMultiTexCoord2fARB
2018-08-05 09:09:38 +01:00
Luke Benstead
bebca59796
Allow toggling z clipping
2018-08-01 11:32:07 +01:00
Luke Benstead
9167869633
Add gluOrtho2D, ortho2d example and fix glOrtho
2018-05-29 19:39:27 +01:00
Luke Benstead
b6b1591010
Add the first nehe sample and make it work
2018-05-29 13:12:38 +01:00
Luke Benstead
51d02ae489
Stub out some of the ARB_framebuffer_object extension
2018-05-20 21:29:04 +01:00
Luke Benstead
396ea82856
Drop all of the old libGL files
2018-05-20 16:16:53 +01:00
Luke Benstead
23e564269b
Fix lighting bugs
2018-05-19 09:17:24 +01:00
Luke Benstead
f9cdefcd81
Replace the entire matrix stack handling to work towards fixing lighting
2018-05-16 21:00:41 +01:00
Luke Benstead
4b8991e45f
More immediate mode
2018-05-12 14:54:06 +01:00
Luke Benstead
146be442f4
Start reimplementing immediate mode and removing dead code
2018-05-12 14:39:20 +01:00
Luke Benstead
e96d379796
Stub out lighting functionality
2018-05-12 14:05:54 +01:00
Luke Benstead
62e001c288
Reimplement or refactor Texturing, State, and Drawing
...
Things working:
- glDrawArrays / glDrawElements et al.
- Texturing
- Blending
Things missing:
- Lighting
- Multitexturing
- Near Z-clipping
- Framebuffer extension
- Immediate mode
2018-05-11 15:39:28 +01:00
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