Commit graph

13167 commits

Author SHA1 Message Date
Sacha
fd034b25cf Qt Mac: Fix #5835 (update lib for new ffmpeg) 2014-05-28 02:16:53 +10:00
Henrik Rydgård
8d84c912eb Merge pull request #6070 from unknownbrackets/gpu-blend
Apply unsupported blending modes in the shader
2014-05-27 17:45:33 +02:00
Henrik Rydgård
94810e2451 Merge pull request #6159 from sum2012/sceio
sceio:Remove fix Buzz Ultimate Music Quiz Crash Sporadically code
2014-05-27 17:44:00 +02:00
Henrik Rydgård
ac8c3b7892 Merge pull request #6148 from unknownbrackets/gpu-blocktransfer
Support memset and swizzling memcpy on framebuffers
2014-05-27 17:43:22 +02:00
Unknown W. Brackets
0de41cd028 Don't savestate replacement funcs.
This makes it so we can reorder them as we like, which is nicer, and also
makes sure there won't be weird compatibility problems or etc.
2014-05-27 08:02:41 -07:00
Unknown W. Brackets
8dcc09c9e1 Use a separate func for gpu memset(). 2014-05-27 07:50:01 -07:00
sum2012
a24b1cf024 sceio:Remove fix Buzz Ultimate Music Quiz Crash Sporadically code
Now no need the code.
link #4497
2014-05-27 22:47:28 +08:00
Unknown W. Brackets
ba2cf4f1d9 Make sure to rebind a texture after changing it. 2014-05-27 02:04:02 -07:00
Unknown W. Brackets
3e24786eab Disable the scissor test around blits.
Because it applies.
2014-05-27 02:00:28 -07:00
Unknown W. Brackets
fce7d8c697 Ignore the funcs for min/max/absdiff.
Seems from reports that they are indeed ignored, just wanted to verify.
2014-05-27 01:45:21 -07:00
Unknown W. Brackets
8f9a2b9882 Unbind the fbo texture when it's not used.
Just in case there are problems with decimating it or etc.
2014-05-27 01:45:20 -07:00
Unknown W. Brackets
0eae30dddb Set a bit to account for fixa/fixb/etc. logic. 2014-05-27 01:45:20 -07:00
Unknown W. Brackets
b8a2410934 Oops, typo. 2014-05-27 01:45:19 -07:00
Unknown W. Brackets
f80dee4164 Remove outdated comment.
Was all lies.
2014-05-27 01:45:19 -07:00
Unknown W. Brackets
b02fe1db3d Log when blitting a ton per frame, it can get slow. 2014-05-27 01:45:18 -07:00
Unknown W. Brackets
41ca303bee Skip a few more fixa/fixb combos. 2014-05-27 01:45:18 -07:00
Unknown W. Brackets
a67327759f Double using multiply not add, should be fine. 2014-05-27 01:45:17 -07:00
Unknown W. Brackets
4b978ed6f9 Apply unsupported blending modes in the shader.
This handles unsupported fixed color combinations, alpha doubling, etc.
Where possible, tries to avoid it - it means using a blit (without the
framebuffer fetch extension), which can slow things down a lot with tons
of drawcalls.
2014-05-27 01:45:17 -07:00
Unknown W. Brackets
b73c575418 Support swizzled framebuffer downloads.
Used in God Eater 2 when showing the load save screen.
2014-05-27 01:17:09 -07:00
Unknown W. Brackets
64f6012dba Support memsets of framebuffers as uploads.
Technically should clear stencil too... maybe it'd be better to handle
separately.
2014-05-27 01:17:09 -07:00
Unknown W. Brackets
95003cb77d Oops, reversed the check. 2014-05-27 00:57:40 -07:00
Unknown W. Brackets
ccb0e84631 Oops, forgot to move this, darn it. 2014-05-27 00:39:36 -07:00
Henrik Rydgård
67c6c32542 Merge pull request #6154 from unknownbrackets/gpu-readpixels
Fix some rendering mode changes
2014-05-27 09:38:35 +02:00
Henrik Rydgård
3836871af7 Merge pull request #6155 from unknownbrackets/ui-tweaks
Allow jit and fast memory to be reconfigured at runtime
2014-05-27 09:37:12 +02:00
Unknown W. Brackets
bd31b776c7 Report GHA phase shifting. 2014-05-27 00:03:28 -07:00
Unknown W. Brackets
a70b5abfb9 Allow jit to be enabled/disabled at runtime. 2014-05-27 00:02:51 -07:00
Unknown W. Brackets
b2e66d0b6a Clear jit when changing "fast memory".
This way it takes effect immediately.
2014-05-26 23:39:53 -07:00
Unknown W. Brackets
2dbf680278 Play it a bit safer on rendering mode changes.
This way funny things should be less likely.
2014-05-26 23:28:54 -07:00
Unknown W. Brackets
4095831772 Allow changing "read framebuffers" at runtime.
Fixes #6149.
2014-05-26 23:26:29 -07:00
Henrik Rydgård
b86b2fae78 Merge pull request #6147 from sum2012/Danganronpa
Add a missing Dangan Ronpa 1 hack
2014-05-27 00:45:28 +02:00
sum2012
03f9c3fe27 Add a missing Dangan Ronpa 1 hack
Dangan-Ronpa 1 PSP The Best Ver
2014-05-27 06:38:56 +08:00
Henrik Rydgård
7dfad9c5fd Merge pull request #6145 from unknownbrackets/danganronpa-hack
Apply a very specific hack for Danganronpa
2014-05-26 23:13:21 +02:00
Unknown W. Brackets
1a8369e51c Apply a very specific hack for Danganronpa.
This should allow playing at non-1x resolutions, and without slowing down
the entire game just for one small framebuffer.

Generally, hacks are a bad thing.  But even with memcpy and block transfer
stuff, we'll never be able to solve this game without some sort of hack.
Detecting memory reads will complicate cross-platform compat or slow
things down.
2014-05-26 11:40:46 -07:00
Unknown W. Brackets
8afd1f028c Add a couple more memcpy() variants. 2014-05-26 11:20:34 -07:00
Henrik Rydgård
4873c5c44a Merge pull request #6143 from unknownbrackets/gpu-minor
Don't block duplicate enqueues when intr pending
2014-05-26 10:56:59 +02:00
Henrik Rydgård
2275c3a457 Merge pull request #6142 from unknownbrackets/psmfplayer
End the video when we run out of packets
2014-05-26 10:56:33 +02:00
Henrik Rydgård
eead104ebe Merge pull request #6141 from unknownbrackets/gpu-blocktransfer
Fix a heap overflow in block transfers, fix most save picture downloads, optimizations
2014-05-26 10:53:02 +02:00
Unknown W. Brackets
ee8a180c41 Set the viewport on upload so 2x, etc. work. 2014-05-26 01:21:30 -07:00
Unknown W. Brackets
6243d0e8de Account for bpp mismatch in xfer upload. 2014-05-26 00:52:06 -07:00
Unknown W. Brackets
a29d2e418e When multiple framebuffers match, use nearest. 2014-05-25 22:57:07 -07:00
Unknown W. Brackets
4f03f693b6 Mark texture as needing reset after upload. 2014-05-25 22:35:14 -07:00
Unknown W. Brackets
e4dc702d68 Schedule the FBO blit during multithreading.
This was it's properly ordered with draws, and it runs on the right GL
context.
2014-05-25 22:08:15 -07:00
Unknown W. Brackets
9894b38a1d Support memcpy uploads to fbos.
Makes Vempire look right (has never worked before in any rendering mode.)
2014-05-25 22:01:08 -07:00
Unknown W. Brackets
9195019872 Allow memcpy gpu downloads.
Fixes FF4 battle transition effect, Trails in the Sky menu, etc.
2014-05-25 21:49:16 -07:00
Unknown W. Brackets
365012ec58 Fix block transfer upload.
Wasn't working properly, rendered to the wrong target.

No longer need the UpdateFromMemory() thing, now.
2014-05-25 21:48:44 -07:00
Unknown W. Brackets
8275f613ce UpdateMemory() now returns whether to skip the cpy.
This way it can do it itself as necessary in the right order.
2014-05-25 21:48:41 -07:00
Unknown W. Brackets
8228bee6bf Download only the necessary subareas.
Performance improvement in Tactics Ogre.
2014-05-25 19:50:40 -07:00
Unknown W. Brackets
230c7fb8a8 Don't block duplicate enqueues when intr pending.
Fixes #6138.
2014-05-25 18:52:31 -07:00
Unknown W. Brackets
df22d0609f End the video when we run out of packets.
If there are no audio or video packets left, even if we haven't hit the
pts, the video is over.
Fixes #6135, hanging in Chinese translation of Clannad.
2014-05-25 18:45:31 -07:00
Unknown W. Brackets
c42d04829f Detect if the game uses block transfer slivers.
In that case, it's better to read it once, than multiple times.
Improves performance and graphics in Grand Knights History.
2014-05-25 18:18:26 -07:00