Commit Graph
20735 Commits
Author SHA1 Message Date
Henrik Rydgard e651601025 Clean up threadutil.cpp/h. Add AssertCurrentThreadName function. 2014-06-29 12:44:40 +02:00
Henrik Rydgard 2fd3186624 Log an error if lost manager exits with objects still registered 2014-06-29 12:44:40 +02:00
Henrik Rydgård fe4246452c Merge pull request #6455 from thedax/ui-minor
Let the user disable the recent tab altogether when iMaxRecent is < 0.
2014-06-29 11:32:41 +02:00
Henrik Rydgård 7e83d1820b Merge pull request #6456 from unknownbrackets/gpu-minor
Allow changing software skinning and prescale uv at runtime
2014-06-29 11:02:29 +02:00
Henrik Rydgård 6c7c5a87ff Merge pull request #6459 from unknownbrackets/gllost-fix
Move GL lost manager to NativeInit/NativeShutdown
2014-06-29 10:38:57 +02:00
Unknown W. Brackets ec0c0f7af0 Move GLLost to NativeInit/NativeShutdown.
Otherwise, we clear the registered holders when the display turns off, and
never remember them.  This causes the vertex cache to stop working, for
example.
2014-06-29 01:09:15 -07:00
Unknown W. Brackets 95f4341838 Allow changing prescale uv at runtime. 2014-06-28 21:51:25 -07:00
Unknown W. Brackets 1c3b60a8ee Allow changing software skinning at runtime. 2014-06-28 21:46:43 -07:00
The Dax bfab461fc4 Hide various UI options related to recent games when iMaxRecents < 0. 2014-06-28 23:44:24 -04:00
The Dax 24743785a5 Let the user disable the recent tab altogether when iMaxRecent is < 0. 2014-06-28 23:21:36 -04:00
Henrik Rydgård b379109380 Merge pull request #6450 from unknownbrackets/gpu-blocktransfer
Clear framebuffers/textures upon sceKernelLoadExec()
2014-06-29 01:48:34 +02:00
Henrik Rydgård 3450a20031 Merge pull request #6452 from unknownbrackets/callbacks
Allow rescheduling within a callback
2014-06-29 01:46:03 +02:00
Unknown W. Brackets b4594c7bc5 Avoid Advance() twice, cleanup some comments. 2014-06-28 16:20:35 -07:00
Unknown W. Brackets b68ad3844e Simplify __KernelReSchedule().
It no longer needs all these checks, and we can Advance within callbacks,
interrupts, etc. safely.
2014-06-28 16:17:52 -07:00
Unknown W. Brackets 252100aee5 Remove outdated comment (real cause found/fixed.) 2014-06-28 16:06:10 -07:00
Unknown W. Brackets 0edeb085ab Allow rescheduling within callbacks. 2014-06-28 14:58:56 -07:00
Unknown W. Brackets ac2c44ddd9 Revert the early wake of threads for io waits.
This reverts commit 610ada8721.

It makes sense to let these run longer.  Apparently this caused problems
in Castlevania, see #6432.
2014-06-28 12:29:55 -07:00
Unknown W. Brackets d2d7d6e34b Destroy all FBOs/textures upon sceKernelLoadExec().
It can confuse our heuristics about size, attachment, memcpy, etc.
2014-06-28 12:29:09 -07:00
Unknown W. Brackets 63bcb65d96 Height can be equal, just not greater.
Oops.
2014-06-28 03:41:44 -07:00
Henrik Rydgård 26499c9ca9 Merge pull request #6447 from unknownbrackets/callbacks-fix
Fix callback status forgotten by sceKernelSleepThreadCB() and others
2014-06-28 12:16:29 +02:00
Unknown W. Brackets 745c453b33 Remove hleAfterCheckAllCallbacks().
Not being used, doesn't make sense - rescheduling is what does that, only.
2014-06-28 03:10:30 -07:00
Unknown W. Brackets 10096b94f2 Correctly remember callback status when sleeping.
If a callback triggered right away after a sceKernelSleepThreadCB(), it
would trigger the "current callback" and remember callback status as
false, instead of true (since it was set later.)

This corrects that by ignoring it if both are set.
2014-06-28 03:06:30 -07:00
Henrik Rydgård 081bdd7c9f Merge pull request #6446 from unknownbrackets/gpu-blocktransfer
Make sure we don't try to download too-tall buffers
2014-06-28 12:05:02 +02:00
Unknown W. Brackets 7d0aeb067a Make sure the conv buffer matches the used height.
May matter if bufferHeight > height.
2014-06-28 02:40:40 -07:00
Unknown W. Brackets 217d8d24ea Validate height better when downloading fbs. 2014-06-28 02:33:28 -07:00
Henrik Rydgård 9351fe44ea Merge pull request #6444 from unknownbrackets/jit-minor
Use more correct rounding in armjit, update x86jit and minor
2014-06-28 11:20:11 +02:00
Henrik Rydgård 1d90c06099 Merge pull request #6445 from unknownbrackets/gpu-stencil
Optimize stencil uploading
2014-06-28 11:03:01 +02:00
Unknown W. Brackets e57ed7d2f4 Small optimizations to stencil scanning. 2014-06-28 02:00:14 -07:00
Unknown W. Brackets a33589b3e9 Optimize away bits in the stencil upload.
Should be faster than sending to the GPU this way, if we can help it.
Should improve delays on FBO creation at high render resolutions.
2014-06-28 01:39:18 -07:00
Unknown W. Brackets 464b453748 Use a temp FBO at 1x to upload stencil.
This improves performance at > 1x resolutions.
2014-06-28 01:19:07 -07:00
Unknown W. Brackets 89ffbd027e vertexjit: Specify round to zero in ARM rounding.
Only affects color morphs.  NEON always rounds to zero so let's be
consistent.
2014-06-28 00:38:57 -07:00
Unknown W. Brackets f008bebab4 armjit: Fix floor/ceil/cvt.w.s rounding.
Unfortunately, correctly rounding is probably slower.
2014-06-28 00:38:57 -07:00
Unknown W. Brackets f544a87b2f jit: Initialize startDefaultPrefix when switching. 2014-06-28 00:38:56 -07:00
Unknown W. Brackets 27870aa593 x86jit: Map HI/LO as registers.
Not actually ever cached, but now it's all consistent.
2014-06-28 00:38:56 -07:00
Unknown W. Brackets bc3d789c8a x86jit: Cache the vfpu compare flags in a reg.
Again, to match armjit.
2014-06-28 00:38:55 -07:00
Unknown W. Brackets acad2e1763 x86jit: Cache fpcond in a register.
Mostly to match armjit.
2014-06-28 00:38:55 -07:00
Henrik Rydgård d34e6b384b Merge pull request #6443 from rnynoise/patch-1
Update CwCheat.cpp fixed button-contrl cheat code
2014-06-28 08:36:47 +02:00
rnynoise 99a01c3dba Update CwCheat.cpp fixed button-contrl cheat code
fixed error in "0xD" code, "button-contrl" cheat code should work now.
2014-06-28 13:19:42 +08:00
Sacha d2f43889a0 Android: Fixes for CMake and Qt. 2014-06-28 02:50:24 +10:00
Henrik Rydgård 6916ffb372 Merge pull request #6440 from unknownbrackets/resched
Adjust some timeouts and the thread switch penalty
2014-06-27 10:35:32 +02:00
Unknown W. Brackets 40e34ea2a3 Support -g and -m in test.py at the same time. 2014-06-27 01:00:27 -07:00
Unknown W. Brackets 5ab3750186 Reduce the thread switching cost.
Maybe it was actually too high.  Some tests fail with it that high.
2014-06-27 01:00:11 -07:00
Unknown W. Brackets 4471b968e8 Increase timeout delay time for waits.
Had previously had these lower, but my testing was biased by how quick
other things in ppsspp were.
2014-06-27 00:58:59 -07:00
Henrik Rydgård e73fcf4ec2 Merge pull request #6436 from ANR2ME/adhoc_
Fixed FF-Type0 from seeing duplicated Host, hopefully this will also fix...
2014-06-26 15:20:05 +02:00
AdamN a98b44d7ab Fixed FF-Type0 from seeing duplicated Host, hopefully this will also fix all Adhoc games that became broken in my 1st patch 2014-06-26 17:50:37 +07:00
Henrik Rydgård 8042b6f6f1 Merge pull request #6435 from unknownbrackets/replace-funcs
Hook the FF1 battle effect func
2014-06-26 11:44:14 +02:00
Unknown W. Brackets 0da972c548 Hook the FF1 battle effect func.
So that we can download the framebuffer.  At least, it seems like that's
what this function is doing.
2014-06-26 01:38:22 -07:00
Henrik Rydgård 7f3a3661a0 Merge pull request #6430 from rnynoise/patch-2
Update CwCheat.cpp
2014-06-26 10:34:41 +02:00
Henrik Rydgård f0cb70d9fb Merge pull request #6433 from unknownbrackets/frame-timing
Maintain timing of at least 30 vblanks per second if possible
2014-06-26 10:33:51 +02:00
Henrik Rydgård fdd45e0747 Merge pull request #6434 from unknownbrackets/texcache
Require 25% of texture to overlap framebuffer
2014-06-26 10:33:18 +02:00