Luke Benstead
|
493592ea30
|
Tweaks
|
2019-03-25 16:07:27 +00:00 |
|
Luke Benstead
|
ba04f62f6d
|
Minor optimisation
|
2019-03-25 16:07:12 +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
|
70feea6c6f
|
Minor optimisations
|
2019-03-25 16:05:36 +00:00 |
|
Luke Benstead
|
b771a5339b
|
Send colours as bytes in immediate mode
|
2019-03-25 12:56:48 +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
|
7c33f13438
|
Allow configuring initial capacities
|
2019-03-13 15:43:50 +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
|
724ff628aa
|
Fix some signedness issues
|
2019-03-13 15:14:09 +00:00 |
|
Luke Benstead
|
8b206f012e
|
Make sure we correctly initalize the used banks
|
2019-03-13 12:05:06 +00:00 |
|
Luke Benstead
|
5bf58ec1a8
|
Refactor array submission to be (hopefully) faster
|
2019-03-13 11:24:35 +00:00 |
|
Luke Benstead
|
5da1ed732a
|
Bump the default vbuf capacity
|
2019-03-13 08:53:35 +00:00 |
|
Luke Benstead
|
3d8fa7027b
|
Properly forward the internal_palette_format
|
2019-03-13 08:51:05 +00:00 |
|
Luke Benstead
|
2ad23b1e16
|
Update version string
|
2019-03-11 19:54:55 +00:00 |
|
Luke Benstead
|
8b13e3adaf
|
Reserve 0 in the framebuffer thing (WIP)
|
2019-03-11 19:24:08 +00:00 |
|
Luke Benstead
|
957ebfa662
|
Fix texture twiddling
|
2019-03-11 19:14:30 +00:00 |
|
Luke Benstead
|
588c082ec8
|
Allow specifying palette, autosort, memory options via glKosInitEx
|
2019-03-11 19:07:59 +00:00 |
|
Luke Benstead
|
8f26e9c364
|
Fix a bug in the morton_index function
|
2019-03-11 09:12:48 +00:00 |
|
Luke Benstead
|
a561fd469f
|
Protect against invalid read
|
2019-03-10 20:18:11 +00:00 |
|
Luke Benstead
|
834599dc4b
|
Add glDrawBuffer stub
|
2019-03-10 20:05:40 +00:00 |
|
Luke Benstead
|
7512c1e767
|
Fix GL_ALPHA_TEST sample
|
2019-03-10 19:59:34 +00:00 |
|
Luke Benstead
|
e4186a05bf
|
Start working on a test for GL_ALPHA_TEST
|
2019-03-10 19:38:47 +00:00 |
|
Luke Benstead
|
04dab8da9a
|
Implement glAlphaFunc and glEnable(GL_ALPHA_TEST)
|
2019-03-10 17:53:58 +00:00 |
|
Luke Benstead
|
25bd3aedc8
|
Increase the max polygon size to 32
|
2019-03-10 16:10:59 +00:00 |
|
Luke Benstead
|
91c3b66d73
|
Add GL_MODELVIEW_MATRIX as an option to glGetFloatv
|
2019-03-10 12:30:39 +00:00 |
|
Luke Benstead
|
b00b65af54
|
Fix issues with triangle fans / polygons
|
2019-03-10 12:24:27 +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
|
864dc45d10
|
Allocate palette slots on a FIFO basis
|
2019-03-09 14:32:50 +00:00 |
|
Luke Benstead
|
4d6cea59b7
|
Increase the max texture count
|
2019-03-08 21:38:39 +00:00 |
|
Luke Benstead
|
516cae7893
|
Store palettes in RAM not VRAM
|
2019-03-08 21:36:53 +00:00 |
|
Luke Benstead
|
ac3ffb9ce0
|
Make the binary symbols more compatible
|
2019-03-08 21:36:53 +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
|
3e1ed8a5f7
|
Don't reserve more space than we need
|
2019-03-06 08:31:06 +00:00 |
|
Luke Benstead
|
d89997a277
|
Simplify the element drawing
|
2019-03-04 20:41:33 +00:00 |
|
Luke Benstead
|
7c0a123aac
|
Correctly initialize the shared palette. Fixes #34
|
2019-03-04 08:44:19 +00:00 |
|
Luke Benstead
|
efa63ebff2
|
Don't apply the shared palette if it hasn't been specified yet. Fixes #34
|
2019-03-04 08:42:24 +00:00 |
|
Luke Benstead
|
11bb588279
|
Make sure we reupload the palette if it's changed by glColorTableEXT
|
2019-03-03 20:21:42 +00:00 |
|
Luke Benstead
|
526b1f0d16
|
Add some assertions
|
2019-03-03 19:49:28 +00:00 |
|