Commit Graph

539 Commits

Author SHA1 Message Date
Henrik Rydgård
a1941d8a81 It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls. 2017-03-06 10:51:28 +01:00
Henrik Rydgard
4736330c55 Don't double-lock a regular mutex, bad things happen. Fixes #9376 2017-03-02 22:00:55 +01:00
Henrik Rydgard
d68953c18c Buildfixes 2017-03-02 13:29:51 +01:00
Henrik Rydgard
d46397627e Buildfixes 2017-02-28 11:40:29 +01:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
c219ae9e63 Further UWP fixes 2017-02-25 09:57:24 +01:00
Henrik Rydgard
a8ee70f23d Import SPIRV-Cross. This will be used later to translate post-processing shaders to the various shader languages we use.
Eventually, this will make it possible to use post-processing with
Vulkan and D3D11. Probably not DX9, though maybe.

Not adding to Android build, there's some strangeness with STL.
2017-02-14 23:33:27 +01:00
Henrik Rydgård
0ae06b0148 Android buildfix 2017-02-11 10:52:43 +01:00
Henrik Rydgard
55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard
ad29974a56 Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing. 2017-02-06 11:40:16 +01:00
Henrik Rydgard
f1c96c056d Move all the GL/D3D9 FBO code into thin3d. 2017-02-06 11:40:16 +01:00
Henrik Rydgard
1443acee03 Buildfix 2017-01-30 15:31:50 +01:00
Henrik Rydgård
e1bae9aa67 Follow the ARM64 ABI better (update the frame pointer). 2017-01-27 14:19:03 +01:00
Henrik Rydgård
69012fc5e0 Update Android target to 25 2017-01-26 08:26:07 +01:00
Henrik Rydgård
23e354847d Buildfix 2017-01-25 19:29:43 +01:00
Henrik Rydgård
5e92a94175 Buildfix 2017-01-24 20:58:59 +01:00
Henrik Rydgard
d9acd27126 Rename GLES files to match the convention the other backends use. 2017-01-23 17:08:58 +01:00
Henrik Rydgård
5af8b152e1 Further buildfixes 2016-12-27 11:59:12 +01:00
Henrik Rydgård
73ed466e19 Set up Android build for the proper glslang 2016-12-20 02:31:41 +01:00
Florent Castelli
46fdc0f5f5 cmake: Move some cmake includes to ext 2016-12-18 22:17:41 +01:00
sum
5a224d1601 Build fix for non-windows 2016-10-09 12:40:40 +02:00
Unknown W. Brackets
5641d18eb9 Correctly call Restore in C++ EGL path.
This will be needed for Vulkan.
2016-10-08 12:35:01 -07:00
Unknown W. Brackets
86b3d4e6d9 Vulkan: Tweak init error logging on Android. 2016-10-01 11:36:50 -07:00
Henrik Rydgard
18a5d23eab Typo fix 2016-09-25 01:45:48 +02: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
Henrik Rydgard
03279e1212 Port over the Exynos cacheline size fix from Dolphin. Thanks to lewurm of the mono project for the discovery and original fix.
See https://github.com/dolphin-emu/dolphin/pull/4204 and https://github.com/mono/mono/pull/3549
2016-09-10 09:25:06 +02:00
Unknown W. Brackets
e269a806cd Remove unused exports / sections in jni on x86_64.
This resolves a linkage error with x64 affecting Marshmallow and clang.
It also makes the unexported symbols non-visible since they don't need to
be - this reduces the size of the ppsspp_jni.so too.

Unfortunately, it reduces the readability of stack traces.
2016-07-24 12:55:30 -07:00
Unknown W. Brackets
316b7457b9 Upgrade to FFmpeg 3 / clang. 2016-07-24 12:53:43 -07:00
Unknown W. Brackets
d0b1f1a26e Switch Android build to clang.
It's now the recommended build from NDK 11+.  GCC is deprecated.
2016-07-24 12:52:24 -07:00
Unknown W. Brackets
76cd5bf876 Android: Use the game title as the shortcut title.
This way when you have more than one, it's not just "PPSSPP" on each of
them.
2016-07-23 14:12:14 -07:00
Henrik Rydgård
cbb1ab17ca Merge pull request #8845 from unknownbrackets/http
Add UI for wifi remote disc streaming
2016-07-04 20:38:54 +02:00
Unknown W. Brackets
f4e2ca0359 http: Add a screen under tools for the server. 2016-07-03 22:13:47 -07:00
Unknown W. Brackets
4d4e334fc4 Vulkan: Allow C++ to determine use of JavaGL.
Based on config - this way we can enable Vulkan more easily even before we
determine why some devices don't like C++ EGL for GLES.
2016-07-01 14:05:15 -07:00
Henrik Rydgård
63e7304467 Merge pull request #8778 from unknownbrackets/coupling
Remove some dependency coupling
2016-05-28 12:25:01 +02:00
Unknown W. Brackets
a1fbcc3d93 Avoid directly calling osm from Core/GPU code.
This allows UI to handle the message however it wants to, and reduces
cross linkage issues.
2016-05-27 22:05:30 -07:00
Unknown W. Brackets
02db45982a Pass Build.BOARD from Java, avoid lookup.
Fixes arm64 build with r10, but is ugly coupling.
2016-05-27 20:11:25 -07:00
Unknown W. Brackets
eb45c5bc89 Update to latest armips to fix unittest on Android.
Also fixes ARRAY_SIZE warning.
2016-05-21 09:29:20 -07:00
Henrik Rydgard
e711a47a75 Complete the separation of the IR compiler frontend from the "Jit" 2016-05-09 20:05:06 +02:00
Henrik Rydgard
f8659b8e1e Move the IR interpreter out into its own file. Rename it in the UI. First CMake and Android fixes. 2016-05-08 22:06:13 +02:00
Henrik Rydgard
ce8aae5ed1 Make the IRJit core selectable in developer tools 2016-05-08 01:43:27 +02:00
Unknown W. Brackets
9280bb3eda Merge pull request #8715 from unknownbrackets/tex-replace
Initial texture replacement support
2016-05-01 09:58:16 -07:00
Henrik Rydgard
ffe4c266ef Add CodeBlockCommon base class to remove further arch-specificity in JitBlockCache
Remove unused ArmThunk.
2016-05-01 11:40:00 +02:00
Henrik Rydgard
8b450c8034 Merge NativeJit.cpp/h with JitCommon.cpp/h 2016-05-01 11:39:59 +02:00
Henrik Rydgard
a5be0976bd Remove preprocessor hacks to choose JIT implementation.
Opens up for having multiple JIT implementations available at runtime,
which could be use for experimenting with new JIT compiler types or for
unit testing one JIT on another architecture.

Very few of the newly virtual calls are on any sort of critical path so
hopefully there will not be a performance loss.
2016-05-01 11:39:53 +02:00
Unknown W. Brackets
9039dd606f Move TextureReplacer to Core.
Probably makes more sense here after all.
2016-05-01 00:30:40 -07:00
Unknown W. Brackets
bf39e61458 Setup initial structure for texture replacements. 2016-04-30 13:44:31 -07:00
Henrik Rydgard
7cb6192005 Rename the TransformPipeline files to DrawEngine, and GLES_GPU to GPU_GLES 2016-04-10 10:31:42 +02:00
Henrik Rydgard
e611915a52 Rename some GPU classes and enums to fix some consistency issues between the backends. 2016-04-10 10:21:48 +02:00
Henrik Rydgard
4197148dc4 Add some paranoid checks hoping to fix crashes reported in Google Play developer console. 2016-04-09 18:27:35 +02:00
Unknown W. Brackets
aec117d8ea Vulkan: Allow resizing window/backbuffer.
Not tested much on Android.  Fixes #8656.
2016-03-21 19:45:27 -07:00