Commit Graph

946 Commits

Author SHA1 Message Date
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
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
raven02
fad8b77044 Merge remote-tracking branch 'upstream/master' into patch-13 2013-08-14 07:29:56 +08: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
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
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
Unknown W. Brackets
639ab8306b SyncThread before deciding if the fbo is dirty.
Fixes fps drops in yet other games with multithreading enabled.
2013-08-10 18:45:07 -07:00
Henrik Rydgard
a517b8d53f Fix #3117 (by reverting part of a previous change), plus a minor change that might speed GT up. 2013-08-10 23:25:55 +02:00
Henrik Rydgard
4d4b2990ec GPU ShaderManager: Naming convention, inline a function 2013-08-10 18:39:27 +02:00
raven02
6f994ec05f Fix texture broken in God of War 2013-08-10 21:56:52 +08:00
Unknown W. Brackets
450e4c7fea Factor out event queue logic to a template mixin. 2013-08-10 03:33:09 -07:00
Unknown W. Brackets
5e363bcbd2 Don't allow gpu->Flush() to be called publicly. 2013-08-09 22:57:54 -07:00
Unknown W. Brackets
e71cf2ec7e Don't queue Flush() etc. while on GPU thread.
Oops, that makes it not actually flush properly of course.

Also made a simpler guard wrapper to avoid extra braces in too many
places.  Reduced contention areas slightly.
2013-08-09 22:57:52 -07:00
Unknown W. Brackets
02e301e5fe Add a simple message event system to the GE.
With this, the CPU thread feature now mostly works.
2013-08-09 22:41:31 -07:00
Unknown W. Brackets
52ca93aab2 Add mutex locks around list management.
This way we can safely execute lists on a separate thread.
2013-08-09 22:41:31 -07:00
The Dax
01e9111ac5 Remove Stream VBO option. 2013-08-09 05:18:24 -04:00
Henrik Rydgård
f01279f2cf Merge pull request #3082 from raven02/patch-12
Fix black/missing textures in few games
2013-08-09 00:58:38 -07:00
Henrik Rydgard
51ffdfa132 Rename gpuStats.numFrames to numVBlanks. Switch to using numFlips for things like cache expirations. 2013-08-07 22:34:00 +02:00
raven02
ba4d236d18 Fix black/missing textures in few games 2013-08-07 22:47:41 +08:00
Henrik Rydgård
41f90303b2 Merge pull request #3069 from raven02/patch-10
Logic Ops: code cleanup
2013-08-07 02:08:02 -07:00
Henrik Rydgård
b8978e49d2 Merge pull request #3075 from unknownbrackets/gpu-thread
Prep work for GE and CPU on separate threads
2013-08-07 01:00:26 -07:00
Henrik Rydgård
75b3d78694 Merge pull request #3029 from unknownbrackets/render-fb
Use a null texture for incorrect render-to-texture + delete better
2013-08-07 00:34:38 -07:00
Unknown W. Brackets
0dc6bab9ff Shouldn't be necessary to flush on drawsync. 2013-08-07 00:32:27 -07:00
Henrik Rydgard
773115bb6d GPU: tiny optimization and log fix 2013-08-06 19:08:38 +02:00
raven02
6798762eaa May fix Vsync broken previously 2013-08-06 23:08:57 +08:00
raven02
6465402283 Logic Ops: code cleanup 2013-08-06 22:14:30 +08:00
Henrik Rydgard
2f1e6f81bb Android buildfix 2013-08-06 11:24:48 +02:00
raven02
ecf43c7ea9 Fix lookup table 2013-08-06 16:46:35 +08:00
raven02
1fb77f5fec Use lookup table 2013-08-06 16:30:58 +08:00
raven02
6992eba90a Add remaining opcodes 2013-08-06 16:25:33 +08:00
raven02
c9c1a75869 Fix opcode/glLogicOp type 2013-08-06 16:14:36 +08:00
raven02
5c4af8908e Add context for logicOps 2013-08-06 16:03:27 +08:00
Unknown W. Brackets
f7a39d1b12 Move ReapplyGfxState() to GPUCommon.
This way it can be overridden, and simplifies some other things.
2013-08-04 15:15:50 -07:00
raven02
fd40bf7ada Use gstate.isClearModeDepthWriteEnabled/ColorMask/AlphaMask() 2013-08-03 14:55:45 +08:00
Unknown W. Brackets
f35b4a6159 Don't use render-to-texture with format mismatch. 2013-08-02 22:45:35 -07:00
Unknown W. Brackets
8e512c926e For now, don't bind mismatched FBs at all.
But still don't create a garbage texture either.
2013-08-02 22:45:34 -07:00
Unknown W. Brackets
ab1c20f509 Detach textures and fbs using a range check.
This is more compatible with the attach logic, and might also be faster.
Although, framebuffer destroys should not be that common.
2013-08-02 22:45:34 -07:00