Commit Graph

314 Commits

Author SHA1 Message Date
Hayden K
20ac4e5480 remove junk 2019-03-13 07:11:32 -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
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
Luke Benstead
834599dc4b Add glDrawBuffer stub 2019-03-10 20:05:40 +00:00
Luke Benstead
890a925225 Update README 2019-03-10 20:04:04 +00:00
Luke Benstead
8f6e43d555 Merge branch 'alpha-test' into 'master'
Implement glAlphaFunc and glEnable(GL_ALPHA_TEST)

See merge request simulant/GLdc!36
2019-03-10 20:02:24 +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
3e54b0298e Add thanks to Hayden Kowalchuk in the readme 2019-03-10 12:32:22 +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
3fbb655758 Merge branch 'palette-slots' into 'master'
Palette slots

Closes #28

See merge request simulant/GLdc!35
2019-03-10 11:31:51 +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
Hayden K
5eea65c31f Fixes for rendering and new samples to test 2019-03-08 15:32:29 -05:00
Hayden K
4e29678866 Updates and Fixes for comparable execution on pc 2019-03-07 19:49:24 -05:00
Luke Benstead
dc6b067e58 Merge branch '35-fix-polygons' into 'master'
Fix drawing polygons. Fixes #35

Closes #35

See merge request simulant/GLdc!33
2019-03-07 21:45:46 +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
Hayden K
a124fa7ab2 remove junk, fix warnings 2019-03-06 14:20:11 -05:00
Hayden K
ec602f2d70 fixes 2019-03-06 13:58:16 -05:00
Hayden K
375073416a Merge branch 'master' of gitlab.com:simulant/GLdc 2019-03-06 13:57:46 -05:00
Luke Benstead
3e1ed8a5f7 Don't reserve more space than we need 2019-03-06 08:31:06 +00:00