Commit Graph
18709 Commits
Author SHA1 Message Date
Unknown W. Brackets 7d34c20418 Split out the texscale/offset cmds. 2014-04-17 08:26:38 -07:00
Unknown W. Brackets e8f42f069e Split out some texture and testing cmds. 2014-04-17 08:18:43 -07:00
Unknown W. Brackets fbe28dbeef Move spline and bezier as well to separate funcs. 2014-04-17 08:09:44 -07:00
Unknown W. Brackets 286416af9f Don't even execute FF, it does nothing.
And it happens quite a lot in GoW, interestingly...
2014-04-17 08:05:32 -07:00
Unknown W. Brackets 12716afce2 Move out block transfer too, common in GoW. 2014-04-17 08:05:16 -07:00
Unknown W. Brackets 130c11c518 Move matrix loads to separate op cmds. 2014-04-17 08:00:01 -07:00
Henrik Rydgård 6deaf89d68 Merge pull request #5899 from raven02/patch-8
Flush GE_CMD_TEXLEVEL
2014-04-17 14:22:29 +02:00
raven02 ffdba45b4b Flush GE_CMD_TEXLEVEL 2014-04-17 19:48:22 +08:00
Henrik Rydgård e223ab7df6 Merge pull request #5898 from unknownbrackets/gpu-cmd-funcs
Use individual funcs, skipping the ExecuteOpInternal switch
2014-04-17 10:39:11 +02:00
Unknown W. Brackets 49738a4d9f Keep flags and func together.
Seems not to make a big difference, though.
2014-04-17 01:36:24 -07:00
Unknown W. Brackets c90f3a3e80 Split out more of the top GE cmd funcs. 2014-04-17 01:18:53 -07:00
Unknown W. Brackets 256e98b841 Add the common funcs to the direct exec calls. 2014-04-17 01:18:52 -07:00
Unknown W. Brackets 9851400681 Move a few GE cmds to separate funcs.
2% improvement in God Eater 2.
2014-04-17 01:18:52 -07:00
Unknown W. Brackets e06c135be4 Allow individual cmd funcs to be called.
Rather than a single one, ExecuteOpInternal().  This allows less "huge
switch" code organization, and will (once separated) also improve speed.
2014-04-17 01:18:51 -07:00
Unknown W. Brackets b2f12daba9 Don't reset OFFSETADDR, changes offsetAddr. 2014-04-17 01:18:51 -07:00
Unknown W. Brackets 33840c58de Android buildfix. 2014-04-17 01:09:33 -07:00
Unknown W. Brackets dc39e75fc1 Oops, forgot about proxy blocks for replace jal.
Also fix a crash when they are used.
2014-04-17 01:03:46 -07:00
Henrik Rydgård c6da68734f Merge pull request #5897 from unknownbrackets/jit-minor
Skip jals when replacing funcs
2014-04-17 09:29:10 +02:00
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 03605f379a Update native. May help with #5835 and #5840. 2014-04-17 00:06:13 +02:00
Henrik Rydgård daf2595eb0 Introduce arch.h, which provides the MSVC compatible arch defines on other platforms. 2014-04-17 00:05:34 +02:00
Henrik Rydgård cf3117dd71 Merge pull request #5876 from raven02/patch-3
Fix wrong stretch in Wildarm XF (non-buffered mode)
2014-04-16 10:40:23 +02:00
Henrik Rydgård 57be20e815 Merge pull request #5894 from vnctdj/patch-1
Changed translation category
2014-04-16 00:30:58 +02:00
vnctdj 9b825ffde3 Changed translation category
"Audio hacks" is not a "Main Setting", it should belong to "Audio".
2014-04-15 23:25:04 +02:00
Henrik Rydgård 45246ad9d3 Merge pull request #5891 from raven02/kill-alpha
Remove 'DisableAlphaTest' option
2014-04-15 22:00:18 +02:00
raven02 d2ce635bbf Remove option 2014-04-16 03:57:57 +08:00
Henrik Rydgård d6df5e77df Merge pull request #5875 from raven02/patch-2
Add #extension GL_EXT_shader_framebuffer_fetch : require
2014-04-15 15:59:20 +02:00
raven02 fbbd37d707 Delay thread for sceMp3Decode() 2014-04-15 21:55:28 +08: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
raven02 cd024e88e8 Add #extension GL_EXT_shader_framebuffer_fetch : require 2014-04-14 19:55:34 +08: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
raven02 a29255b647 Fix wrong stretch in Wildarm XF (non-buffered mode) 2014-04-14 11:40:04 +08:00
Unknown W. Brackets 980e6eaca6 Check for the GL_EXT_bgra extension. 2014-04-13 18:31:25 -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