Unknown W. Brackets
466a5418d2
Cut time in EstimatePerVertexCost().
...
From profling, this cuts 4% time while lighting is enabled, and 14% while
disabled (on ARM.) But maybe should just inline this...
2014-03-30 00:42:26 -07:00
Unknown W. Brackets
3001866d18
Skip flushing FPU/VFPU regs if none were allocated.
...
They're not used as often, so this usually saves time. About 1% during
tests.
2014-03-30 00:42:25 -07:00
Unknown W. Brackets
f55c81f096
Add some basic bounds checking for power freq sets.
2014-03-29 19:56:49 -07:00
Unknown W. Brackets
0af153efb4
Avoid a crash with a huge user memory font size.
...
Fixes tests.
2014-03-29 19:39:10 -07:00
Unknown W. Brackets
7cde2311e0
Include sceKernelThread.h in less headers.
2014-03-29 17:02:41 -07:00
Unknown W. Brackets
a4327702f1
Reduce some includes under GPU/.
2014-03-29 16:51:38 -07:00
Henrik Rydgard
58237d976f
Fix performance issue in BlockCache due to an instance of std::vector in every block:
...
Avoid creating the vector when not necessary.
This was especially noticeable in debug mode.
2014-03-29 22:26:51 +01:00
Henrik Rydgård
4c437218e4
Merge pull request #5766 from unknownbrackets/gpu-minor
...
Update some flags in GLES_GPU
2014-03-29 17:25:19 -04:00
Unknown W. Brackets
27550a2336
Update some flags in GLES_GPU.
...
It's useful to know if we need to have a correct PC value or downcount.
2014-03-29 14:10:35 -07:00
Henrik Rydgård
4b1499e57b
Merge pull request #5762 from unknownbrackets/gpu-minor
...
Shader ID optimizations and alpha test optimization
2014-03-29 13:51:11 -04:00
Unknown W. Brackets
0950e7b86d
Optimize ComputeVertexShaderID() a bit.
...
This is only like 1%. Along the way found and fixed an overlap of bits.
2014-03-29 10:35:09 -07:00
Unknown W. Brackets
1209bc7ba4
Optimize ComputeFragmentShaderID() a bit.
...
I've seen it decently high on some profiles (1-2%). This cuts it down by
12.5% when used in a tight loop. The temporary was 8%, the ifs were the
other 4.5%.
2014-03-29 10:21:04 -07:00
Unknown W. Brackets
2b7d2fdc4b
Optimize > and != 0 alpha tests.
...
There's no need to do rounding in this case. These are very common.
Also, if the test was !=, convert it to >, which may work better on
PowerVR.
2014-03-29 10:16:06 -07:00
Henrik Rydgård
aac5bab242
Merge pull request #5745 from sum2012/scempegbase-2
...
Correct sceMpegbase_BEA18F91 parameter
2014-03-29 12:32:31 -04:00
Henrik Rydgard
f99925261d
Merge branch 'raven02-patch-42'
...
Conflicts:
GPU/GLES/FragmentShaderGenerator.cpp
2014-03-29 17:26:33 +01:00
Henrik Rydgård
e270c3eafd
Merge pull request #5760 from raven02/patch-43
...
Return false when alpha blending disabled
2014-03-29 12:00:47 -04:00
raven02
664efe6812
Return false when alpha blending disabled
2014-03-29 22:04:59 +08:00
raven02
2944856c42
FS : Add missing gstate.isTextureMapEnabled()
2014-03-29 21:03:28 +08:00
Henrik Rydgard
37e9fc59b3
2x alpha: Safer change than the last attempt. Still fixes P2. I think this can be simplified, anyway.
2014-03-29 12:10:44 +01:00
Henrik Rydgard
27767fa85c
Revert "Rethink 2x src alpha->color doubling. Fixes #3379."
...
This reverts commit 47efded29fbde6e5cee23ad413b1da6e7566a7c0.
2014-03-29 12:01:47 +01:00
Henrik Rydgard
47efded29f
Rethink 2x src alpha->color doubling. Fixes #3379 .
2014-03-29 11:40:17 +01:00
Henrik Rydgård
04bcbfb9a3
Merge pull request #5754 from unknownbrackets/eclipse
...
Add CDT configuration to Eclipse project
2014-03-29 05:44:24 -04:00
Henrik Rydgard
94c1e56d9b
Merge branch 'gpu-minor' of github.com:unknownbrackets/ppsspp into unknownbrackets-gpu-minor
...
Conflicts:
GPU/GLES/VertexDecoder.cpp
2014-03-29 10:15:57 +01:00
Henrik Rydgard
74f593362b
Non-jit vertex decoder, morph: Clamp colors to 0-255.
2014-03-29 10:07:51 +01:00
Unknown W. Brackets
4b1737b0cd
vertexjit: Oops, don't use NEON when not supported.
2014-03-29 02:05:10 -07:00
Unknown W. Brackets
18f6407705
Clamp morph colors in non-vertexjit.
...
Not sure if any platforms use this...
2014-03-29 01:53:28 -07:00
Unknown W. Brackets
eb7873bb97
Add CDT configuration to Eclipse project.
...
No longer need to add spaces in random places. Was so annoying.
Note: you need to set the NDK path under Window -> Preferences -> Android
-> NDK. This will not copy assets though, I don't think (maybe we can add
a make rule instead?)
2014-03-29 01:13:45 -07:00
Henrik Rydgård
717c1cd34e
Merge pull request #5748 from unknownbrackets/armjit-minor
...
armjit: Allow R1 in regalloc, use LR as temp
2014-03-29 04:09:58 -04:00
Henrik Rydgård
b49f2d50de
Merge pull request #5753 from unknownbrackets/vertexjit
...
Fix some color morph issues
2014-03-29 04:07:18 -04:00
Henrik Rydgård
7370061a9b
Merge pull request #5751 from raven02/patch-39
...
Fix crash and wrong mp3 playback in Downstream Panic ULUS10322
2014-03-29 04:05:50 -04:00
Unknown W. Brackets
600842d9a2
armjit: Use prefixes on vscl's T arg.
...
Makes it pass one more thing in the prefixes test, but not sure exactly
how it operates. Better to have it the same as x86 and int anyway.
2014-03-29 01:00:29 -07:00
Unknown W. Brackets
3adab534c7
vertexjit: Fix dumb mistakes in NEON color morphs.
2014-03-29 01:00:02 -07:00
Unknown W. Brackets
162bd98877
vertexjit: Fix Jit_WriteMorphColor() on ARM.
...
It was totally wrong.
2014-03-29 00:24:34 -07:00
Unknown W. Brackets
6b606aa124
vertexjit: Fix some stupid mistakes in x86 morph.
...
Good to have somewhere to test it properly.
2014-03-29 00:15:35 -07:00
raven02
7577481d6e
Change it to ctx->bufferWrite %= ctx->mp3BufSize;
2014-03-29 12:37:33 +08:00
raven02
790c570e67
Fix crash and wrong mp3 playback in Downstream Panic ULUS10322
2014-03-29 12:16:57 +08:00
Unknown W. Brackets
5a89c17cf0
armjit: Allow R1 in regalloc, use LR as temp.
...
LR should be safe, although it may make stack traces not work within jit,
they don't really tend to work anyway.
2014-03-28 18:38:38 -07:00
Henrik Rydgård
7d6ce248bd
Merge pull request #5743 from tjhayasaka/v0.9.8-sdl-joystick
...
fix "unknown SDL joystick axes mapped to 'pad.X Axis-'" bug.
2014-03-28 20:12:41 -04:00
sum2012
1b98db916d
Add more logging
2014-03-29 06:43:26 +08:00
sum2012
7caccdb955
Use @kaienfr suggestion
2014-03-29 01:49:32 +08:00
sum2012
20861a6d00
Correct sceMpegbase parameter
2014-03-29 01:17:37 +08:00
Tomoaki Hayasaka
69ed995437
fix "unknown SDL joystick axes mapped to 'pad.X Axis-'" bug.
2014-03-29 01:16:44 +09:00
Henrik Rydgård
e5d5a8d124
Merge pull request #5740 from raven02/patch-35
...
Update few comments for 2x src/dst blending
2014-03-28 08:48:46 -04:00
raven02
e0fae728ad
Update few comments for 2x src/dst blending
2014-03-28 20:11:37 +08:00
Henrik Rydgard
c53b8ed8bf
Clean up some details in sceAudioCodec.
2014-03-27 22:53:57 +01:00
Henrik Rydgard
e90bcb166e
Merge branch 'Support_Audios' of github.com:kaienfr/ppsspp_cn into kaienfr-Support_Audios
2014-03-27 22:26:48 +01:00
Henrik Rydgard
221216b5b2
Bugfix in x64 emitter, thanks magumagu
2014-03-27 22:25:30 +01:00
kaienfr
779d90b8c5
Add DoState for sceAudiocodec
2014-03-27 15:17:54 +01:00
kaienfr
d4b9873872
Merge remote-tracking branch 'origin/master' into Support_Audios
2014-03-27 15:16:07 +01:00
Henrik Rydgård
36bdd99ef2
Merge pull request #5716 from thedax/win32ErrorMsg
...
Win32: when an invalid OpenGL driver is detected, don't offer a choice of quitting or not, just quit.
2014-03-26 17:14:11 -04:00