Luke Benstead
db079fdc39
Remove .gch files
2020-05-14 07:05:47 +01:00
lerabot
bd59922052
updated makefile
2020-05-13 10:33:55 -04:00
Luke Benstead
03bc758be7
Allow enabling fsaa via the GLdcConfig struct
2020-03-18 20:47:12 +00:00
Hayden Kowalchuk
ea3dec1daa
feat: opengl headers expose new functionality
2020-03-05 15:13:30 -05:00
Luke Benstead
43a8db9e9d
Remove divisions
2020-02-29 09:48:51 +00:00
Luke Benstead
140eec3d92
glNormalPointer should accept GL_INT_2_10_10_10_REV, not GL_UNSIGNED_INT_2_...
2019-11-27 09:10:10 +00:00
Luke Benstead
11cd54bc0b
Add partial support for GL_ARB_vertex_type_2_10_10_10_rev and also GL_NORMALIZE
2019-11-18 17:39:09 +00:00
Luke Benstead
f59e9bf56e
Implement GL_ARB_vertex_array_bgra
2019-09-30 21:59:11 +01:00
Luke Benstead
d7e424a766
Initial implementation of a fast-path (currently some corruption)
2019-09-30 09:14:43 +01:00
Luke Benstead
200db3593e
Make primitive constants match the spec
2019-09-06 09:36:14 +01:00
Luke Benstead
22690600d0
Don't include kos headers from gl.h
2019-09-06 09:35:33 +01:00
Luke Benstead
041b545177
Add missing glDepthRange declaration
2019-08-20 21:02:08 +01:00
Luke Benstead
57f4f62f86
Implement glColor3ubv
2019-08-20 20:42:29 +01:00
Luke Benstead
00c38edba9
Add polygon_offset sample (thanks mrneo240)
2019-07-17 10:46:19 +01:00
lerabot
34163498bd
early test for testing depth/alpha function with .DTEX
2019-03-21 12:13:03 -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
Luke Benstead
c73a96c1a5
Fix some more invalid GL constants
2019-03-11 19:36:07 +00: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
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