Commit graph

7919 commits

Author SHA1 Message Date
raven02
0f55a6e042 Add GE_COMP_NEVER for alpha/color test to return false. 2013-08-28 14:33:15 +08:00
Henrik Rydgård
61896cd00a Merge pull request #3448 from thedax/master
Clarify an option name. It could be potentially confusing.
2013-08-27 15:13:46 -07:00
Henrik Rydgard
dcc63fd716 PowerVR: work around what appears to be a driver bug with equality test + discard, but not completely sure that discard isn't just broken.
If this change breaks something, it was probably already broken, and it's PVR-only.
2013-08-28 00:12:49 +02:00
The Dax
848218dc75 Clarify an option name. It could be potentially confusing. 2013-08-27 18:10:30 -04:00
Henrik Rydgård
5002979fc6 Merge pull request #3447 from thedax/master
Cleanup: Remove some unused options, and move some out of the "These are broken" section.
2013-08-27 14:42:47 -07:00
The Dax
d583732e0e Remove some unused options, and move one out of the "These are broken" section. 2013-08-27 17:36:04 -04:00
Henrik Rydgard
a530d47fcd Clamp bad audio pitches for safety. 2013-08-27 22:47:45 +02:00
Henrik Rydgard
dd667156f5 Oops 2013-08-27 22:14:13 +02:00
Henrik Rydgard
711d3ff52c Speedup a few 2D games on mobile by eliminating the alpha test in some conditions
That is, if there's no depth testing/writing, and the alpha equation will produce the same result as the alpha test (when the alpha test is >= 0 or != 0 and the blend func is safe), we turn off the alpha test.
2013-08-27 21:48:03 +02:00
Henrik Rydgard
6360fcb0ae Add some stats to get some idea of much alpha tested drawing we do.
Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.

I care about this because alpha testing drawing is very expensive
on some mobile chips.
2013-08-27 21:01:17 +02:00
Sacha
d6709a0b32 Remove unnecessary define. Add Qt5 compatibility to qmake file. 2013-08-28 03:19:49 +10:00
Henrik Rydgård
7cb4a27a51 Merge pull request #3445 from thedax/smallTranslationFix
Move "System Information" string to [Developer].
2013-08-27 08:43:53 -07:00
The Dax
59a1669bb3 Move "System Information" string to [Developer]. It's only used here, so I don't think it belongs in [General]. 2013-08-27 11:28:27 -04:00
Henrik Rydgård
9618389c71 Merge pull request #3444 from raven02/patch-25
Minor fix to bool useNonBufferedRendering
2013-08-27 07:47:11 -07:00
raven02
762beae5e5 Minor fix to bool useNonBufferedRendering 2013-08-27 22:31:50 +08:00
Henrik Rydgard
ee6f2613a8 Win32: Ask for destination alpha in the OpenGL context. Fixes some issues in non-buffered rendering, see #3436.
This apparently still happens on Android so will need to fix it separately there.
2013-08-27 16:25:44 +02:00
Henrik Rydgård
d80c82b3c4 Merge pull request #3443 from thedax/win32OSKUnicode
Remove old comment since OSK bypass supports Unicode now.
2013-08-27 06:29:13 -07:00
Henrik Rydgård
6c19cc66b5 Merge pull request #3442 from thedax/win32OSKUnicode
Win32: Update OSK bypass with Unicode/wchar/wstring support.
2013-08-27 05:54:49 -07:00
The Dax
91fe3a8d4c Remove old comment since this now supports wchar/Unicode. 2013-08-27 08:54:41 -04:00
The Dax
d5c4f6673c Switch from u32_le to u32, and truncate the user's input if it's too long(so that they still get something entered. It's probably confusing not to enter something). 2013-08-27 08:46:54 -04:00
The Dax
3c303925c9 Change u32_le to u32. 2013-08-27 08:41:59 -04:00
The Dax
f70faaa0c2 Terminate the loop early if it's going to overflow; there's no reason to keep riding it out. Also fix use of uninitialized variable. 2013-08-27 08:08:06 -04:00
The Dax
2e25f00585 Really prevent the possible buffer overflow. This is getting silly. 2013-08-27 08:02:42 -04:00
The Dax
58ca962d89 Prevent possible buffer overflow. 2013-08-27 07:44:32 -04:00
The Dax
05b860c167 Win32: Update OSK bypass with Unicode/wchar/wstring support. 2013-08-27 07:36:46 -04:00
Henrik Rydgård
bba0e290a1 Merge pull request #3441 from raven02/patch-23
softgpu : use switch case for texture format
2013-08-27 02:29:11 -07:00
Henrik Rydgard
cae5aef231 Detect Ouya correctly, for keymap assignment 2013-08-27 11:27:26 +02:00
Henrik Rydgård
65f70c2f09 Merge pull request #3440 from raven02/patch-24
GLES SW: inline with HW using 0,0,1 for non-normal case
2013-08-27 02:05:06 -07:00
raven02
d66f049d22 GLES SW: inline with HW using 0,0,1 ; 2013-08-27 16:52:17 +08:00
Henrik Rydgård
87c1dc3dd9 Merge pull request #3420 from Kingcom/Debug
Don't recreate debug windows
2013-08-27 01:48:01 -07:00
raven02
eca79d35a7 softgpu : use switch case for texture format 2013-08-27 16:26:01 +08:00
Henrik Rydgård
87592560c5 Merge pull request #3439 from raven02/patch-23
softgpu: Use switch case for different texture mapping mode
2013-08-27 01:21:58 -07:00
raven02
bfd60e95a4 softgpu: Use switch case for different texture mapping mode 2013-08-27 16:15:53 +08:00
Henrik Rydgård
454d794f9e Merge pull request #3438 from unknownbrackets/win32-unicode
Fix wide char usage in the debugger (garbage func names) and file handling
2013-08-27 01:06:13 -07:00
Henrik Rydgård
7aa9370fc8 Merge pull request #3437 from raven02/patch-22
Minor fix 'useBufferedRendering' bool variable
2013-08-27 01:05:36 -07:00
Henrik Rydgård
5b553d3c45 Merge pull request #3435 from unknownbrackets/audio-minor
Clear the mixbuffer when all channels empty
2013-08-27 01:05:20 -07:00
Henrik Rydgård
dde75143ac Merge pull request #3430 from unknownbrackets/framebuf-wait
Watch for consistently high flips, not spurts
2013-08-27 01:04:59 -07:00
Unknown W. Brackets
8ccd3773d9 Open files using wide functions on win32.
Fixes #3432.
2013-08-27 00:28:46 -07:00
raven02
7612335992 Minor fix 'useBufferedRendering' bool variable 2013-08-27 15:11:55 +08:00
Unknown W. Brackets
18792f64f9 Fix debugger wstring usage. 2013-08-26 23:54:48 -07:00
Unknown W. Brackets
a0db57a5d3 Clear the mixbuffer when all channels empty. 2013-08-26 21:06:26 -07:00
Unknown W. Brackets
57d057d661 Watch for consistently high flips, not spurts. 2013-08-26 20:12:26 -07:00
Henrik Rydgard
b6ce0b3d3b Fix some unicode bugs (open file dialog) 2013-08-26 21:32:35 +02:00
Henrik Rydgård
09baf1f4f6 Merge pull request #3426 from Kingcom/MemView
Highlight invalid addresses in memory view
2013-08-26 11:52:48 -07:00
Henrik Rydgard
af1ae8fde7 Win32: Set current directory at startup to where the exe is.
Fixes the "out-of-the-box" experience in MSVC.
2013-08-26 20:49:33 +02:00
Kingcom
bcad8e285b Merge branch 'master' of https://github.com/hrydgard/ppsspp into MemView
Conflicts:
	Windows/Debugger/CtrlMemView.cpp
2013-08-26 20:41:51 +02:00
Kingcom
4b3d4db43f Display ?? in memory view for invalid addresses 2013-08-26 20:29:24 +02:00
Henrik Rydgård
85270d5898 Merge pull request #3425 from thedax/updateNative
Update native.
2013-08-26 11:22:35 -07:00
The Dax
6a0d9b2bb6 Update native. 2013-08-26 14:18:58 -04:00
Henrik Rydgard
49c8d1911f Update native 2013-08-26 19:24:05 +02:00