Commit Graph

534 Commits

Author SHA1 Message Date
Luke Benstead
a7ef07df4c Restrict to video mode bounds when rasterizing 2021-04-07 20:31:12 +01:00
Luke Benstead
b61d9a157b Fix out-of-bounds reads on GL_BGRA colours 2021-04-07 20:30:55 +01:00
Luke Benstead
89031cfaba Add more samples 2021-04-07 15:43:31 +01:00
Luke Benstead
d2f8741fcc Add some more samples to CMake 2021-04-07 15:35:28 +01:00
Luke Benstead
2cd4c813ad Add some more samples and fix background colour 2021-04-07 15:27:40 +01:00
Luke Benstead
43e9508f6a Implement face culling modes 2021-04-07 15:13:17 +01:00
Luke Benstead
43dc1023d6 Add some basic software rendering 2021-04-07 14:32:11 +01:00
Luke Benstead
bed0ccfa6e Copy CompilePolyHeader from KOS 2021-04-06 14:38:06 +01:00
Luke Benstead
e4d9c516f5 Fix kos compilation 2021-04-06 14:26:41 +01:00
Luke Benstead
a2ec68f960 Start implementing triangle rasterizer 2021-04-06 13:09:40 +01:00
Luke Benstead
f02b1ee894 Rename x86 -> software 2021-04-06 11:49:13 +01:00
Luke Benstead
cd4a7e0cf0 Add SDL to power software backend 2021-04-06 11:47:34 +01:00
Luke Benstead
79c3ad74e7 Get nehe02 running on PC 2021-04-05 21:59:04 +01:00
Luke Benstead
f968c3b828 Get things compiling on PC 2021-04-05 19:55:55 +01:00
Luke Benstead
5518d837ed More sh4 2021-04-05 14:46:19 +01:00
Luke Benstead
df646bdb53 Implement more sh4 2021-04-05 14:43:57 +01:00
Luke Benstead
20733435e4 More stubbing 2021-04-05 14:41:59 +01:00
Luke Benstead
60992f2bc5 More fixes 2021-04-05 12:58:40 +01:00
Luke Benstead
7214852dca More stubbing + porting 2021-04-05 12:49:58 +01:00
Luke Benstead
7e879b2c61 Implement more pvr constants 2021-04-04 22:17:24 +01:00
Luke Benstead
6361cd415e More porting work 2021-04-03 21:48:57 +01:00
Luke Benstead
be974e96ad More porting work 2021-04-03 14:11:54 +01:00
Luke Benstead
ebccaedb93 Start restructuring and switching to CMake 2021-03-28 14:33:56 +01:00
Luke Benstead
8ee28fdaac Merge branch 'yalloc' into 'master'
Add upstream yalloc allocator

See merge request simulant/GLdc!65
2021-02-20 15:12:14 +00:00
Luke Benstead
8408a36629 Implement GL_ATI_meminfo 2021-02-20 15:10:35 +00:00
Luke Benstead
9ed6c0209e Defrag and retry if allocating texture memory fails 2021-02-20 15:04:40 +00:00
Luke Benstead
f9b7cd7985 Add a custom extension to query and defragment texture memory 2021-02-19 21:28:31 +00:00
Luke Benstead
425a0c2af1 Switch to yalloc 2021-02-19 07:08:58 +00:00
Luke Benstead
ddf23974bd Apply tweaks to handle larger addresses (thanks @HaydenKow) 2021-02-18 20:55:03 +00:00
Luke Benstead
8a02ee55cc Add upstream yalloc allocator 2021-02-18 20:46:25 +00:00
Luke Benstead
8c187f67de Merge branch 'master' into 'master'
Fix glViewport()

See merge request simulant/GLdc!62
2020-10-07 07:10:09 +00:00
Andress Barajas
a37ae364f0 Flip Y 2020-10-06 22:44:09 -07:00
Andress Barajas
ee8df14426 Fix origin bot-left of glViewport 2020-10-06 20:07:11 -07:00
Luke Benstead
fc4b724cb1 Merge branch 'master' into 'master'
Do NULL check before access

See merge request simulant/GLdc!61
2020-10-04 06:24:15 +00:00
Andress Barajas
700b0c6389 Do NULL check before access 2020-10-03 16:36:54 -07:00
Luke Benstead
62088d3191 Merge branch 'BBHoodsta/GLdc-master' 2020-10-03 12:05:02 +01:00
Luke Benstead
cee1c87ed5 Fix issue with glRotate 2020-10-03 11:54:25 +01:00
Andress Barajas
9bb1c3a9e1 Added new nehe lessons 2020-10-03 00:27:11 -07:00
Andress Barajas
926961fe95 Remove DS_Store files 2020-10-02 19:51:21 -07:00
Andress Barajas
c6200e8391 Added more nehe samples 2020-10-02 19:37:13 -07:00
Andress Barajas
e7d2042916 Fixed glRotate 2020-10-02 19:31:22 -07:00
Luke Benstead
44155632c1 Add version template 2020-09-28 12:52:53 +00:00
Luke Benstead
e2d0ae25a0 Delete version.h 2020-09-28 12:52:33 +00:00
Luke Benstead
e54db74914 Add version template 2020-09-28 12:52:23 +00:00
Luke Benstead
7d4207eddb Fix errors with final Z coordinate 2020-05-24 09:55:13 +01:00
Luke Benstead
d932811be4 Small optimisation 2020-05-22 07:32:02 +01:00
Luke Benstead
9bfb0c6eea Fix bug from last commit, don't apply lights at all if none are enabled 2020-05-22 07:20:08 +01:00
Luke Benstead
0a92240c64 More lighting optimisations 2020-05-21 20:14:43 +01:00
Luke Benstead
af82f7632f Fix default texture modulation 2020-05-19 21:27:34 +01:00
Luke Benstead
d6a22582f9 Small cleanup 2020-05-16 09:30:25 +01:00