Commit graph

26337 commits

Author SHA1 Message Date
Henrik Rydgård
e67a0606ef Vulkan: Always write gl_PointSize, fixes #12364. Remove unnecessary predeclaration of gl_Position.
Replaces #12393.

The predeclaration used to be required by early versions of glslang but is no longer. Since the GLSL compiler is controlled by us, we don't need to fear incompatibilities.
2019-10-07 19:57:13 +02:00
Henrik Rydgård
e0f60eba60
Merge pull request #12395 from unknownbrackets/android-minor
Android: Setup UI callback earlier if possible
2019-10-07 19:48:52 +02:00
Unknown W. Brackets
b75291375a Android: Setup UI callback earlier if possible. 2019-10-06 16:11:15 -07:00
Unknown W. Brackets
d00eff7137 UI: Allow pinning remote ISO paths. 2019-10-06 12:40:00 -07:00
Unknown W. Brackets
e5eb849e8b UI: Handle remote browsing asynchronously. 2019-10-06 12:06:57 -07:00
Unknown W. Brackets
8d3da2ce88 UI: Cleanup browse button check. 2019-10-06 09:34:23 -07:00
Unknown W. Brackets
2d7ce0afa3 UI: Allow remote paths to be pinned.
Currently, the listing request is synchronous, but it works fine
otherwise.
2019-10-06 09:31:06 -07:00
Unknown W. Brackets
3e12734b80 http: Use relative paths for remote isos. 2019-10-06 08:50:35 -07:00
Unknown W. Brackets
78571b8e37 http: Don't treat http:// as a relative path. 2019-10-06 08:30:39 -07:00
Henrik Rydgård
bf1777f7d3 1.9.3 commit 2019-10-06 15:02:44 +02:00
Henrik Rydgård
e5125a196c
Merge pull request #12391 from hrydgard/more-sizing-fixes
More sizing fixes. I think this will do it for 1.9.3.
2019-10-06 14:01:31 +02:00
Henrik Rydgård
f65258fc60 Android: Finally fix our display sizing problems for good, hopefully. 2019-10-06 13:25:44 +02:00
Henrik Rydgård
d5f2d74257 Android: Preparation for future cutout (notch) support 2019-10-06 13:25:35 +02:00
Henrik Rydgård
ccda27edcf Increase max aspect to 2.4. Fixes #12349 2019-10-06 13:22:14 +02:00
Henrik Rydgård
f342d8d856 Logging improvements 2019-10-06 13:21:57 +02:00
Henrik Rydgård
87b2f4e186
Merge pull request #12390 from unknownbrackets/immersive
Android: Setup UI callback before settings change
2019-10-06 08:08:42 +02:00
Unknown W. Brackets
d137f35c64 Android: Setup UI callback before settings change.
We need to receive a notification of our own change, or the initial flag
will be out of sync.  Also adds it in the javaGL path.
2019-10-05 16:21:13 -07:00
Unknown W. Brackets
3cb0fcb2dd
Merge pull request #12389 from hrydgard/simplify-fullscreen-touch-calc
Make use of OnSystemUiVisibilityChangeListener to check whether navbar is hidden
2019-10-05 15:46:21 -07:00
Henrik Rydgård
0698944752 Fixes 2019-10-06 00:20:49 +02:00
Henrik Rydgård
c023cd7e20 Make use of OnSystemUiVisibilityChangeListener to check whether navbar is hidden. Affects DPI calculations.
Also recalculate all dp parameters after either display or buffer size changed.
2019-10-05 23:30:50 +02:00
Henrik Rydgård
349e64fe31 Improve the touchscreen test screen with some numbers.
Getting closer to finding out what's wrong on the MOQI I7S when
using the system fullscreen button...
2019-10-03 18:31:20 +02:00
Henrik Rydgård
b79f421b97 Upgrade gradle version again 2019-10-03 12:02:13 +02:00
Henrik Rydgård
4ddbe98b99
Merge pull request #12383 from psyke83/kmsdrm_swapinterval
SDL: ensure swap interval is set correctly for SDL2 kmsdrm driver
2019-10-03 09:03:55 +02:00
Conn O'Griofa
18edfefa0a SDL: ensure swap interval is set correctly for SDL2 kmsdrm driver
It appears that SDL2's kmsdrm driver ignores the swap interval setting
if the SDL context has not yet been created. Moving the call to after context
creation allows it to work as expected.

Fixes vsync when running ppsspp in a KMS context using the SDL2 kmsdrm driver
(which is especially useful for Raspberry Pi 4 B, but is also needed for other
systems including Raspberry Pi 3B via firmware KMS & Intel Haswell i965 via
KMS on x64).
2019-10-03 07:40:19 +01:00
Unknown W. Brackets
5a4a96893e
Merge pull request #12382 from hrydgard/touch-test-screen
Touchscreen: Apply weihouya's fix, add a touchscreen test screen.
2019-10-02 20:04:16 -07:00
Henrik Rydgård
0b9353b1dc Touchscreen: Apply weihouya's fix, add a touchscreen test screen. See #12381. 2019-10-02 22:05:34 +02:00
Henrik Rydgård
6a1676413e Don't assert if Discord not shut down properly. Possible workaround for #12140. 2019-09-30 09:57:32 +02:00
Unknown W. Brackets
be5d93d5f1 Vulkan: Compile compute shaders only if enabled. 2019-09-30 00:39:00 -07:00
Unknown W. Brackets
41a6831333 Vulkan: Add a setting for hardware scaling. 2019-09-30 00:35:50 -07:00
Unknown W. Brackets
7fa05a3181 Vulkan: Initial 16-bit texture shader decode. 2019-09-30 00:35:14 -07:00
Unknown W. Brackets
6613312ecc Vulkan: Add 4xbrz texture shader. 2019-09-30 00:34:53 -07:00
Henrik Rydgård
eeec18c018 Make the barrier a bit more focused. Up some limits. 2019-09-29 10:55:49 -07:00
Henrik Rydgård
080f34acfe Need a barrier on Mali. Strange that validation didn't warn... 2019-09-29 10:54:55 -07:00
Henrik Rydgård
e9b2af7fc7 In the computeUpload path, use a shader intrinsic to unpack the color. 2019-09-29 10:54:33 -07:00
Henrik Rydgård
101019d5cd Fix build error on 64-bit android 2019-09-29 10:53:53 -07:00
Unknown W. Brackets
8524dbdf13 Vulkan: Check coherent bit. 2019-09-29 10:53:00 -07:00
Henrik Rydgård
a355f49c91 Also experiment with a "copy shader" that just does raw data manipulation into GPU local memory, then copies to image from there. 2019-09-29 10:39:12 -07:00
Henrik Rydgård
9ed66001c6 Use a plain compute shader for RGBA8888 texture uploads, as a proof of concept. 2019-09-29 10:27:50 -07:00
Henrik Rydgård
e6bec3e555 Vulkan: Add simple manager for compute shaders that upload data to images. 2019-09-29 10:24:48 -07:00
Henrik Rydgård
360e138c2c
Merge pull request #12372 from unknownbrackets/curves
GPU: Generate normals for curves with lighting
2019-09-29 08:17:35 +02:00
Henrik Rydgård
633d1e761e
Merge pull request #12373 from unknownbrackets/thin3d-param
UI: Stop caching the draw context in coreParam
2019-09-29 08:12:04 +02:00
Unknown W. Brackets
5871ab0538 UI: Stop caching the draw context in coreParam.
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes.  Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00
Unknown W. Brackets
029dd07c8e UI: Minor assert fix. 2019-09-28 21:10:26 -07:00
Unknown W. Brackets
cba6a63058 GPU: Generate normals for curves with lighting.
Improves #12354.  This needs to happen even if the vertex has no normals.
2019-09-28 15:08:37 -07:00
Unknown W. Brackets
c9c34c4ca1 SaveState: Handle compression thread better.
Was leaking before.
2019-09-28 11:43:44 -07:00
Unknown W. Brackets
987448577f UI: Join downloads on destruct. 2019-09-28 11:40:10 -07:00
Unknown W. Brackets
1307273dd7 UI: Cleanup install threads from UI thread. 2019-09-28 11:39:58 -07:00
Unknown W. Brackets
cc6115d875 Io: Join loading/manager threads more explicitly. 2019-09-28 11:18:42 -07:00
Unknown W. Brackets
e639dc801f http: Ensure webserver shutdown on exit. 2019-09-28 11:12:12 -07:00
Unknown W. Brackets
c8c0cd51c7 Core: Avoid detach for game loading thread. 2019-09-28 11:07:57 -07:00