Commit Graph

65 Commits

Author SHA1 Message Date
Falco Girgis
6407353121 Removed opb_count hack for older KOS versions 2024-10-09 22:20:32 -05:00
UnknownShadow200
ea56577ca9 Use direct render APIs instead of manually locking/unlocking store queues
This ensures that GLdc works in both 2.1.0 and latest matter
2024-10-04 19:51:33 +10:00
Falco Girgis
b6995edc66 Merge branch 'master' of https://gitlab.com/simulant/GLdc 2024-08-11 09:19:59 -05:00
Falco Girgis
0f3be24cec Merge branch 'master' of https://gitlab.com/simulant/GLdc into pvr_direct 2024-08-11 01:21:06 -05:00
Luke Benstead
ba76d67154 Merge branch 'ViewportTransform' into 'master'
Refactor viewport transform

See merge request simulant/GLdc!120
2024-08-04 20:18:41 +00:00
UnknownShadow200
2f26574a44 Combine projection transform and viewport transform together 2024-08-03 15:52:56 +10:00
Falco Girgis
b920855b57 Micro optimizations and clean-up. 2024-07-31 23:08:37 -05:00
Falco Girgis
873372995a More cleanup. 2024-07-31 22:59:43 -05:00
Falco Girgis
a68c4bf6ac Merge branch GLdc:master into master 2024-07-31 19:10:27 +00:00
UnknownShadow200
6722e14b93 Simplify RGBA interpolation by avoiding a multiply and division by 255 2024-06-07 21:36:59 +10:00
Falco Girgis
54e46822bd Merge remote-tracking branch 'origin/master' into HEAD 2024-04-10 00:40:37 -05:00
Luke Benstead
572fa01b03 Fix edge case 2024-04-06 21:13:17 +01:00
Luke Benstead
6a6d229e4c Fix bug with multiple strips 2024-04-04 06:30:37 +01:00
Luke Benstead
77f4b59aea Fix off-by-one 2024-04-03 22:30:41 +01:00
Luke Benstead
5299badf58 Only submit trailing vertices if the previous triangle was visible 2024-04-03 22:09:35 +01:00
Luke Benstead
f8d1fa3439 Fix some issues with clipping 2024-04-03 21:19:36 +01:00
Luke Benstead
a8f3d86705 Start cleaning up the zclip code 2024-04-02 22:28:36 +01:00
Luke Benstead
d4f6a9636b Fix more freezes and clipping issues 2024-03-19 20:14:01 +00:00
Luke Benstead
d6ac295d18 Fix more potential freezes 2024-03-19 08:14:38 +00:00
Luke Benstead
b353151dca Fix freeze due to bad clipping 2024-03-18 20:56:15 +00:00
Luke Benstead
cf4a557489 Fix CLIP_DEBUG 2024-03-18 20:18:58 +00:00
Luke Benstead
c85aed2d28 Set the opb counter 2024-03-11 19:11:35 +00:00
T_chan
bd17c995ea Naomi: don't call flashrom_get_region, as KOS Naomi does not include flashrom functions 2024-02-03 11:42:39 +00:00
T_chan
58f5f52eac avoid reading the flashrom if we know we are in VGA mode 2024-02-02 20:08:04 +00:00
Falco Girgis
4033e9c23a Submitted wrong size to sq_fast_cpy() 2024-01-31 01:59:46 -06:00
Falco Girgis
3420f0d0c6 Adjusting vertex buffers. 2024-01-31 01:56:01 -06:00
Falco Girgis
e8a60bc94a Fixing build issues 2024-01-30 20:43:30 -06:00
Falco Girgis
0be2911e0b Trying to batch shit better. 2024-01-30 20:41:34 -06:00
Falco Girgis
9586eefee9 Next attempt. 2024-01-30 19:55:05 -06:00
Falco Girgis
c25a5cddcb Next attempt. 2024-01-30 19:52:56 -06:00
Falco Girgis
b9cdfb2e35 next try 2024-01-30 19:45:17 -06:00
Falco Girgis
32ecb843a2 next try. 2024-01-30 19:44:40 -06:00
Falco Girgis
709942e69d test. 2024-01-30 19:40:40 -06:00
Luke Benstead
3dcbbdbde6 Add logging 2023-06-09 20:35:00 +01:00
Luke Benstead
92ee4f616d Set mode to PAL@50 if it's a European console without VGA 2023-06-06 21:05:52 +01:00
Luke Benstead
5865d57384 Wait for the store queues to finish when we've uploaded everything 2023-05-20 07:45:16 +01:00
Luke Benstead
a5891056db Many bug fixes and optimisations 2023-05-16 13:31:44 +01:00
Luke Benstead
9cffe14ad6 Clean up aligned vector 2023-05-12 20:51:36 +01:00
Luke Benstead
e683b8becb Optimisations 2023-05-11 20:00:13 +01:00
Luke Benstead
0f65eab86a Much faster clipping 2023-04-26 20:50:43 +01:00
Luke Benstead
0923b5c601 Further optimisations 2023-04-23 20:16:15 +01:00
Luke Benstead
2ec7055547 Optimisations 2023-04-23 07:44:09 +01:00
Luke Benstead
9cc52a01fe Better clipping 2023-04-22 20:47:45 +01:00
Luke Benstead
095ebf2790 Fix final bug 2023-04-22 11:37:42 +01:00
Luke Benstead
baa275b41b Fix a bunch of issues with clipping (almost working) 2023-04-21 20:38:21 +01:00
Luke Benstead
72c375f87c Fix some things 2023-04-21 11:39:37 +01:00
Luke Benstead
e54494e995 More clipping work 2023-04-20 20:45:59 +01:00
Luke Benstead
c5ce81a38d WIP: Restructure clipping to be much MUCH faster in the visible case
This currently only works with triangles, anything more and it crashes
due to me not queuing subsequent vertices in the strip correctly
2023-04-19 20:57:44 +01:00
Luke Benstead
307d371c55 Various store queue shinanigans 2023-04-11 20:46:31 +01:00
Luke Benstead
0c5f941098 Optimise nearz clipping 2023-03-17 20:40:55 +00:00