Commit Graph

390 Commits

Author SHA1 Message Date
Luke Benstead
70feea6c6f Minor optimisations 2019-03-25 16:05:36 +00:00
Hayden K
535e361516 Merge branch 'master' of gitlab.com:simulant/GLdc 2019-03-25 09:36:56 -04: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
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
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
7d3dfeb317 Merge branch 'generate-refactor' 2019-03-13 11:24:56 +00:00
Luke Benstead
5bf58ec1a8 Refactor array submission to be (hopefully) faster 2019-03-13 11:24:35 +00:00
Hayden K
21ccc32bc0 merge latest kazade changes 2019-03-13 07:21:57 -04:00
Hayden K
3e2342e130 \n 2019-03-13 07:17:57 -04:00
Hayden K
20ac4e5480 remove junk 2019-03-13 07:11:32 -04:00
Hayden Kowalchuk
6f300dff44 Merge branch 'master' of gitlab.com:simulant/GLdc 2019-03-13 07:04:45 -04:00
Hayden Kowalchuk
84edc083ea merge to upstream 2019-03-13 07:04:10 -04:00
Hayden K
b301f51bd9 final finishing touches. DEPRECRATE Reserve*List funcs 2019-03-13 07:01:58 -04: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
26c943c548 Optimize memory allocations 2019-03-13 07:28:23 +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
bfc9c838f9 replace call with define, only 1 code path to manage 2019-03-12 18:43:40 -04:00
Hayden K
e7d3364ffc Change int to enum to avoid signed issues 2019-03-12 18:38:40 -04:00
Hayden K
8cfa97632f Finalize changes to profiler 2019-03-12 18:12:38 -04:00
Hayden K
9793e1cfd9 Change profile to compile time, but still allow enable or disabled 2019-03-12 10:36:35 -04:00
Hayden Kowalchuk
6cce79cfe6 Merge branch 'master' of gitlab.com:simulant/GLdc 2019-03-11 18:07:26 -04:00
Luke Benstead
2ad23b1e16 Update version string 2019-03-11 19:54:55 +00:00
Luke Benstead
70ceb70f0b Fix invalid filter param 2019-03-11 19:51:13 +00: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
8b13e3adaf Reserve 0 in the framebuffer thing (WIP) 2019-03-11 19:24:08 +00:00
Luke Benstead
032d56ce5a Merge branch 'rgb565-palettes' 2019-03-11 19:15:01 +00:00
Luke Benstead
957ebfa662 Fix texture twiddling 2019-03-11 19:14:30 +00:00
Luke Benstead
2485ea3428 Prove rectangular twiddling is broken 2019-03-11 19:08:32 +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
Hayden K
9c8034ba69 Finally Finish Complete Merge 2019-03-10 21:25:23 -04:00
Hayden K
06ac73d82f IGNORE: Merge OVER my own codebase. 2019-03-10 21:09:35 -04: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
a561fd469f Protect against invalid read 2019-03-10 20:18:11 +00:00