Commit graph

12709 commits

Author SHA1 Message Date
Unknown W. Brackets
ddd6e3024d Skip jals when replacing funcs.
Improves performance in God Eater (when replacements enabled.)
2014-04-16 23:57:52 -07:00
Henrik Rydgård
aeb1ecdcc5 Merge pull request #5883 from unknownbrackets/texcache
Ignore uncached/kernel bits in texture cache
2014-04-14 17:10:47 +02:00
Unknown W. Brackets
089fea7185 Ignore uncached/kernel bits in texture cache.
Although I suppose we could respect uncached and never cache...

Possibly #5879.
2014-04-14 07:58:00 -07:00
Unknown W. Brackets
a411ec6d08 Don't use BGRA for upscaled textures.
Since they aren't color swapped.  Fixes #5881.
2014-04-14 07:34:04 -07:00
Henrik Rydgård
c7ddd4564c Merge pull request #5839 from kaienfr/Universal_Audio_Branch
Universal audio branch
2014-04-14 14:00:21 +02:00
kaienfr
c6a1b0e743 Provide a new method AuCtx::AuCreateCodecContextFromSource()
This method can automatically read audio information from file (as channels, sample rate etc) via ffmpeg,
and create accurate ffmpeg's codec context.
Especially used for unknown audio format but supported  by ffmpeg.
2014-04-14 13:23:10 +02:00
kaienfr
73d8786078 Change error log to info in sceMp3LowLevelInit 2014-04-14 12:00:19 +02:00
kaienfr
cc933d6fc9 Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch 2014-04-14 11:49:27 +02:00
kaienfr
d5fde0baee implement sceMp3GetFrameNum 2014-04-14 11:47:28 +02:00
Unknown W. Brackets
419e812c9a Also color swap DXT textures.
Probably #5878.
2014-04-14 01:27:47 -07:00
Henrik Rydgård
f1038ed1b3 Merge pull request #5874 from unknownbrackets/texcache2
Use GL_BGRA for 32 bit textures on Windows
2014-04-14 09:31:49 +02:00
Unknown W. Brackets
943353faac Use GL_BGRA for 32 bit textures on Windows.
25% improvement in Popolocrois, probably decent gains in other games using
32-bit textures often.  FF2 for example doesn't.
2014-04-14 00:28:31 -07:00
Henrik Rydgård
a285d047ea Merge pull request #5873 from unknownbrackets/texcache
Fix texture cache invalidation...
2014-04-14 09:16:30 +02:00
Henrik Rydgård
35a31cd33f Merge pull request #5877 from unknownbrackets/gpu-minor
Improve God of War performance
2014-04-14 09:15:38 +02:00
Unknown W. Brackets
ed99c33cd7 Interpret iForceMaxEmulatedFPS based on 1.001 NTSC. 2014-04-13 21:47:11 -07:00
Unknown W. Brackets
9982d04f9d Optimize the case of a direct byte copy.
Small improvement (like 3.5%) in God of War.
2014-04-13 21:31:30 -07:00
Unknown W. Brackets
f4458edc76 Avoid unbinding the current fbo on block transfer.
Improves God of War performance by 25% (at least in the demo.)
2014-04-13 21:11:17 -07:00
Unknown W. Brackets
ca6e4635aa Fix texture cache invalidation. 2014-04-13 16:25:09 -07:00
Unknown W. Brackets
dc0eea0522 Propagate texcache hash fails through cluts.
In games that use palette swapping (hi, FF2), if we detect a change in
a texture, another texture with the same address but new clut might not be
rehashed.

This just marks all other textures as dangerous when a hashfail occurs.

Fixes FF2 from recent optimizations.  It's slower, but still much faster
than before.
2014-04-13 16:20:58 -07:00
Unknown W. Brackets
58038c05fc Simplify gstate_c savestate code a bit.
So it's not as awkward to modify.
2014-04-13 15:16:51 -07:00
Henrik Rydgård
36c751976a Merge pull request #5872 from unknownbrackets/texcache
Use flags to avoid hashing textures when unchanged
2014-04-14 00:06:08 +02:00
Unknown W. Brackets
27708d6f97 Merge pull request #5871 from hrydgard/sceiodread_ms0check
More elegant way of solving #5839 (d_private in sceIoDread)
2014-04-13 14:52:39 -07:00
Unknown W. Brackets
6cfc61665d Switch to a bitmask instead. 2014-04-13 14:45:55 -07:00
Henrik Rydgard
f285b12dcf Make strcpy_limit slightly more sane. 2014-04-13 23:43:32 +02:00
Henrik Rydgard
c9eb4a1916 VFSFileSystem too 2014-04-13 23:34:08 +02:00
Unknown W. Brackets
4c1c694d4b Use flags to avoid hashing textures when unchanged.
If only parameters change (like wrapping or clut, etc.) we don't need to
rehash the data - we know it hasn't changed.

Should reduce the distance between lazy texture hashing on and off.
2014-04-13 14:22:39 -07:00
Henrik Rydgard
a53ecd7da3 More elegant way of solving #5839 (d_private in sceIoDread)
We flag filesystems as being FAT32 instead of checking for "ms0:".
2014-04-13 23:22:17 +02:00
Henrik Rydgård
ee4c464305 Merge pull request #5870 from VIRGINKLM/master
Blacklist GLTools (Chainfire3D-like app for 3.0+)
2014-04-13 22:37:20 +02:00
Klimis Ioannidis
a758781544 Blacklist GLTools (Chainfire3D-like app for 3.0+) 2014-04-13 23:25:56 +03:00
Henrik Rydgård
1b30c5b212 Merge pull request #5869 from unknownbrackets/texcache
Avoid rehashing an unchanged texture
2014-04-13 22:21:44 +02:00
Unknown W. Brackets
2f72da8087 Don't dirty the texture on texmapenable.
Tales of Phantasia X flips on and off texturing during battle transitions.
This causes tons of needless rehashes.
2014-04-13 13:19:35 -07:00
Unknown W. Brackets
b6dc7eba8b Simplify texture status checks a bit. 2014-04-13 13:19:35 -07:00
kaienfr
6db28f0691 more cleanup 2014-04-13 21:42:46 +02:00
kaienfr
d5e583ee14 correct some comments. 2014-04-13 21:15:41 +02:00
kaienfr
ba34b211f1 Support sceMp3LowLevel*
Gundam G custom BGM is supported now :)
2014-04-13 21:11:04 +02:00
Henrik Rydgård
74fcde8b1f Merge pull request #5867 from unknownbrackets/gpu-minor
Avoid diff checks in ExecuteOpInternal, check in runloop
2014-04-13 20:11:27 +02:00
Unknown W. Brackets
f2ff8544c7 Don't check diff in ExecuteOpInternal().
Since it's not called if !diff, there's no need.  Small performance
improvement.
2014-04-13 10:25:14 -07:00
Unknown W. Brackets
e780a645cb Use the FLAG_EXECUTEONCHANGE flag.
Improves fps by 1-3% in some games, seems to be a win after all.
2014-04-13 10:23:21 -07:00
Unknown W. Brackets
22a80fb7be softgpu: Avoid multithreading thin polygons.
Small performance improvement (5-6% in some areas.)
2014-04-13 09:01:14 -07:00
Unknown W. Brackets
0d59fc0d2e Oops, forgot to reset the frame when unchanged.
Fixes #5861.
2014-04-13 08:15:48 -07:00
Henrik Rydgård
36b8ed8a27 Mac buildfix 2014-04-13 17:14:45 +02:00
kaienfr
74476ad328 Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch 2014-04-13 15:06:41 +02:00
Henrik Rydgård
e8d0cc6c89 Merge pull request #5865 from raven02/patch-1
Only write d_private for memory stick
2014-04-13 15:00:43 +02:00
kaienfr
4eedd7a3cd Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch 2014-04-13 14:39:56 +02:00
kaienfr
7ef2678cc9 Update sceAac module in using universal audio context class (AuCtx) 2014-04-13 14:38:42 +02:00
raven02
6fb2934a6e Only write d_private for memory stick 2014-04-13 20:10:47 +08:00
Henrik Rydgård
c7aafadfb1 Merge pull request #5862 from raven02/patch-2
Put in parameters for sceMp3LowLevelInit/Decode
2014-04-13 12:24:36 +02:00
raven02
3a0b17a50f Put in parameters for sceMp3LowLevelInit/Decode 2014-04-13 17:18:18 +08:00
Henrik Rydgård
9bcb2f3a0e Merge pull request #5859 from raven02/patch-1
Implement in-shader ABSDIFF blending mode
2014-04-13 10:18:59 +02:00
Henrik Rydgård
cb3db6ada4 Merge pull request #5854 from unknownbrackets/fbo-sizing
Try to improve FBO sizing
2014-04-13 10:16:23 +02:00