Commit graph

1098 commits

Author SHA1 Message Date
Tony Wasserka
55d6646fc3 softgpu: Add something like rectangle support. Doesn't seem to work :/ 2013-08-16 23:48:56 +02:00
Tony Wasserka
2aff3a8575 softgpu: Move clipping code to a separate file. 2013-08-16 23:48:56 +02:00
Tony Wasserka
b5181c9f4f softgpu: Add support for RGB565, RGBA5111 and RGBA8888 textures. 2013-08-16 23:48:56 +02:00
Tony Wasserka
f26d66e972 softgpu: Fix a bug in the clipspace->screenspace transformation. Makes polygon clipping work perfectly :) 2013-08-16 23:48:55 +02:00
Tony Wasserka
608fd34b4d softgpu: Implement almost working polygon clipping and fix some bugs. 2013-08-16 23:48:55 +02:00
Tony Wasserka
f6b51dcd55 softgpu: Working ARGB4444 texture support. 2013-08-16 23:48:55 +02:00
Tony Wasserka
7899a9b9c9 softgpu: Texture coordinate support and something like ARGB4444 texture support. 2013-08-16 23:48:55 +02:00
Tony Wasserka
748d2d60f7 softgpu: Implement filled triangle rendering. 2013-08-16 23:48:55 +02:00
Tony Wasserka
142f2a3688 softgpu: Move triangle rasterization code to a new file. 2013-08-16 23:48:54 +02:00
Tony Wasserka
adbe80c290 softgpu: Move around some code to keep SoftGpu.cpp clean. 2013-08-16 23:48:54 +02:00
Tony Wasserka
5510434f90 softgpu: Cleanups. 2013-08-16 23:48:54 +02:00
Tony Wasserka
6e124f351b softgpu: Working vertex position transform! 2013-08-16 23:48:54 +02:00
Tony Wasserka
209e040b73 softgpu: Fix some bugs, committing stuff before it breaks again... 2013-08-16 23:48:54 +02:00
Tony Wasserka
a4af6d4bc4 softgpu: Add line drawing. (yep, transform code definitely doesn't work.. :p). 2013-08-16 23:48:53 +02:00
Tony Wasserka
40cdabeb7d softgpu: Add vertex position transformation code. Seems to be doing something, even though it's not the right thing :/ 2013-08-16 23:48:53 +02:00
Tony Wasserka
55a94f9852 softgpu: Use existing VertexDecoder/VertexReader to add vertex decoding support. 2013-08-16 23:48:53 +02:00
Tony Wasserka
91ad30c287 softgpu/TransformUnit: Implement remaining coordinate system transformations. 2013-08-16 23:48:53 +02:00
Tony Wasserka
1430ca3e73 softgpu: Add transform pipeline functionality. 2013-08-16 23:48:52 +02:00
Tony Wasserka
232a0378b7 softgpu: Clean up. 2013-08-16 23:48:52 +02:00
Tony Wasserka
b1d4919327 softgpu: Dummy implementation for CopyDisplayToOutput. 2013-08-16 23:48:52 +02:00
Tony Wasserka
19c6fedb79 Copy NullGpu to SoftGpu. 2013-08-16 23:48:52 +02:00
Henrik Rydgard
22ebe76f33 Move KeyMapping UI to its own file before rewriting.
Plus some minor tweaks and fixes.
2013-08-16 16:49:53 +02:00
Henrik Rydgard
c79d1c68cc Fix frozen videos in some games 2013-08-16 09:27:49 +02:00
Henrik Rydgard
664d74a9b7 Another frameskipping attempt. Now: 0=no frameskip, 1=auto frameskipt, 2-9=fixed frameskip.
There is still some flicker remaining in non-buffered rendering that I can't seem to get rid off.
2013-08-16 01:00:26 +02:00
Henrik Rydgård
345b5fd859 Merge pull request #3171 from raven02/patch-1
Temporary fix issue #3167 in non-multithread mode
2013-08-14 13:42:14 -07:00
Henrik Rydgard
a4f5418d9d Complete the name change to ClearBuffer 2013-08-14 22:14:18 +02:00
raven02
e68ddf671c Temporary fix issue #3167 in non-multithread mode #2 2013-08-15 03:44:20 +08:00
raven02
9e40468b9f Temporary fix issue #3167 in non-multithread mode #1 2013-08-15 03:43:40 +08:00
raven02
2dd75b5b97 ClearBuffer() 2013-08-15 03:32:43 +08:00
raven02
9f0ca16df7 boolean fix 2013-08-15 03:21:42 +08:00
raven02
f49e5535a7 Few more boolean fix 2013-08-15 03:20:06 +08:00
Henrik Rydgard
96373132bb Android buildfix 2013-08-14 20:42:13 +02:00
Henrik Rydgård
b66bd085ce Merge pull request #3108 from raven02/patch-13
Fix wrong size generated FB which uses for render-to-texture
2013-08-14 08:38:27 -07:00
Unknown W. Brackets
f53426db9d Obviously no reason for this to be virtual. 2013-08-13 21:42:48 -07:00
raven02
fad8b77044 Merge remote-tracking branch 'upstream/master' into patch-13 2013-08-14 07:29:56 +08:00
Unknown W. Brackets
8a59463351 Disabling warnings you don't understand = bad. 2013-08-13 01:01:40 -07:00
Unknown W. Brackets
49c7b9628a Fix some correctness warnings. 2013-08-12 23:40:22 -07:00
Unknown W. Brackets
008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00
Unknown W. Brackets
49ab98c7fd Use atomic operations on Android + warning fixes. 2013-08-12 08:51:49 -07:00
Unknown W. Brackets
24203b1a5d Improve performance on x86 as well using movq. 2013-08-12 08:40:54 -07:00
Unknown W. Brackets
5c96782f29 Improve performance on x64 at least.
Maybe can just ignore for 32?  I'm not sure how bad it would be if it read
in between...
2013-08-12 02:42:30 -07:00
Unknown W. Brackets
cf7c718706 Use a timer to keep gpu/cpu in sync periodically.
Fixes Diva Extend demo, at least, losing FPS.
2013-08-11 13:41:42 -07:00
Henrik Rydgard
9109882c04 More microoptimization 2013-08-11 22:12:14 +02:00
Henrik Rydgard
8e2c485373 Some microoptimization 2013-08-11 22:12:14 +02:00
Henrik Rydgård
12275d0e3a Merge pull request #3125 from raven02/patch-15
Some games like FF Type-0 inits viewport as 0x0
2013-08-11 13:01:11 -07:00
Unknown W. Brackets
e6b42768fe Add a class to manage IO on a separate thread.
Also separate the logic for exiting the loop based on coreState.  IO and
audio won't necessarily be tied to the frame.
2013-08-11 11:46:55 -07:00
raven02
1eaada15df Reference and modified code from @arnastia 2013-08-12 02:30:17 +08:00
raven02
c2a86d647f Fix wrong size generated of FBO for some games which uses it as render-to-texture 2013-08-12 02:20:55 +08:00
raven02
6c889e556b Some games like FF Type-0 inits viewport as 0x0 2013-08-12 02:15:42 +08:00
Unknown W. Brackets
e0f699fd5f Use a possibly harmless hack to prevent hangs.
Not sure where the problem is, but this fixes it pretty consistently for
me... seems like lists are somehow not being processed after becoming
processable?
2013-08-10 20:03:43 -07:00