Commit Graph

7047 Commits

Author SHA1 Message Date
Henrik Rydgard
1da49273b5 Address some complaints about touch button opacity 2013-08-10 19:23:50 +02:00
Henrik Rydgard
bc84c135b3 Revert vscmp, didn't make a difference in the tests anyway 2013-08-10 19:22:33 +02:00
Unknown W. Brackets
333cc33efb Handle OpenFile() errors in a more threadsafe way.
Probably needs better cleanup though.
2013-08-10 09:54:14 -07:00
Henrik Rydgard
8ba8b3ddd2 gcc warning fix 2013-08-10 18:39:28 +02:00
Henrik Rydgard
ca6de59019 Another attempt at frame timing / flip detection. Might solve some flicker issue. 2013-08-10 18:39:27 +02:00
Henrik Rydgard
4d4b2990ec GPU ShaderManager: Naming convention, inline a function 2013-08-10 18:39:27 +02:00
Henrik Rydgard
394f590c36 Failed attempt at implementing vsge/vslt. Dunno what's wrong but disabled for now. 2013-08-10 18:39:27 +02:00
Unknown W. Brackets
b5ac31bbea Add locks to all the pspFileSystem methods. 2013-08-10 09:27:06 -07:00
Unknown W. Brackets
1b838c4403 Move ThreadEventQueue to its own file. 2013-08-10 09:08:31 -07:00
Henrik Rydgård
d169c31e26 Merge pull request #3103 from CPkmn/patch-1
Sanity checks for shadow glyphs
2013-08-10 08:26:59 -07:00
Unknown W. Brackets
e018b6f348 Merge pull request #3111 from raven02/patch-14
Fix broken texture in God of War.
2013-08-10 07:45:01 -07:00
raven02
6f994ec05f Fix texture broken in God of War 2013-08-10 21:56:52 +08:00
CPkmn
4fccf6771f Update PGF.cpp 2013-08-10 05:21:23 -07:00
Henrik Rydgård
1d38dfde78 Merge pull request #3109 from unknownbrackets/gpu-thread
Small refactoring in event queue logic, ignore multithreaded setting change
2013-08-10 03:42:32 -07:00
Unknown W. Brackets
7e56dcf665 Ignore changes to SeparateCPUThread after startup. 2013-08-10 03:36:22 -07:00
Unknown W. Brackets
450e4c7fea Factor out event queue logic to a template mixin. 2013-08-10 03:33:09 -07:00
Henrik Rydgard
cd53dfdc9c Mark multithreading as experimental in the UI 2013-08-10 11:53:55 +02:00
Henrik Rydgard
c6956c299a Don't leak cpuThread objects 2013-08-10 11:39:53 +02:00
Henrik Rydgard
360210876c Add multithread checkboxes to gl UI as well 2013-08-10 11:34:27 +02:00
Unknown W. Brackets
a80a7690c8 Fix SyncThread() not syncing during last event. 2013-08-09 23:18:37 -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
e82bae3708 Simplify easy_guard to avoid coding errors. 2013-08-09 22:57:53 -07:00
Unknown W. Brackets
1226c3dbd9 Try to prevent a deadlock if CPU doesn't NEXTFRAME. 2013-08-09 22:57:53 -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
68fb78e203 Be more careful with the stall address.
In case it's moved while running the list.
2013-08-09 22:57:52 -07:00
Unknown W. Brackets
e76f945c7e Use the native cond vars for the CPU thread. 2013-08-09 22:57:51 -07:00
Unknown W. Brackets
8c69020fa8 Use separate condition vars/locks for GPU sync. 2013-08-09 22:57:51 -07:00
Unknown W. Brackets
4803f72b36 Add a "multithreaded" UI option on Windows.
Not on other platforms since not yet tested.
2013-08-09 22:57:50 -07:00
Unknown W. Brackets
b0e6967697 Rename UseCPUThread to SeparateCPUThread. 2013-08-09 22:41:33 -07:00
Unknown W. Brackets
a56cac1eb3 Bail when CPU thread disabled to ensure good perf. 2013-08-09 22:41:32 -07:00
Unknown W. Brackets
3819886e2e Add a way to synchronize with the GPU thread. 2013-08-09 22:41:32 -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
Unknown W. Brackets
e7c7c5b3db Add a setting to launch a separate CPU thread. 2013-08-09 22:41:30 -07:00
CPkmn
8547eecd31 Update PGF.cpp 2013-08-09 18:49:01 -07:00
CPkmn
c067c48585 Sanity checks for shadow glyphs
Partially fixes text, huds and videos in Jeanne d'Arc.
These changes shouldn't negatively impact other games since all it does is makes sure shadow glyphs are within the vector sizes.
The text, huds and videos still don't fully display, but that's because of something else.
2013-08-09 17:52:01 -07:00
Henrik Rydgård
e03acc4c58 Merge pull request #3097 from thedax/patch-1
Fix some translation issues.
2013-08-09 05:12:27 -07:00
The Dax
8b6790187d Fix some translation issues and change a variable name(it was supposed to be iSFXVolume, but for some reason it never got changed over). 2013-08-09 08:04:13 -04:00
Henrik Rydgård
cfe5b18475 Merge pull request #3096 from thedax/minorAtracTextFix
Avoid confusion with Atrac3+ plugin download button.
2013-08-09 04:05:34 -07:00
The Dax
19001edd4d Change the Atrac3+ download buttons slightly to avoid confusion. It's fine to always show the button, but change it when we have it downloaded already. 2013-08-09 06:57:03 -04:00
Henrik Rydgård
1a1f142ea5 Merge pull request #3095 from thedax/removeStreamVBO
Remove Stream VBO option.
2013-08-09 02:22:30 -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
60ea0a5d03 Update native (use proper win32 condition variables in 64-bit builds) 2013-08-08 21:30:29 +02:00
Henrik Rydgard
174223c42b Fix VCMP (VC_TR) and optimize a little 2013-08-08 21:03:40 +02:00
Henrik Rydgård
c8ce303f4d Merge pull request #3088 from CPkmn/patch-2
Try fixing sceJpegGetOutputInfo again
2013-08-08 01:10:08 -07:00
CPkmn
1cf0b62e70 Try fixing sceJpegGetOutputInfo again
I guess the colour info address isn't supposed to be updated if the jpeg errors out, or I think so based on reports from the God Eater Burst thread in the forums. This shouldn't affect working jpegs since the address is still being updated before returning, just not if it errors out. If this doesn't work for the save from the forums, it would have never worked in PPSSPP builds up to today (it basically makes the function _only_ return null without updating the colour address, making it the equivalent of the only implementation other than mine, which was a stub, if it errors out). The previous commit I made worked in the Japanese version, but still bounced back in the US version (wtf?).
2013-08-07 16:39:42 -07:00
Henrik Rydgard
e954bd11da Oops 2013-08-07 23:52:05 +02:00
Henrik Rydgard
b49f6173c1 Switch back to gcc 4.6 temporarily (android) 2013-08-07 23:49:15 +02:00
Henrik Rydgard
bc00a7e302 Process frame timing on frame boundaries instead of flips. Frameskipping works better in many games. 2013-08-07 23:32:28 +02:00