Luke Benstead
|
b82d28130d
|
Rewrite the lighting code
|
2019-08-01 20:21:13 +01:00 |
|
Luke Benstead
|
a8d420299c
|
Correctly throw GL_INVALID_VALUE for invalid sizes
|
2019-04-14 08:51:37 +01:00 |
|
Luke Benstead
|
6cfb4e437c
|
Handle GL_DOUBLE like GL_FLOAT everywhere
|
2019-04-14 07:17:27 +01:00 |
|
Luke Benstead
|
e876dcb14f
|
Massively optimise GL_POLYGON/GL_TRIANGLE_FAN
|
2019-03-29 11:26:19 +00:00 |
|
Luke Benstead
|
a75ced3fef
|
Speed up immediate mode submission
|
2019-03-29 11:26:19 +00:00 |
|
Luke Benstead
|
2e33dc0718
|
Add missing profiler_pop(). Fixes #36
|
2019-03-29 11:26:19 +00:00 |
|
Luke Benstead
|
41ee67cbf1
|
Code cleanup
|
2019-03-28 13:10:53 +00:00 |
|
Luke Benstead
|
e15a47b6fb
|
Use the list stored on the SubmissionTarget
|
2019-03-28 13:09:36 +00:00 |
|
Luke Benstead
|
3cd15de332
|
Add additional traces
|
2019-03-28 13:09:04 +00:00 |
|
Luke Benstead
|
8982444406
|
Consistently allow > 16384 verts
|
2019-03-28 13:07:53 +00:00 |
|
Luke Benstead
|
cd04784c33
|
Fix memory corruption
|
2019-03-28 13:05:13 +00:00 |
|
Luke Benstead
|
30f8564298
|
Fix glDrawElements
|
2019-03-27 09:39:06 +00:00 |
|
Luke Benstead
|
434f316526
|
Switch pointer comparisons for counters
|
2019-03-26 09:09:07 +00:00 |
|
Luke Benstead
|
d44a24d339
|
Add assertions
|
2019-03-25 19:43:03 +00:00 |
|
Luke Benstead
|
bdeb9cd45a
|
Restore clipping case that apparently can happen after all
|
2019-03-25 19:04:50 +00:00 |
|
Luke Benstead
|
493592ea30
|
Tweaks
|
2019-03-25 16:07:27 +00:00 |
|
Luke Benstead
|
f712f00602
|
Don't do anything if there are no vertices submitted
|
2019-03-25 16:06:41 +00:00 |
|
Luke Benstead
|
4355d0f224
|
Add additional profiler checkpoints
|
2019-03-25 16:06:28 +00:00 |
|
Luke Benstead
|
8fd90bd040
|
Switch back to normal swapping
|
2019-03-25 12:38:34 +00:00 |
|
Luke Benstead
|
0e71588e6c
|
Try to optimise the quad generation
|
2019-03-25 10:33:05 +00:00 |
|
Luke Benstead
|
671881eafd
|
Optimise GL_POLYGON rendering
|
2019-03-25 09:48:58 +00:00 |
|
Luke Benstead
|
291e82d18a
|
Rename ClipVertex -> Vertex
|
2019-03-25 09:44:59 +00:00 |
|
Luke Benstead
|
bd0ef4cba3
|
Demo multitexturing in zclip, default to GL_MODULATE on multitexture
|
2019-03-24 14:09:52 +00:00 |
|
Luke Benstead
|
5e6927d9a1
|
Huge refactor of the drawing code
|
2019-03-24 08:09:02 +00:00 |
|
Luke Benstead
|
3cb24c4fb4
|
Rename some functions
|
2019-03-14 13:16:55 +00:00 |
|
Luke Benstead
|
e9c8836181
|
Huge cleanup of glDrawElements handling
|
2019-03-14 13:15:56 +00:00 |
|
Luke Benstead
|
1ee16d8ee1
|
Slight optimisation
|
2019-03-13 17:38:42 +00:00 |
|
Luke Benstead
|
d9539da841
|
Optimisations
|
2019-03-13 15:35:42 +00:00 |
|
Luke Benstead
|
8101e43e90
|
Fix winding issue
|
2019-03-13 15:19:28 +00:00 |
|
Luke Benstead
|
5bf58ec1a8
|
Refactor array submission to be (hopefully) faster
|
2019-03-13 11:24:35 +00:00 |
|
Luke Benstead
|
25bd3aedc8
|
Increase the max polygon size to 32
|
2019-03-10 16:10:59 +00:00 |
|
Luke Benstead
|
b00b65af54
|
Fix issues with triangle fans / polygons
|
2019-03-10 12:24:27 +00:00 |
|
Luke Benstead
|
df3cdf0ebb
|
Fix drawing polygons. Fixes #35
|
2019-03-07 21:41:25 +00:00 |
|
Luke Benstead
|
d7342fa0c0
|
Automatically twiddle non-twiddled palette data
|
2019-03-07 21:21:30 +00:00 |
|
Luke Benstead
|
d89997a277
|
Simplify the element drawing
|
2019-03-04 20:41:33 +00:00 |
|
Luke Benstead
|
5f7fef2cf9
|
Prefix non-static private functions with '_gl'
|
2019-03-03 19:06:01 +00:00 |
|
Luke Benstead
|
926214bd82
|
Prefix some non-static private functions with '_gl'
|
2019-03-03 19:02:25 +00:00 |
|
Luke Benstead
|
df44c0ea73
|
More performance work and fix bugs introduced in last commit
|
2018-10-09 09:27:53 +01:00 |
|
Luke Benstead
|
18759422ea
|
Optimise non-indexed rendering paths
|
2018-10-08 22:03:50 +01:00 |
|
Luke Benstead
|
52e1be498e
|
Keep header pointer updated. Fixes #25 (hopefully...)
|
2018-09-19 17:11:56 +01:00 |
|
Luke Benstead
|
17c9699966
|
More clipping fixes
|
2018-09-08 20:53:28 +01:00 |
|
Luke Benstead
|
06b065dc7e
|
Return the correct count from clip
|
2018-09-06 20:08:55 +01:00 |
|
Luke Benstead
|
93af697092
|
Don't include the header in startOffset
|
2018-09-06 20:00:18 +01:00 |
|
Luke Benstead
|
d9fa69c288
|
Fix invalid memory access bug
|
2018-09-06 19:46:04 +01:00 |
|
Luke Benstead
|
b4539443f5
|
Allow toggling debug logging
|
2018-09-06 19:45:52 +01:00 |
|
Luke Benstead
|
af54c96ff4
|
Implement new culling algorithm, still some issues when GL_CULL_FACE is enabled
|
2018-09-06 19:19:00 +01:00 |
|
Luke Benstead
|
517d21b487
|
Begin implementing a new clipping algorithm
|
2018-09-03 21:48:42 +01:00 |
|
Luke Benstead
|
8b3bf5a579
|
Fix lighting wrapping
|
2018-08-27 21:35:07 +01:00 |
|
Luke Benstead
|
b29303fb6c
|
Implement glColorMaterial
|
2018-08-22 09:24:49 +01:00 |
|
Luke Benstead
|
21f8f9d855
|
Properly restore state after glEnd
|
2018-08-21 16:15:43 +01:00 |
|