Commit Graph

524 Commits

Author SHA1 Message Date
Henrik Rydgård
73ed466e19 Set up Android build for the proper glslang 2016-12-20 02:31:41 +01:00
Henrik Rydgård
8aae624543 Use new flag to not build the glslangValidator and spirv-remap binaries 2016-12-20 02:01:30 +01:00
Henrik Rydgård
6b1c4fb118 Alphasort. Also attempt to retrigger Travis.. 2016-12-20 01:11:50 +01:00
Henrik Rydgard
b46bb1efdb glslang for vulkan: Use my proper glslang fork instead of the ugly old SDK-glslang fork 2016-12-20 00:30:09 +01:00
Florent Castelli
5db12ca54d Fix arch detection for fast_matrix_mul
Needed for iOS Simulator build
2016-12-18 22:17:41 +01:00
Florent Castelli
46fdc0f5f5 cmake: Move some cmake includes to ext 2016-12-18 22:17:41 +01:00
Florent Castelli
6852c602b9 glew: Move to ext 2016-12-18 21:13:45 +01:00
Henrik Rydgard
a2b49fd0e0 Update Vulkan headers. Hack around another validation check (which I beleive to be bugged). 2016-12-15 18:12:53 +01:00
Henrik Rydgård
aa964ea2e5 Update glslang submodule 2016-12-09 13:58:55 +01:00
Henrik Rydgård
4a7809881b Merge pull request #9139 from hrydgard/defensive-programming
Attempts to counter crashes seen in the Google Play developer console
2016-12-07 11:25:43 +01:00
Henrik Rydgard
f4b1152b00 Pick some safe changes from the android gradle branch (including windows CMake fixes) 2016-12-05 16:52:03 +01:00
latot
cb1e01f380 clean double end statements 2016-12-03 12:25:05 -03:00
latot
7047ad2271 fix sscanf types 2016-12-02 22:46:52 -03:00
Henrik Rydgard
5d5f10d956 Attempts to counter crashes seen in the Google Play developer console 2016-12-01 22:07:03 +01:00
Henrik Rydgard
bc746bd513 Merge branch 'ui-minor' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-ui-minor 2016-12-01 18:13:14 +01:00
Henrik Rydgard
fe6d2d4017 Avoid unaligned accesses when hashing vertex data on ARM. Fixes #9114, may help #9128 and #9129. 2016-12-01 15:56:05 +01:00
Florent Castelli
8c3552de74 cmake: Detect features at compile time
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
94d57f4573 maemo: Remove! 2016-10-12 13:13:09 +02:00
Henrik Rydgård
705627d6d3 Merge pull request #9053 from Orphis/android_define
android: Change preprocessor define to standard __ANDROID__
2016-10-12 13:12:14 +02:00
Florent Castelli
e0ff68b3f6 c++11: Remove compat header base/functional.h
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Florent Castelli
373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Unknown W. Brackets
5ab0db2cd3 Undo arm64 fix: was a local problem, after all. 2016-10-09 20:40:00 -07:00
Unknown W. Brackets
a8e108e233 Workaround arm64/clang crashes by avoiding TLS.
We only use it in these two places, it should be okay for now.  Still not
working on r13 on a SHIELD TV.
2016-10-08 12:08:19 -07:00
Unknown W. Brackets
246f3aa68d Merge pull request #8993 from neilmunday/master
Updated SDL2 to use the game controller API
2016-09-24 10:32:29 -07:00
Neil Munday
db2cc49e0d Modified SDL2 code to make full use of SDL2's Game Controller API. 2016-09-18 23:23:36 +01:00
Henrik Rydgard
3ee2b27cdd Update ext/armips 2016-09-18 23:11:41 +02:00
Unknown W. Brackets
a52fbfcff7 UI: Lock input while mutating views/screens.
This way we can't get an axis event while switching screens and crash.
2016-09-11 11:26:35 -07:00
Unknown W. Brackets
c5a83c02a6 Remove no longer relevant comments. 2016-09-10 22:04:25 -07:00
Unknown W. Brackets
92d930887f Android: Add both a lost and restore phase.
Lost = delete, restore = create.  Let's stick to never overlapping.

May help #8912.
2016-09-10 21:58:42 -07:00
Unknown W. Brackets
b3b96ad993 UI: Use powered slider repeat on all devices.
Some devices send through repeats, but we want to do the increased speed
thing.  It might be ideal to use its repeat rate settings, but we don't
have a good way to do that cross platform...

Fixes #8696.
2016-09-05 16:16:10 -07:00
Unknown W. Brackets
42f8bbde50 UI: Make sliders increase with button held. 2016-09-05 16:14:01 -07:00
Unknown W. Brackets
740365235b Make SplitString significantly faster.
This takes about 10% as long or less with simple strings, which really
improves UI layout performance when wrapping text.
2016-09-04 09:20:13 -07:00
Unknown W. Brackets
57e68be754 UI: Cache measured text sizes.
This can be a bit slow to ask the font renderer every frame, might as well
cache like we do the drawn version.
2016-09-04 09:10:50 -07:00
Henrik Rydgard
47cc898c65 Minor optimization in draw_text on Windows. May help #8953 a bit. 2016-09-04 15:27:55 +02:00
Kelly Youngblood
7d191ccc11 Adds --PS3 flag for PS3 controllr support on SDL. 2016-09-03 00:15:25 -05:00
Henrik Rydgård
6b4b21726b Merge pull request #8913 from unknownbrackets/ui-tweaks
Add setting tips on selection
2016-08-16 15:02:42 +02:00
Unknown W. Brackets
da7a42a957 UI: Measure text with & in it properly. 2016-08-14 14:57:39 -07:00
Unknown W. Brackets
53cc4524b1 UI: Center multiline text more correctly. 2016-08-14 14:57:38 -07:00
Unknown W. Brackets
f4c735ee4e UI: Allow scrollviews to wrap content.
In the opposing direction, we can't AT_MOST if we don't have a good size
and we're wrapping content.  This can happen inside a LinearLayout.
2016-08-14 13:09:55 -07:00
Unknown W. Brackets
086dc9e0ed Move Apple GL2.0 forcing to a common place. 2016-08-08 17:56:11 -07:00
Unknown W. Brackets
6088c7d5f5 Ensure elided core profile extensions are set. 2016-08-08 17:56:11 -07:00
Unknown W. Brackets
2e2674be21 Properly allow triggering a core context.
This will be useful on Mac.
2016-08-08 17:56:09 -07:00
Henrik Rydgård
0924dbfdee Merge pull request #8900 from unknownbrackets/ui-text-wrap
Wrap text in many places where it makes sense
2016-08-09 00:16:13 +02:00
Unknown W. Brackets
f0a8e931ff Remove UTF-8 BOMs from a few files.
And note the only ones that do need them in editorconfig.
2016-08-07 17:59:35 -07:00
Unknown W. Brackets
192d6ca60a UI: Allow explicit newlines in popup choice titles. 2016-08-07 17:44:02 -07:00
Unknown W. Brackets
604d6113c1 UI: Allow choices and checkboxes to wrap.
If the text is too long, they will scroll down first, then wrap.
2016-08-07 17:35:41 -07:00
Unknown W. Brackets
d6820f3cc3 UI: Allow measuring text with a scale. 2016-08-07 16:49:50 -07:00
Unknown W. Brackets
ab3ed7d2ef UI: Account for flexible things changing on wrap.
If something has a flexible width, that may affect its final calculated
height.  This allows it to grow in such a situation.
2016-08-07 16:35:58 -07:00