Commit Graph
10847 Commits
Author SHA1 Message Date
Henrik Rydgård 15a195ef16 Update native with libpng16 workaround for Mac 2013-12-09 11:20:24 +01:00
Henrik Rydgård 4b605045ea Merge pull request #4767 from unknownbrackets/moduleinfo
Return much more correct values for module info
2013-12-09 01:02:59 -08:00
Henrik Rydgård fb54de9c02 Merge pull request #4762 from thedax/saveDialogAllowHeldBtns
Save/Load dialogs: Allow held directional buttons to scroll up and down the list repeatedly.
2013-12-09 00:49:17 -08:00
Unknown W. Brackets 1f32720d8f Return much more correct values for module info.
sceKernelQueryModuleInfo() was just completely wrong before.
2013-12-09 00:45:54 -08:00
Henrik Rydgård 7890e47bdd Merge pull request #4766 from unknownbrackets/softgpu2
Improve softgpu performance a bit more
2013-12-09 00:40:43 -08:00
Unknown W. Brackets c6a441965e Move shared clut check to gstate. 2013-12-08 23:11:56 -08:00
Unknown W. Brackets cdccf06b62 softgpu: Avoid some ScreenToDrawing() overhead. 2013-12-08 22:38:09 -08:00
Unknown W. Brackets 30394df775 softgpu: Make texture lookups do less math. 2013-12-08 22:37:45 -08:00
Unknown W. Brackets 2b10fbae1e Small tweaks to rel2 logging. 2013-12-08 22:34:36 -08:00
Sacha dd6479c872 Blackberry: Improve packaging. 2013-12-09 14:43:20 +10:00
The Dax 814a81b692 Allow held directional buttons to scroll up and down the list repeatedly. 2013-12-08 20:33:16 -05:00
Henrik Rydgard bd1d4e2d92 As if softgpu wasn't slow enough already, implement bilinear filtering. 2013-12-09 01:44:23 +01:00
Unknown W. Brackets 2278bee910 Fix double free when saving. 2013-12-08 14:46:05 -08:00
Henrik Rydgård 9f8f023ff1 Merge pull request #4758 from unknownbrackets/softgpu2
Use multiple threads if available for softgpu.
2013-12-08 14:42:19 -08:00
Unknown W. Brackets 637a9de75d Optimize out some clear mode checks.
Since it's really common and the rasterizer is slow for large draws.
2013-12-08 14:24:17 -08:00
Unknown W. Brackets 598d509fb9 Use multiple threads if available for softgpu.
VIVA OVERHEAD.  But it's actually generally faster this way, even with
only 2 cores running (but not a huge improvement then.)

On an i7, this improves things ~2.5x with 8 cores.
2013-12-08 13:41:20 -08:00
Henrik Rydgård 7dd9951aa2 Merge pull request #4756 from unknownbrackets/savedata
Load savedata images dynamically, cleanup oneshot file reads
2013-12-08 12:49:04 -08:00
Unknown W. Brackets 0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Unknown W. Brackets 2d3f0758c1 Dynamically manage PPGe images so 50+ are okay.
Otherwise, we try to allocate all at once and could run out of ram.

Should fix #2242.
2013-12-08 11:06:18 -08:00
Unknown W. Brackets 18bcf63ee9 Add a convenience helper to load a file oneshot. 2013-12-08 11:05:36 -08:00
Henrik Rydgard e2080f6c65 Revert "STENCIL_VALUE_UNKNOWN for DECR/INCR/INVERT"
This reverts commit 59d3b92e71.

Revert "zero alpha if stencil op consistently says to zero for format 5551 as well"

This reverts commit ed07a7f411.
2013-12-08 17:48:22 +01:00
Henrik Rydgård 93d501518a Merge pull request #4754 from raven02/patch-32
Zero alpha if stencil op consistently says to zero for format 5551
2013-12-08 06:36:38 -08:00
raven02 59d3b92e71 STENCIL_VALUE_UNKNOWN for DECR/INCR/INVERT 2013-12-08 22:19:13 +08:00
raven02 ed07a7f411 zero alpha if stencil op consistently says to zero for format 5551 as well 2013-12-08 22:05:31 +08:00
Sacha 68e5dbf517 Turn b.sh in to a centralised CMake builder for Native(Linux/BSD), Android, iOS and Blackberry. 2013-12-08 23:18:06 +10:00
Henrik Rydgard 7b4759384f Only zero alpha if stencil op consistently says to zero.
Otherwise we may be better off keeping the alpha.
2013-12-08 13:04:54 +01:00
Henrik Rydgard 109decf481 Actually fix headless build, doh 2013-12-08 12:12:45 +01:00
Henrik Rydgard 628bf497dd Hopefully fix UV scaling properly this time.
Check the faces in Hexyz Force please.
2013-12-08 11:52:20 +01:00
Henrik Rydgard f5e7a33c68 Handle duplicate on-screen messages better (promote the old one to top). 2013-12-08 11:51:33 +01:00
Henrik Rydgard 6e47401baf Fix headless build 2013-12-08 11:47:41 +01:00
Sacha a0c5af288c Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt. 2013-12-08 20:16:34 +10:00
Henrik Rydgård 08a0709091 Merge pull request #4751 from unknownbrackets/reporting
Cut down on reporting of FBO misuse
2013-12-08 01:18:39 -08:00
Henrik Rydgård 49980441a3 Merge pull request #4747 from unknownbrackets/stencilalpha
Attempt to pick a better blend for stencil replace
2013-12-08 01:13:18 -08:00
Unknown W. Brackets dc87cd2045 Stop reporting system param reads.
So games use it.  We'll have to decide what to do with that information,
but the reporting isn't that useful now.
2013-12-08 01:10:24 -08:00
Unknown W. Brackets 0e4ca7f9a8 Stop reporting logic ops.
We support them on desktop and they're not really often used.
2013-12-08 00:48:23 -08:00
Unknown W. Brackets 9de7b34d1c Cut down on reporting of FBO misuse.
These cases are likely to be okay.
2013-12-08 00:38:10 -08:00
Unknown W. Brackets 2df1db4c7e Avoid optimizing out both constant colors. 2013-12-07 23:24:25 -08:00
Unknown W. Brackets a4780f5199 Don't forget the alpha in non-fixed blending. 2013-12-07 23:21:45 -08:00
Sacha d5147c4234 Add ability to change nickname and take screenshot to Qt Desktop UI. 2013-12-08 04:57:06 +10:00
Unknown W. Brackets 808eeb3a25 Attempt to pick a better blend for stencil replace. 2013-12-07 10:02:46 -08:00
Sacha 0a0351d2b0 Windows buildfix. Needed path in UI.vcxproj. 2013-12-08 03:21:40 +10:00
Sacha f8da6550f7 Only include image writing headers on Windows. Since only it does screenshots right now. 2013-12-08 03:06:15 +10:00
Sacha dde88b6ebd Windows/Android buildfix. 2013-12-08 02:49:51 +10:00
Sacha 21ae157f66 Remove stb_image usage (no longer used for anything). 2013-12-08 02:37:06 +10:00
Sacha 6ea758db67 Use libpng to load PNGs. Fixes #4689. 2013-12-08 01:42:17 +10:00
Henrik Rydgard 0c413d118d Update native: disable EGLConfigChooser on android.
It seems to choose suboptimal mode on several phones.

May cause us to get no stencil buffer in non-buffered, but meh.
2013-12-07 15:21:16 +01:00
Henrik Rydgård 0368b5e037 Merge pull request #4744 from raven02/patch-28
Set src/dst alpha to non GL_ZERO in case STENCIL_VALUE_UNIFORM
2013-12-07 06:11:28 -08:00
raven02 60def7baf9 Set src/dst alpha to non GL_ZERO in case STENCIL_VALUE_UNIFORM 2013-12-07 21:11:47 +08:00
Henrik Rydgard e7c3c76f6b Update native 2013-12-07 12:53:32 +01:00
Henrik Rydgård ca4bfca458 Merge pull request #4741 from unknownbrackets/stencilalpha
Replace alpha when blend mode allows it.
2013-12-07 03:03:19 -08:00