Commit Graph

625 Commits

Author SHA1 Message Date
Unknown W. Brackets
b37a906649 Debugger: Stop remote server in full shutdown.
Hopefully helps #12630, we shouldn't have tied it to graphics.
2020-02-29 18:45:14 -08:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
9394f0f7e0
Merge pull request #12592 from Florin9doi/iosCam
Camera updates (iOS/Android)
2020-01-26 10:58:48 +01:00
Florin9doi
2b57d2365f Android satellites info 2020-01-26 09:22:24 +02:00
Florin9doi
5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
shenweip
3f585782f1 Don't shut down camera when exiting games,also re-enumerating devices if
received WM_DEVICECHANGE.
2020-01-24 16:05:28 +08:00
shenweip
d1e354ce04 Improve compatibility.
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
shenweip
5c4a1e00fc BuildFix 2020-01-14 08:19:44 +08:00
shenweip
034a257baf Add camera support for windows. 2020-01-13 15:06:02 +08:00
Henrik Rydgård
13f87301cf
Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Henrik Rydgård
cb8c57f8e3
Merge pull request #12370 from unknownbrackets/switch
Pull some base parts of the Switch PR
2019-10-07 20:01:36 +02:00
Henrik Rydgård
f342d8d856 Logging improvements 2019-10-06 13:21:57 +02:00
Unknown W. Brackets
029dd07c8e UI: Minor assert fix. 2019-09-28 21:10:26 -07:00
Unknown W. Brackets
e639dc801f http: Ensure webserver shutdown on exit. 2019-09-28 11:12:12 -07:00
M4xw
30fc4c7869 Switch: Configure base paths. 2019-09-28 09:23:18 -07:00
Henrik Rydgård
22ee875ffc Fix nasty race condition with menu background audio. Fixes #12365 2019-09-27 23:53:31 +02:00
Henrik Rydgård
a461dbeecb Fix crash in Zip UI. Make another crash happen earlier. 2019-09-27 22:56:37 +02:00
Henrik Rydgård
4cebea6a14 Don't let a delayed config load mess with the GPU backend option. Fixes #12284. 2019-09-17 10:50:25 +02:00
Henrik Rydgård
96a15cf525 Fix the indirect postprocessing path. Fixes #12133 (but see the issue for a secondary bug). 2019-08-04 18:01:36 +02:00
Unknown W. Brackets
df6c5f38dc Core: Use readable names for failed backends. 2019-06-22 12:48:56 -07:00
driver1998
8fab38ecdd TextDrawerUWP based on DirectWrite 2019-06-07 05:20:21 +08:00
LunaMoo
da031ebbdb Fix avi dump via render buffer instead,
with an option to use output buffer since recording with
post process effects will often be desirable.
2019-06-04 07:54:17 +02:00
LunaMoo
57bd3c63f4 Block savestates OSM when video frames are dumped.
Also make the dump messages shorter,
especially dump start since it will be recorded.
2019-05-27 23:43:39 +02:00
Unknown W. Brackets
03bec46b93 UI: Make the screenshot key configurable.
Affects #10825.
2019-04-30 19:01:20 -07:00
LunaMoo
53daa0d844 Remove some unused code. 2019-04-28 13:17:08 +02:00
Henrik Rydgård
d91f706206 Log why the config is being saved (we seem to do it a bit much at times) 2019-02-23 11:55:44 +01:00
Unknown W. Brackets
1e943549c2 Android: Allow using custom storage paths.
This allows a user to keep their save data on an insertable card, or
otherwise.  Currently, the UI isn't great - errors are easy to miss,
and the path must be typed manually.
2019-02-18 09:15:15 -08:00
Henrik Rydgard
58db029f7e Android .nomedia: Don't hide everything under PSP, too harsh. 2019-02-05 16:40:10 +01:00
Henrik Rydgard
217205e433 To avoid strange images in Android gallery, pre-create TEXTURES with a .nomedia, and add .nomedia to the PSP directory. 2019-02-05 15:57:43 +01:00
Henrik Rydgård
2c83574377 Finish up the test 2018-12-19 13:48:58 +01:00
Henrik Rydgård
c2319cd6d1 thin3d: Make the stencil ref value dynamic state (all APIs support this directly). 2018-12-19 13:48:58 +01:00
Henrik Rydgård
df98721e73 Write rough framework for GPU discard test screen 2018-12-19 13:48:54 +01:00
Henrik Rydgård
2d01db805e Remove no-op DrawBuffer::End() 2018-12-18 10:10:53 +01:00
Henrik Rydgård
fedc72eff5 Revert "Android: Fix Vulkan immersive startup."
This reverts commit 5a5483ca93.
2018-11-23 09:51:16 +01:00
Henrik Rydgard
5a224d7a2b Disable CheckFailedGPUBackends() in debug builds, for convenience 2018-10-08 13:34:41 +02:00
Henrik Rydgård
a0b019d473
Merge pull request #11455 from unknownbrackets/android-resize
Android: Fix Vulkan immersive startup
2018-10-08 07:52:47 +02:00
Unknown W. Brackets
5a5483ca93 Android: Fix Vulkan immersive startup.
Would commonly not actually start with immersive resolution due to race
conditions in setting the resolution and ui visibility.
2018-10-07 16:15:23 -07:00
Henrik Rydgård
83bf001a31 Disable Android HW scale on TV type devices. 2018-10-06 13:43:11 +02:00
Henrik Rydgård
f8ea364371 Cleanup: Split out the WASAPI code into its own file. 2018-09-30 20:29:39 -07:00
Unknown W. Brackets
120cf59237 Core: Reset working graphics backend on restart. 2018-09-06 18:31:09 -07:00
Unknown W. Brackets
fb8f408db0 Core: Don't consider graphics failed on shutdown.
On some devices, we'll lose context or get a resize mid-startup, so make
sure we don't detect that as a graphics crash.
2018-09-06 07:31:15 -07:00
Unknown W. Brackets
db93a08fc9 Core: Log more on graphics backend failures.
Just so we can tell for sure in logs what's happening.
2018-09-05 23:13:15 -07:00
Henrik Rydgård
562c5f6485
Merge pull request #11346 from unknownbrackets/startup-fail
Core: Track graphics startup failures and cycle
2018-09-04 21:14:15 +02:00
Unknown W. Brackets
d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07:00
Unknown W. Brackets
d1c5668612 Android: Add .nomedia files to system and textures.
Due it on all platforms when saving textures to encourage including
.nomedia in texture packs.
2018-09-02 10:19:08 -07:00
Unknown W. Brackets
e246a946c3 Core: Add flag to prevent graphics cycling.
For debugging graphics crashes.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
f906fbed35 Core: Track graphics startup failures and cycle.
If the graphics driver segfaults, or some plugin segfaults, let's try a
different one next time.  This gives better hope of starting up next time.
2018-09-01 19:59:13 -07:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Henrik Rydgård
a9eb786811
Merge pull request #11181 from unknownbrackets/savestate
SaveState: Show warning on old / long use state
2018-06-16 17:45:58 +02:00
Unknown W. Brackets
a5efb85ab7 SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and
preserves bugs from bad settings and old PPSSPP versions.

This tells users when they might be affected.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets
a448ef536b Qt: Toggle fullscreen like on all other platforms. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
9d96e6579c
Merge pull request #10909 from unknownbrackets/debugger
WebSocket based debugger interface
2018-06-09 15:37:06 -04:00
Unknown W. Brackets
cc1fa20afb Qt: Use Roboto Condensed like on other platforms.
May improve font fallback issues in #7581.
2018-06-09 11:36:00 -07:00
Unknown W. Brackets
a676721683 Qt: Remove bundled assets reader.
It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.

Fixes #9831 - likely broken since #9061, which stopped using the qrc.
2018-06-09 10:47:53 -07:00
Unknown W. Brackets
f81fa27abe Debugger: Add config for remote debugger on start. 2018-06-08 06:59:16 -07:00
Unknown W. Brackets
3a8a2ff933 http: Move web server to core and use flags.
This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
2018-06-07 16:28:01 -07:00
Henrik Rydgård
c1d113e0e9 When creating temp framebuffers for download, size them using bufferWidth/Height instead of width/height.
Or maybe we should make sure to only download within the width/height by
adding more clamps at the beginning of ReadFramebufferToMemory but seems
more dangerous.

Plus some minor things.

Should help #11113
2018-06-01 21:16:07 +02:00
Henrik Rydgård
d35de81a76 Check for a valid screen manager in NativeIsAtTopLevel 2018-05-26 17:50:37 +02:00
Henrik Rydgård
775a25e530 Another directory, plus no need to use c_str 2018-05-10 20:52:21 +02:00
Henrik Rydgård
3976b03bcd Create vital directories on Android storage permission grant. Should help #11020 2018-05-10 19:32:28 +02:00
Henrik Rydgård
3c066de158 Win32: Not really appropriate to call exit() on a bad filename. Fixes #11030 2018-05-10 00:59:21 +02:00
Unknown W. Brackets
074f52b819 Android: Properly reset home on config reload.
We reload the config once we know we have permission to read it, but that
means we have to run any cleanup logic on it again.
2018-04-29 11:45:32 -07:00
LunaMoo
e5e19554e6 Add "--pause-menu-exit" option. 2018-04-02 16:31:26 +02:00
Unknown W. Brackets
895de164ed Android: Fix initial start from shortcut.
Fixes #10855.  We have to wait for the permission request to complete.
2018-04-01 23:28:36 -07:00
Henrik Rydgård
8d0285dedd Android: Properly restore screenshots on the Pause screen on task switching away and back.
Basically plumbs through DeviceLost/DeviceRestored to view elements and
into ManagedTexture.
2018-03-27 23:11:10 +02:00
Henrik Rydgård
fb15208777 Android: Reload the config after getting storage permission, and ask immediately. Should help #10670 2018-03-24 12:52:51 +01:00
Henrik Rydgård
448e8fb49a Split out QtHost.h from HostTypes.h 2018-03-03 08:46:12 +01:00
Henrik Rydgård
18db8b0bd6 Fix custom UI backgrounds again by initializing lazily (turned out to be the cause of #10662) 2018-03-01 16:09:23 +01:00
Henrik Rydgård
14c93bdc2b Minor code/logging cleanups. 2018-02-27 19:44:11 +01:00
Henrik Rydgård
e1852321a0 Vulkan: Remove the old method of uploading images. 2018-02-25 12:15:29 +01:00
Henrik Rydgård
133bef575a Split Android graphics context implementations into their own files. 2018-01-20 21:47:16 +01:00
Kentucky Compass
20794081ea iOS: Nix iosCanUseJit and targetIsJailbroken. Move NativeInit call to main so it can take cmd line args. 2018-01-01 19:10:44 -08:00
Unknown W. Brackets
0039fa8c0a Logging: Use AndroidLogger for all mobile devices.
Noticed iOS wasn't logging, which seems non-ideal considering Android
does.  Might as well make them behave the same.
2018-01-01 08:37:26 -08:00
Unknown W. Brackets
c0f0bc88af UI: Trigger view recreate on static sized screens.
If a screen doesn't size via layout, it needs to recreate views on resize,
which is what the resized() method is for.
2017-12-27 01:13:47 -08:00
Unknown W. Brackets
79dc857527 Core: Refactor screenshot saving.
So we can reuse the actual saving.
2017-12-21 15:44:49 -08:00
Henrik Rydgård
e488227398 Just some log cleanup 2017-12-15 16:33:49 +01:00
LunaMoo
f06f9f7246 Update bounds in NativeResized as well to fix glitches on layout screens that use it. 2017-12-11 21:02:47 +01:00
Unknown W. Brackets
721f5877eb http: Allow sharing automatically on PPSSPP start.
Since that might always be something you want, on your desktop.
2017-12-10 18:30:28 -08:00
Henrik Rydgård
27227f87fd Don't hold the lock when processing messages, only when taking them off the queue. Fixes #10383 2017-12-10 11:28:27 +01:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Unknown W. Brackets
84f5f633df UI: Fix D3D9 half-pixel offset at 1x.
Since we scale by 0.5x for small window, we need to adjust the half pixel
offset to match real pixels.
2017-12-03 06:58:16 -08:00
Henrik Rydgård
6ea669368c Crash reports from 5% rollout of 1.5: Make some asserts dbg_asserts for now, try to fix an issue with framebuffers when postproc is enabled. 2017-11-29 18:53:52 +01:00
Henrik Rydgård
b1fce1c61a Android: Fix #9697 where we'd hang if we lacked permission and got a filename as a command. 2017-11-21 13:55:14 +01:00
Henrik Rydgård
5675e8a816 Minor cleanup, and more terrifying orientation hackery 2017-11-16 15:00:27 +01:00
Henrik Rydgård
3222af5f7a Make remoteiso_subdir and server editable on Android. Fixes #10142. Really need a better mechanism for these fields. 2017-11-16 13:33:10 +01:00
Henrik Rydgård
378e01625c Fix a few more device-loss bugs. 2017-11-10 15:10:36 +01:00
Henrik Rydgård
1c76d28843 Avoid double-initializing the Vulkan backbuffer on startup. 2017-11-10 13:13:56 +01:00
Florin9doi
892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
Henrik Rydgård
b35d0e00ec Oops, forgot to update NativeQueryConfig, thanks unknown 2017-08-16 10:23:27 +02:00
Gde Made Novan Priambhada
f5d56872ce Quick Chat 2017-08-09 03:49:52 +08:00
Henrik Rydgård
8ba5d7ec1e Strip spaces from pasted IP addresses. Helps #9795. Fix accidental typo 2017-08-08 16:34:46 +02:00
Henrik Rydgård
4b35e9e278 Reset the UI state properly in NativeInit. Fixes #9771 2017-08-08 15:58:25 +02:00
Ade Novan
6b39018868 Android chat empty after : fix 2017-07-02 01:28:38 +08:00
Ade Novan
18525ea523 Android Chat Support 2017-07-02 01:28:38 +08:00
Unknown W. Brackets
41b485aa0a Core: Refactor repeating disc id homebrew code. 2017-06-03 15:29:08 -07:00
Unknown W. Brackets
79ae0f77d8 UI: Fix Take Screenshot support. 2017-06-01 20:40:21 -07:00
Henrik Rydgård
01635a5cd6 Android: Just like on Windows, prompt to restart when changing graphics backend. 2017-05-31 11:12:11 +02:00
LunaMoo
939b26475d Fix a bunch of emu features for Homebrew by better identification. 2017-05-30 12:20:29 +02:00
Henrik Rydgård
6147448719 Draw overlays at the proper time in the frame. 2017-05-30 09:36:17 +02:00
Henrik Rydgård
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Unknown W. Brackets
793178c106 Windows: Initialize WindowsHost in EmuThread.
This seems like a more appropriate place, and a more appropriate thread,
for it to be initialized on.
2017-05-05 06:53:48 -07:00
Henrik Rydgard
d3ff35b2c0 Fix to partial restarts (when switching backends), plus misc. Helps #9666 2017-05-05 12:31:06 +02:00
Henrik Rydgard
7d89e5d84c Experiment (#9647): Prevent NaN values from getting into the UI system through TouchInput 2017-05-04 00:30:04 +02:00
Unknown W. Brackets
ee68f09be5 Merge pull request #9653 from xiushudongfang/UI_background_android
UI: Allow choosing bgs (android)
2017-04-29 20:23:58 -04:00
Unknown W. Brackets
90f3ae14e0 Windows: Simplify host shutdown.
The whole nativeHost/oldHost thing is unnecessary.

This also fixes gl lost holder mismatches.
2017-04-29 12:04:54 -07:00
xiushu
93536997cd UI: Allow choosing bgs (android) 2017-04-30 02:06:37 +08:00
Unknown W. Brackets
661b2a3aa8 UI: Make GPU events more consistent. 2017-04-27 20:03:50 -07:00
Unknown W. Brackets
638a015ced Add a restarting flag to NativeInit/NativeShutdown.
Will be used externally.  Also cleanup some LogManager init/shutdown in
case these are called multiple times on Windows.
2017-04-15 16:30:37 -07:00
Henrik Rydgard
f66e54c4cb Operator precedence fix in ifdef 2017-04-05 16:25:17 +02:00
Henrik Rydgard
fc730b76df Fix XInput polling in UWP apps. Should help #9555 2017-04-05 14:13:25 +02:00
Henrik Rydgard
8d1ece05ca Finally move flash0 into assets, fixing #9468 and #9520
CMake fix
Fix the innosetup and zip scripts for the new assets location
2017-04-01 00:20:53 +02:00
Unknown W. Brackets
c9a5c00bf7 UI: Allow overriding colors in the ini. 2017-03-26 09:51:33 -07:00
Unknown W. Brackets
0a73828042 UI: Use theme colors in more places.
Hopefully everywhere.
2017-03-26 08:57:04 -07:00
Unknown W. Brackets
ed11b8a8bd UI: Add a message handler to update the bg image. 2017-03-26 07:52:47 -07:00
Unknown W. Brackets
8f4d1634ad UI: Add simple support for a custom background.
No UI.  Essentially, this is a cleaned up version of xiushudongfang's
implementation that supports all platforms, but no selection UI.
2017-03-26 07:52:46 -07:00
Henrik Rydgard
d58ee6670e UWP: Fix audio sample rate, savestates, memory leak. 2017-03-23 10:02:28 +01:00
Unknown W. Brackets
a36ecb7065 UI: Track translate/scale/fade transform by screen.
This translates drawing, scissor, and touch to the transform.
2017-03-19 15:42:13 -07:00
Dugan Chen
36a8f71a55 Qt apps on non-mobile, non-Windows platforms now see /usr/share/ppsspp/assets 2017-03-19 08:21:54 -07:00
Henrik Rydgard
908193e894 Rework Android lost/restore lifecycle again. Can autorotate screen without crashing again. Should help #9295 and maybe #8906. 2017-03-18 15:21:26 +01:00
Henrik Rydgard
7c0761ef15 Buildfix 2017-03-18 11:11:27 +01:00
Henrik Rydgard
4f707a1022 Simplify logging code some more. Cleaner log output on Android. 2017-03-18 10:47:36 +01:00
Henrik Rydgård
09a3de1e66 Windows: Get rid of my private gold branch, simply gate behind a define instead. 2017-03-16 15:47:59 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets
2812ddcc86 Remove End/UpdateInputState and ButtonTracker.
No longer used for anything.
2017-03-13 22:58:38 -07:00
Henrik Rydgard
525df21751 Unbreak version check on Windows 2017-03-12 17:24:46 +01:00
Henrik Rydgård
85c8d9b806 Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374 2017-03-06 16:03:05 +01:00
Henrik Rydgård
cfe2621604 LogManager: Hook up save/load, remove "long names" 2017-03-06 11:44:35 +01:00
Henrik Rydgård
50b722152a Fade in logoscreen from black, make it slightly faster. 2017-03-06 11:03:56 +01:00
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
340f0cff2c Prepare for supporting manual screen rotation 2017-03-05 10:54:45 +01:00
Henrik Rydgard
b9b3a022fb Switch another enum to enum class 2017-03-02 12:36:54 +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
50be4e72b2 Get rid of our own silly reimplementation of std::thread 2017-02-27 20:51:36 +01:00
Henrik Rydgard
03dab0fdbd More UWP prep 2017-02-25 09:57:22 +01:00
Henrik Rydgard
fa80cfa4aa Additional UWP preparations 2017-02-25 09:57:14 +01:00
Henrik Rydgard
615c357f1d Win32 start-from-command-line: Normalize slashes earlier in the process. The actual root cause of the issue from #9335. 2017-02-23 09:31:45 +01:00
Henrik Rydgard
900539e200 Fix #9340 (touch controls not always getting repositioned correctly) 2017-02-23 09:31:45 +01:00
Henrik Rydgard
2fabe3e1c5 Fix a number of resource leaks, both D3D11-only and general.
Additionally, fix D3D11 BlitFramebuffer
2017-02-17 19:23:01 +01:00
Henrik Rydgard
9dd3e18ed4 Fix two minor issues with D3D UI 2017-02-08 17:09:59 +01:00
Henrik Rydgard
9bdae8f32e DrawContext: Use uniform buffers on all platforms (simulated where necessary) 2017-02-08 12:55:58 +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
f00f7d2fb8 Remove some dependencies on the pD3DDevice globals 2017-02-05 20:36:00 +01:00
Henrik Rydgard
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgård
6a7d3a3910 Break out image file management from DrawContext (thin3d) 2017-01-24 20:58:59 +01:00
Henrik Rydgård
377561865a A little more D3D11, BlendFactor 2017-01-24 20:58:59 +01:00
Henrik Rydgård
cbf4e5f38c Implement colormask 2016-12-27 11:59:11 +01:00
Henrik Rydgård
9f2e83b66c Bundle up more state in the pipeline object. Lets us get rid of Vulkan's pipeline cache. 2016-12-27 11:59:11 +01:00
Henrik Rydgård
8d84fb75c7 Remove ShaderSet presets 2016-12-27 11:59:10 +01:00
Henrik Rydgård
f86b9f7900 Guess what? More renaming 2016-12-27 11:59:06 +01:00
Henrik Rydgård
9b439e4c43 Remove Thin3D prefix on more things 2016-12-27 11:59:06 +01:00
Henrik Rydgård
463251908b Rename things to closer match another project which I plan to share some code with 2016-12-27 11:59:02 +01:00
Henrik Rydgård
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Henrik Rydgard
a1f25ceb7f Fix bug in input box handling. Should fix #9095. 2016-10-26 19:06:41 +02:00
Florent Castelli
cb4d0732df qt: Remove qrc files 2016-10-17 23:45:21 +02:00
Florent Castelli
f02e2b59b0 qt: Build Qt frontend with CMake. Requires Qt5. 2016-10-17 23:45:21 +02:00
Florent Castelli
94d57f4573 maemo: Remove! 2016-10-12 13:13:09 +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
379ec56f0d Tweak wording to clarify battery save message. 2016-10-10 17:32:25 -07:00
Unknown W. Brackets
b15c6fc295 Oops, only call gl_lost() for OpenGL. 2016-10-01 17:19:16 -07:00
Henrik Rydgård
dfda67e815 Merge pull request #9016 from unknownbrackets/screenshot
Use the display vfb for reporting/save state/TAS screenshots
2016-09-29 11:16:59 +02:00
Unknown W. Brackets
6bbb3c0442 Handle clear gpu cache as a global message.
This makes it so if you change texture scaling in the Windows menu on the
pause menu, it actually clears the cache.
2016-09-28 22:35:09 -07:00
Unknown W. Brackets
4d0c457ddc Cleanup display vs. output screenshot terminology. 2016-09-25 16:35:43 -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
Henrik Rydgard
1c47778b4e Get rid of outdated special case for gfx logs. Make some DEBUG things VERBOSE. 2016-09-10 17:16:53 +02:00
Henrik Rydgard
de1643997f Fix backwards "gfxLog" logic. Strange. May help #8941 2016-09-10 12:24:20 +02:00
Kelly Youngblood
7d191ccc11 Adds --PS3 flag for PS3 controllr support on SDL. 2016-09-03 00:15:25 -05:00
Unknown W. Brackets
1f7a137926 Android: Detect and report power save mode.
This shows a message when it's on, or when power drops to low.
2016-07-24 17:04:06 -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
Unknown W. Brackets
27d135d48a Decouple save states from UI.
It's the UI's job to decide how and what things are displayed, not Core's.
This also reduces reasons for linkage issues.
2016-05-27 21:25:05 -07:00
Unknown W. Brackets
2862253f12 Avoid showing all slots in a row when cycling.
This was longer now, so more annoying.  Better to sync with the preview.
2016-05-27 20:56:10 -07:00
Unknown W. Brackets
ac21d2e84d Clean up save state preview fade.
Now it mostly matches the save slot text fade.
2016-05-27 20:53:58 -07:00
Unknown W. Brackets
e6cf296d1a Trigger save slot display from UI code.
Core shouldn't be calling UI code.
2016-05-27 20:53:20 -07:00
Unknown W. Brackets
2bd447e78c Flip the meaning of the -g switch.
I like asking people if they see FBOs being created, it's helpful.
2016-05-21 09:58:25 -07:00
Henrik Rydgard
ce8aae5ed1 Make the IRJit core selectable in developer tools 2016-05-08 01:43:27 +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
Henrik Rydgard
432f276bec Cleanups. Don't loop over bones in vshader, causes trouble 2016-03-20 19:30:11 +01:00
Henrik Rydgard
01e3fbae95 Fix clearing bug, add FIFO_RELAXED flag, etc 2016-03-20 19:30:11 +01:00
Henrik Rydgard
d7e8f8433f Support multiple texture formats 2016-03-20 19:29:03 +01:00
Henrik Rydgard
4c0e6d0138 Some renaming, fixes and tweaks to the gl_lost mechanism, which is again needed 2016-03-17 21:30:16 +01:00
Henrik Rydgard
f08ae677e8 Disable gfx logging in debug by default. 2016-03-06 11:48:14 -08:00
Henrik Rydgard
da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Unknown W. Brackets
7ab3de299c Set cache dir before loading config.
The config will try to check ISOs for existence, which may use the cache.
2016-02-27 13:10:08 -08:00
xiushu
80938a39ce Just remove useless space and fix translations
Oops
2016-02-21 13:12:35 +08:00
xiushu
7a2b4eea0a Add inputbox for android
For inputting  IP and NickName ,or something else in future on Android
2016-02-21 11:23:00 +08:00
Henrik Rydgard
6df8573583 Minor fixes 2016-01-17 22:53:06 +01:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
Unknown W. Brackets
aa0055cea7 Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Henrik Rydgård
95822a165d Fix Mac build 2016-01-01 14:40:19 +01:00
Henrik Rydgard
f419281d16 Fix Android build 2016-01-01 14:40:17 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Unknown W. Brackets
a89245a387 Cleanup title processing a bit. 2015-12-20 23:16:36 -08:00
Unknown W. Brackets
f5d1a77155 Cut out a couple unused includes. 2015-12-19 19:58:56 -08:00
Henrik Rydgard
732b1239e7 Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary. 2015-12-17 22:41:50 +01:00
Henrik Rydgard
38263c9073 Turn gfxlog off again 2015-12-16 22:31:14 +01:00
Henrik Rydgard
db633aa377 Lots more debug logging. Terrifying compatibility hack for devices that for some reason create 16-bit buffers.
Like Xperia Play.
2015-12-16 21:37:39 +01:00
Henrik Rydgard
04f8bffa29 Use EGL from native code to initialize and run OpenGL on Android.
Should be more robust, allows initializing desktop GL if available, and lets us take control of the render loop.
2015-12-16 10:57:24 +01:00
Henrik Rydgard
758ec5a027 Avoid clearing the backbuffer before actually doing any rendering to fbo on every frame - instead, clear when stretching the framebuffer into place. May save quite a bit of bandwidth on tiler GPUs with naive GL drivers. 2015-11-18 12:13:35 +01:00
Henrik Rydgard
44be9f2a50 Move Windows GPU init code into Windows/GPU 2015-11-03 23:22:09 +01:00
Karen Tsai
1ba873a496 Override JIT setting in ppsspp.ini for JIT-incapable environments, fakesign PPSSPP binary via adhoc signing in order to prevent crash-at-launch on iOS 9, separate jailbreak detection logic from JIT support logic, temporary change to only enable JIT on iOS 8 and below. 2015-11-03 12:34:33 -05:00
Henrik Rydgård
437d7b80e3 Fix window resize/fullscreen ingame on Mac and other SDL builds 2015-10-25 11:19:41 +01:00
Unknown W. Brackets
d41947fdca Allow loading Roboto Condensed or Roboto.
The 2.x font name has changed, so let's allow either as the default.
2015-10-04 15:11:36 -07:00
Henrik Rydgard
dc05a6516e Buildfixes 2015-09-23 10:25:41 +02:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
Henrik Rydgård
c219793803 Remove the old UI texture class 2015-09-19 11:05:00 +02:00
Henrik Rydgard
72ae497350 Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP. 2015-09-06 12:42:15 +02:00
Henrik Rydgard
e69a14ffff Don't set ARM "FastMode". Not worth the compat impact as is, could be made smarter. Should help issue #7234 2015-07-19 18:22:22 +02:00
Unknown W. Brackets
88b23460f1 Add a file loader to perform disk caching.
Had to do some tricks to handle gameinfocache threads properly.
2015-07-02 20:58:58 -07:00
vnctdj
beda874ab5 Consistently use *des for the DesktopUI i18n category 2015-07-01 22:45:35 +02:00
Jan Beich
0af2bfe11c UI: search for assets under /usr/share on any Unix desktop 2015-05-26 15:23:19 +03:00
Henrik Rydgard
7f69c5fa5e Buildfix 2015-05-24 23:50:53 +02:00
Henrik Rydgard
6f4cea860c Split texture load profiling into decode and load/replace. Make profiler work on Android. 2015-05-24 23:45:40 +02:00
Henrik Rydgard
db0fd1042f Add "Arm64EmitterTest" which can run on startup to play around with instructions. 2015-04-06 18:13:26 +02:00
Henrik Rydgård
6573bca313 Fix UI navigation using gamepads when tilt is enabled 2015-04-03 11:48:58 +02:00
Henrik Rydgard
60a837f19f Minor cleanup 2015-02-03 21:28:08 +01:00
Henrik Rydgard
001eda39e0 Add really primitive save preview on "Next Slot". Improve pause screen layout a little. 2015-02-01 18:04:50 +01:00
Henrik Rydgard
7d16a4a0c4 Android: Prevent the user from choosing display resolutions that won't work on their device.
Fixes #7324
2015-01-30 00:28:53 +01:00
Henrik Rydgard
2792602252 Pass the game selection screen audio through the resampler. Fixes #7316 . 2015-01-29 14:58:03 +01:00
Henrik Rydgard
f55e0abc93 Experiment, trying to fix #7336: Make sure that a clear is the very first thing to happen in a frame.
Also a minor warning fix.
2015-01-26 00:25:48 +01:00
Henrik Rydgard
790024c829 Add option to choose Audio backend, as WASAPI does not seem to be ideal for everyone..
Default to WASAPI though (Auto)
2015-01-24 13:50:27 +01:00
Unknown W. Brackets
db898aff23 Add a NEON method to apply the volume. 2015-01-11 14:23:41 -08:00
Henrik Rydgard
c8dfcd5e74 Prepare for interchangable Windows audio backends 2015-01-11 21:00:56 +01:00
Henrik Rydgard
0c6ceee210 Optimize the resampler a little. Update native with new ability to not force 44khz so we actually get any use.
This causes Nexus 4 and Nexus 9 to end up on the fast path, greatly decreasing audio latency!

This also removes the "atomic audio" setting as the new audio code is lock-free always.
2015-01-11 18:06:42 +01:00
Henrik Rydgard
1b926ec59e Increase the resampler buffer size, needed on Shield :(
Reset DSound to 44100.
2015-01-11 18:06:39 +01:00
Henrik Rydgard
e312d6b5fd Replace outAudioQueue with Dolphin's resampler. 2015-01-11 18:06:06 +01:00
Henrik Rydgard
cac7a2feed Add a sample rate parameter to DSound, clean it up a bit 2015-01-11 14:11:09 +01:00
Henrik Rydgard
62d86f3246 Remove useless indirection class "PSPMixer" 2015-01-11 12:02:49 +01:00
Unknown W. Brackets
86859dd8e9 Create the SCREENSHOT dir using unicode as well. 2014-12-28 20:52:44 -08:00
Unknown W. Brackets
853e81cf03 dx9: Explicitly specify the backbuffer size.
Some people are getting black screens with Direct3D9 now, this is just a
theory.  Can revert if it doesn't help.
2014-12-27 09:56:21 -08:00
xebra
95258c2777 DX9:Fix forgotten resizing stuff 2014-12-26 03:10:26 +09:00
xebra
ecbc942c55 DX9:Implement resize back-buffer. 2014-12-26 01:41:12 +09:00
Unknown W. Brackets
2dd9b10c8d Take screenshots with savestates. 2014-12-20 23:14:46 -08:00
Henrik Rydgård
71c9804ffd Merge pull request #7195 from Bigpet/copydefaults
copy the current config when creating a pre-game config
2014-12-20 19:25:31 +01:00
Unknown W. Brackets
5a4f71a9f2 Oops, DirectX on Windows only, of course. 2014-12-20 09:02:34 -08:00
Unknown W. Brackets
962d8c5224 dx9: Take screenshots (fixes #7197.) 2014-12-20 08:31:56 -08:00
Peter Tissen
a5fcf9dd5f Make 'load defaults' work for per-game configs. Move 'stop' code into PSP_Shutdown 2014-12-19 14:56:36 +01:00
Henrik Rydgård
a074c06f68 Merge pull request #7183 from Bigpet/pergamesettings
per game settings
2014-12-18 23:25:50 +01:00
Henrik Rydgard
5460f7c54b Update native 2014-12-18 22:51:48 +01:00
Peter Tissen
be3389fdef added optional per-game settings
call button 'game settings' only when modifying game-only settings
make the user confirm deleting settings
2014-12-16 00:14:11 +01:00
TwistedUmbrella
de3975fc55 Revert "Untested attempt at fixing the iOS build (see #6972)"
This reverts commit a84597f266.
2014-12-05 19:46:56 -05:00
Henrik Rydgård
a84597f266 Untested attempt at fixing the iOS build (see #6972) 2014-12-04 07:21:14 +01:00
Unknown W. Brackets
40950a4b0e Workaround missing unique_ptr on Symbian.
Arg.
2014-11-25 12:00:35 -08:00
Unknown W. Brackets
7ccd428827 Allow http:// iso from command line. 2014-11-25 11:58:19 -08:00
Peter Tissen
6f062b9b16 add success flag for qt screenshot too 2014-11-10 16:57:51 +01:00
Henrik Rydgard
5bcdecc26b unittest: Have the JIT harness print disassembly, to make it easy to inspect results. 2014-11-09 12:03:04 +01:00
Unknown W. Brackets
f90754457d Show an error when screenshots fail to save. 2014-11-02 13:29:44 -08:00
Henrik Rydgard
d24abb3af0 More GetPointer cleanup. memCardDirectory->memStickDirectory. 2014-10-19 23:20:51 +02:00