13470 Commits

Author SHA1 Message Date
Henrik Rydgård
547f2a1075 Merge pull request #6308 from unknownbrackets/gpu-minor
Support gpu memcpy/memset line-by line
2014-06-13 20:49:03 +02:00
Henrik Rydgård
cb6aa5a708 Merge pull request #6305 from unknownbrackets/resched
Reschedule after many cases of eating cycles
2014-06-13 20:46:51 +02:00
Unknown W. Brackets
f84650b6be Report possible textures at subareas > 32.
For the ones outside the hack 0x04110000 range.
2014-06-13 09:19:51 -07:00
Unknown W. Brackets
005e3c0920 Oops, fix Qt missing debugger stuff. 2014-06-13 09:15:04 -07:00
Unknown W. Brackets
ac6cbf3524 Take the nearest fbo for a y-offset memcpy(). 2014-06-13 08:45:26 -07:00
Unknown W. Brackets
392897d447 Allow oversized gpu memcpys.
Seems to happen in Mana Khemia, where it uses h=384, but it looks
legitimate.
2014-06-13 08:42:58 -07:00
Unknown W. Brackets
00651ceea1 Support gpu memcpy/memset line-by-line.
Fixes some glitches in Final Fantasy Tactics, which uses memset line by
line (at width, not stride.)

Should still be relatively safe, unless a buffer is detected as too tall.
The memcpy() will still happen anyway.
2014-06-13 08:36:02 -07:00
Unknown W. Brackets
dad1bf41f7 Avoid making FBO copies in the debugger.
When it binds the texture preview.  Not needed.
2014-06-13 08:35:12 -07:00
Unknown W. Brackets
aa6355a9e5 Reschedule after many cases of eating cycles.
All of these eat enough cycles they could cause issues in a loop, and I'm
pretty sure they would reschedule.
2014-06-13 00:30:21 -07:00
Henrik Rydgård
3da962f585 Merge pull request #6300 from unknownbrackets/gpu-blocktransfer
Try to handle more block transfer / tex render cases
2014-06-12 20:34:26 +02:00
Unknown W. Brackets
025b92593a Just don't use render-to-text format mismatches.
This already excludes CLUTs.
2014-06-12 07:46:56 -07:00
Unknown W. Brackets
1a25456e52 Detach a format mismatch that's not rendering.
Assume we'd be better off reading ram.
2014-06-12 00:48:21 -07:00
Unknown W. Brackets
c29062de9f Add memory breakpoints on sceIo read/write. 2014-06-12 00:42:25 -07:00
Unknown W. Brackets
89206a8a09 Allow render-to-tex with > 16 y offset.
Trying to keep it cautious in case our sizes are wrong.
2014-06-12 00:41:42 -07:00
Henrik Rydgård
89bbc90678 Merge pull request #6299 from unknownbrackets/gpu-blocktransfer
Track framebuffer memory dirty more carefully
2014-06-12 09:01:38 +02:00
Henrik Rydgård
65153b55fa Never detach shaders as some drivers may have broken semantics. May help #6294
(you're supposed to be able to detach them after link)
2014-06-12 08:58:14 +02:00
Unknown W. Brackets
9b12a4893d Track framebuffer memory dirty more carefully.
Fixes #6296, Grand Knights History slowdown during battle transition.  May
also more correctly identify block transfer downloads.
2014-06-11 22:21:08 -07:00
Sacha
89fde3bc7c Typo 2014-06-12 03:20:17 +10:00
Sacha
e65798014a Qt: Allow Mac OSX to use SDL Joysticks as well. Fixes #6284 2014-06-12 02:19:53 +10:00
Sacha
1ef3ac6e55 CMake: Use a default build (Release). Put Blackberry cflags back to Lists, otherwise overwritten. 2014-06-11 23:28:51 +10:00
Sacha
b0b265e514 CMake: Fix up optimisations (broken for everyone except Apple?), move some Blackberry lines to toolchain, enable assembly, use add_definitions for definitions and *flags for flags, remove redundant lines. 2014-06-11 23:03:09 +10:00
Henrik Rydgård
141553274c Merge pull request #6291 from unknownbrackets/gpu-blocktransfer
Flush before blitting, skip unlikely depthcopy case
2014-06-11 10:15:50 +02:00
Unknown W. Brackets
b9f805c71f Fix graphical artifact in Jeanne d'Arc world map.
We need to use the last set render framebuffer, not the current one at
copy to output.
2014-06-11 00:54:54 -07:00
Unknown W. Brackets
efc2de41ae Ignore depth buffers with stride = 0.
They're clearly not being used.
2014-06-11 00:40:47 -07:00
Unknown W. Brackets
c49ba888b5 Flush draws before doing any block transfers.
Otherwise, we might flush on top, or we might download the wrong thing.
2014-06-11 00:28:28 -07:00
Unknown W. Brackets
dd4b191003 Correct Gods Eater Burst tex download size.
Probably takes care of #6289, although it doesn't crash for me.
2014-06-10 22:59:08 -07:00
Sacha
4ed944a576 Remove redundant armv7 defines. 2014-06-11 15:15:39 +10:00
Henrik Rydgard
3e97713d16 Revert "Remove option" (disable alpha test)
Fixes issue #6286.

This reverts commit d2ce635bbfbf2a68517ed7eac10b3923d0f3c3c8.
2014-06-10 23:13:42 +02:00
Henrik Rydgård
2a3496b65c Merge pull request #6287 from hrydgard/desktop-shader-precision
Disable precision qualifiers on desktop GL
2014-06-10 23:12:28 +02:00
Henrik Rydgard
34b5a1c2f3 Disable precision qualifiers on desktop GL 2014-06-10 22:44:53 +02:00
Sacha
c745072b55 Update Symbian to GCC 4.8.3 2014-06-11 03:10:50 +10:00
Sacha
561935907e Bring back some ifdefs 2014-06-10 23:22:44 +10:00
Sacha
37b7667038 Remove some unnecessary #ifdef's relating to Symbian. 2014-06-10 23:06:00 +10:00
Unknown W. Brackets
adee76cd62 Add a matching PerformMemoryUpload().
Just so we have both Download and Upload to use later.
2014-06-10 00:45:03 -07:00
Unknown W. Brackets
5bd1d9d009 Avoid corrupting mem if our framebuf size is wrong.
Let the size specify the framebuffer height, which we are most likely to
have gotten wrong.
2014-06-10 00:15:05 -07:00
Unknown W. Brackets
d5aae5a705 Match block transfer address even when uncached.
Rhythm8 for example uses an uncached address for the dest framebuffer.
2014-06-09 23:28:54 -07:00
Sacha
154d5f7c80 Qt: Prevent unexpected bitness override on Mac. 2014-06-10 16:05:53 +10:00
Unknown W. Brackets
ef12694c4b Don't update render tex x/y offset unless matched.
Sometimes we have false matches, they should be skipped.  Fixes some bloom
that is off in some games.
2014-06-09 22:45:14 -07:00
Sacha
9d9d135176 Symbian buildfix, x11 linker order 2014-06-10 15:33:30 +10:00
Sacha
87c7b31e77 Qt: Mac arch detection workaround on Qt4. Fix a conflict. 2014-06-10 15:11:25 +10:00
Henrik Rydgard
56a513e20a Oops, accidentally changed the non-android path in a bad way. 2014-06-10 01:06:22 +02:00
Henrik Rydgard
0b42530fd8 Use low-level I/O on Android for 64-bit offset support
Fixes videos in FF Type-0 on Android. See #6268
2014-06-10 01:00:34 +02:00
Henrik Rydgard
120e4329ba Revert the analog key names (lost mappings) 2014-06-10 00:24:14 +02:00
Henrik Rydgard
c39c36ddea Improve layout of control mapping screen 2014-06-09 22:26:23 +02:00
Henrik Rydgard
e01f8232bd Try the quickfix proposed for 6272 at 1080p, works nicely.
Might want to do something more ambitions, too, allowing minor crops
on more resolutions...
2014-06-09 21:22:12 +02:00
Sacha
5598fe4bde Travis: Fix Blackberry 2014-06-10 04:16:43 +10:00
Henrik Rydgard
d6b51d4dfa Reduce some excessive logging 2014-06-09 19:40:05 +02:00
Henrik Rydgard
339c4d7dc3 Fix a bunch of typos breaking various utility shaders on GLES
Fixes white shadows in FF-Type 0 on Tegra, as mentioned in #6268
2014-06-09 19:15:45 +02:00
Sacha
3e50086d19 Travis: update. Fix screenshots in Qt 2014-06-10 02:51:23 +10:00
Sacha
e75801a9d1 Travis: Use g++ 4.8 on Linux and Blackberry. 2014-06-10 00:35:30 +10:00