Commit Graph

2515 Commits

Author SHA1 Message Date
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
d97ec9021d Add privacy policy link to app, as required by Google Play since we use the CAMERA permission now. 2017-11-29 14:33:28 +01:00
Henrik Rydgård
273dab91ca Fix a text overdraw problem on the title screen on very small displays. 2017-11-26 21:02:59 +01:00
Unknown W. Brackets
03ac79caba UI: Minor pause screen cleanup. 2017-11-23 09:08:39 -08:00
Henrik Rydgård
6f80a164b4 Allow loading graphics dumps (*.ppdmp) through the regular UI. 2017-11-22 10:53:22 +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
53a351c29d Workaround orientation bug in Android when unlocking the screen.
Or I'm doing something wrong somewhere...

Also kill off "Auto" orientation. It's just a pain.

Fixes #10128
2017-11-16 12:33:50 +01:00
Henrik Rydgård
c12f17134b Links from the UI: Change from http:// to https:// wherever possible. 2017-11-14 12:53:36 +01:00
LunaMoo
2ff4104ddf Requested changes. 2017-11-14 06:33:49 +01:00
LunaMoo
e698414f9b Add an option to allow resetting video/audio dump on save/load state. 2017-11-14 05:12:27 +01:00
Henrik Rydgård
230f72a110 Oops 2017-11-13 16:38:35 +01:00
Henrik Rydgård
8bfdf7b1b2 Fix annoying little flicker when starting a game. 2017-11-13 15:45:31 +01:00
Henrik Rydgård
4788221251 Vulkan shader view (debug): Add a simple textural representation (incomplete) of pipelines 2017-11-13 15:27:06 +01:00
Henrik Rydgård
0f10014219 DevScreens: In shader viewer tabs, show the number of each shader type. 2017-11-13 11:13:55 +01:00
Henrik Rydgård
c3c4ec4cc9
Merge pull request #10111 from unknownbrackets/vulkan-minor
Vulkan: Cut down on asserts during init
2017-11-13 09:50:30 +01:00
Henrik Rydgård
68c7b7dfec Fix driver version display on Vulkan. Enable dualsrc blend on newer AMD drivers. Fixes #10109 2017-11-13 09:44:35 +01:00
Unknown W. Brackets
d2d5b8ee4e Vulkan: Remove experimental warning. 2017-11-12 21:57:01 -08:00
Unknown W. Brackets
ac78b908d3 UI: Typo fix. 2017-11-12 09:34:22 -08:00
Unknown W. Brackets
2b194d30bf Debugger: Prevent clear while stepping.
So it's easier to see what's going on.
2017-11-11 18:31:13 -08:00
Henrik Rydgård
f014735ebf
Merge pull request #10079 from hrydgard/vulkan-android-fixes
Vulkan lost-device fixes
2017-11-10 16:11:58 +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
LunaMoo
6ae8b3603d
Merge pull request #10072 from unknownbrackets/cheats
Cheats: Split parsing and execution
2017-11-09 18:46:52 +01:00
Henrik Rydgård
ec504756e0 Vulkan: Improve init/shutdown logging on Android. Fix a bug where we'd not run InitDeviceObjects on GPU_Vulkan sometimes. 2017-11-09 16:02:05 +01:00
Henrik Rydgård
d618b3673b Count readbacks in a frame and show in GPU debug stats. 2017-11-08 11:57:53 +01:00
Unknown W. Brackets
c62a53c223 Cheats: Split parsing and execution.
This makes the code easier to read, and makes it easier to add other types
later on.

Also, the parser can now handle a file with multiple game ids.
2017-11-07 19:51:32 -08:00
Henrik Rydgård
944cc94630 Vulkan: Better way to make sure we bind the backbuffer at some point. 2017-11-06 23:48:47 +01:00
Henrik Rydgård
ea2fc55217
Merge pull request #10056 from hrydgard/remove-multithreading-2
Remove the old style multithreading
2017-11-06 20:37:06 +01:00
Unknown W. Brackets
9dfc9ff6ae Vulkan: Allow clearing the backbuffer to any color.
Helps with debugging sometimes.
2017-11-05 22:14:53 -08:00
Henrik Rydgård
be2ba4ffb3 Remove the setting to run the display list interpreter on a separate thread. 2017-11-05 23:21:26 +01:00
Unknown W. Brackets
ead4c5f9a8 Vulkan: Make sure backbuffer is bound for UI.
Fixes #10048.
2017-11-05 09:22:14 -08:00
Henrik Rydgård
8d0209c7e4 Stop leaking framebuffers on shutdown. Fix other shutdown issues. 2017-11-01 21:43:08 +01:00
Henrik Rydgård
3757070fe2 Extra safety when switching GPU backends, fix possible Vulkan shutdown issue. Should help #10005 2017-10-09 12:17:54 +02:00
Henrik Rydgård
1b6c5c4832 Fix typo causing Y axis in joystick tester not to be mirrored correctly if backwards. Should fix #9300 2017-09-29 20:51:59 +02:00
Unknown W. Brackets
5784b51428 GLES: Allow hwtess for GL 3.1 w/o shader4.
gl_InstanceID was added to core in 3.1, so we don't need gpu_shader4.
2017-09-21 20:20:17 -07:00
Henrik Rydgård
ff3d799871 Remove snprintf compatibility hacks for MSVC versions before 2015 2017-08-31 16:46:54 +02:00
Henrik Rydgård
42cb559a8d Merge pull request #9927 from Florin9doi/master
Integrate sceUsbGps and sceUsbCam with Android
2017-08-31 09:47:25 +02:00
Henrik Rydgård
8c1bfb876f Assorted cleanup of Vulkan init code. Show Vulkan extensions in system info. 2017-08-28 13:47:31 +02:00
Florin9doi
892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
Unknown W. Brackets
cbd107b03d Merge pull request #9898 from vnctdj/master
Make more strings translatable
2017-08-19 17:28:33 -04:00
Henrik Rydgård
b9b2656e93 More vulkan microoptimizations. Add more profiler scopes. 2017-08-18 13:48:11 +02:00
vnctdj
7f37c40382 Make dev menu pop-up title translatable 2017-08-17 23:10:12 +02:00
vnctdj
b31b76c536 Make control mapping pop-up title translatable 2017-08-17 23:10:12 +02:00
vnctdj
ee87c08e79 Oops, forgot this one 2017-08-17 00:21:00 +02:00
vnctdj
15c983a382 Add a new translation category for the remote ISO feature 2017-08-16 23:39:30 +02:00
Henrik Rydgård
b35d0e00ec Oops, forgot to update NativeQueryConfig, thanks unknown 2017-08-16 10:23:27 +02:00
Henrik Rydgård
d94351ef90 Initial work on supporting sustained perf mode 2017-08-15 16:41:13 +02:00
vnctdj
697cfb0223 Reuse some already translated strings 2017-08-14 12:08:03 +02:00
vnctdj
2c8b0e7069 Make keys names translatable in pop-up 2017-08-14 11:33:14 +02:00
Henrik Rydgård
ec7e634215 Fix space stripping in a few more string input methods. Helps #9795 2017-08-08 16:42:05 +02: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
Henrik Rydgård
f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Henrik Rydgård
f182b79e15 Merge pull request #9873 from unknownbrackets/fullscreen
Fix and improve fullscreen on 21:9 monitors
2017-08-01 10:40:15 +02:00
Unknown W. Brackets
7e753ed24a GLES: Set target w/h in buffered rendering.
Otherwise, the flipped scissors don't update on window resize.

Example: when toggling fullscreen.
2017-07-30 14:44:38 -07:00
Unknown W. Brackets
cc88435b48 Windows: Support multi-display full screen.
For when you have an ultrawide monitor, or I guess even multiple.
2017-07-30 09:14:36 -07:00
Unknown W. Brackets
626102e84a Windows: Use system API to toggle fullscreen.
Instead of having a special Host API for Windows only.
2017-07-30 07:51:53 -07:00
zminhquanz
6e2f152919 Add credit developer 2017-06-11 20:44:41 +07:00
Unknown W. Brackets
e24216e55b UI: Add some missing overrides. 2017-06-06 19:50:19 -07:00
Henrik Rydgård
3a640ff8aa Address comments, make things closer to the Win32 code. Things work better. 2017-06-06 11:30:20 +02:00
Henrik Rydgård
0d3d642371 It works! 2017-06-05 23:09:12 +02:00
Unknown W. Brackets
41b485aa0a Core: Refactor repeating disc id homebrew code. 2017-06-03 15:29:08 -07:00
Unknown W. Brackets
9a14de5831 UI: Make some tooltips less technical. 2017-06-03 10:14:56 -07:00
Unknown W. Brackets
4e49992e5c UI: Remove padding hack for setting info message. 2017-06-03 09:45:55 -07:00
Unknown W. Brackets
64c2194989 UI: Allow texture ini create only within game. 2017-06-03 09:45:55 -07:00
Unknown W. Brackets
c4af8be5ef UI: Enable mouse settings only if checked.
Like other settings do.
2017-06-03 09:45:54 -07:00
Unknown W. Brackets
cb1b8f23bb UI: Fix fade-out when editing touch controls. 2017-06-03 09:45:53 -07:00
Unknown W. Brackets
979bc58cac UI: Translate AVI start/stop strings. 2017-06-03 08:37:55 -07:00
Unknown W. Brackets
79ae0f77d8 UI: Fix Take Screenshot support. 2017-06-01 20:40:21 -07:00
Unknown W. Brackets
d1c9cb8c63 UI: Start a render pass while stepping.
We won't start one otherwise.  This fixes a crash when auto run is off.
2017-05-31 20:04:02 -07:00
Henrik Rydgård
82df6af4c6 Merge pull request #9746 from LunaMoo/minorCWC
CWC: Respect _C2 as an activation.
2017-05-31 13:17:56 +02:00
LunaMoo
ce74423381 Simplify some cwc detection code, respect _C2 as activation. 2017-05-31 11:58:24 +02: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
Henrik Rydgård
901b62ae54 Merge pull request #9730 from LunaMoo/HomebrewIdent
Fix a bunch of emu features for Homebrew by better identification.
2017-05-30 14:57:31 +02:00
LunaMoo
5e0f8141d2 Corrections, some %i->%d around other code as well. 2017-05-30 13:52:29 +02:00
LunaMoo
296f724ad1 Oops, missed this one:]. 2017-05-30 12:20:35 +02:00
LunaMoo
5cebcba356 Add new format to CWC as well, don't think it's worth auto-rename. 2017-05-30 12:20:33 +02:00
LunaMoo
737152f9ef Try using first screenshot as an icon if no icon is present. 2017-05-30 12:20:30 +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
a175af1cf4 For now, only check for vulkan availability on Windows and Android. 2017-05-30 11:29:39 +02:00
Henrik Rydgård
fede9a05fb Only show the Vulkan setting if Vulkan might be available. 2017-05-30 10:38:17 +02:00
Henrik Rydgård
137b79c708 Fix more review comments. 2017-05-30 09:38:05 +02:00
Henrik Rydgård
c173da49d3 Fix a number of bugs and stuff affecting Vulkan on Mali 2017-05-30 09:36:17 +02:00
Henrik Rydgard
32728553bd Further steps towards Vulkan framebuffer support 2017-05-30 09:36:17 +02:00
Henrik Rydgård
6bcfe539f7 Use vulkan-style clear-on-bind when switching render targets. Not optimally used yet.
Also removes a bunch of redundant render target binds.
2017-05-30 09:36:17 +02:00
Henrik Rydgård
0f171acacb Start refactoring things to be more vulkan-friendly 2017-05-30 09:36:17 +02:00
Henrik Rydgård
6147448719 Draw overlays at the proper time in the frame. 2017-05-30 09:36:17 +02:00
Unknown W. Brackets
4a6ae3e1b1 Reporting: Default better when perfect selected. 2017-05-29 09:52:38 -07:00
Unknown W. Brackets
da18755003 Reporting: Add compat description to UI.
Some users are reporting "Nothing" even with a screenshot that looks
ingame.  Let's try to clarify a bit.

This same place is a good place to put a notice that we're detecting
potential better settings.
2017-05-29 09:48:18 -07:00
Unknown W. Brackets
708a54d60b Merge pull request #9726 from hrydgard/remove-always-depth-write
Remove "Always Depth Write" setting. One step forward for #8171
2017-05-26 11:17:40 -04:00
Unknown W. Brackets
ba483853c5 Merge pull request #9725 from hrydgard/remove-mipmap-setting
Remove the Mipmap setting. One step forward for #8171
2017-05-26 11:16:37 -04:00
Henrik Rydgård
be77ffd4e8 Show the Android "board name" in system information. 2017-05-26 12:29:27 +02:00
Henrik Rydgård
1d96ead852 Remove "Always Depth Write" setting. One step forward for #8171 2017-05-26 10:23:45 +02:00
Henrik Rydgård
1b05a54800 Remove the Mipmap setting. One step forward for #8171 2017-05-26 10:21:20 +02:00
Henrik Rydgård
9ce874d2cf Typo fix, MOBILE_DEVICE 2017-05-25 00:31:00 +02:00
Henrik Rydgård
6bccc06628 Reset (through renaming) and hide the software rendering setting on Android. Only show it if it's already enabled. 2017-05-24 20:53:00 +02:00
Henrik Rydgard
a1e3be445a Don't use partial-restart unless debugger is present.
Works around #9666 for most practical purposes.
2017-05-21 17:25:00 +02:00
Henrik Rydgård
13e7dae72d Merge pull request #9707 from unknownbrackets/softgpu-d3d9
SoftGPU: Fix rendering when using Direct3D 9
2017-05-21 12:32:44 +02:00
Unknown W. Brackets
259af56ee6 SoftGPU: Fix rendering when using Direct3D 9.
Since we restore dxstate when setting a framebuffer or backbuffer, we need
something that populates it.
2017-05-20 21:29:09 -07:00
Unknown W. Brackets
984060a85f Merge pull request #9677 from hrydgard/joystick-sensitivity
Quick hack to enable analog stick sensitivity on non-windows platforms.
2017-05-20 13:41:27 -04:00
Henrik Rydgård
4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +02:00
Henrik Rydgård
6d58a8d8f6 Move up Software Rendering to Rendering where it belongs. Makes it easier to turn it off if enabled by accident. Also warn if used and it runs slow. 2017-05-18 14:56:10 +02:00
Henrik Rydgård
d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +02:00
Henrik Rydgård
049d06cdc4 More paranoia 2017-05-18 13:29:00 +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
Henrik Rydgård
60378a0dcb Minor GameInfo memory handling improvements. Still not great. 2017-05-18 12:41:42 +02:00
Unknown W. Brackets
6e4898d24f UI: Enable some settings for software rendering.
These now affect softgpu, so let's not disable them.
2017-05-08 21:03:10 -07: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
Henrik Rydgard
9a1cd5a5e8 Add some paranoid checks around touch IDs that probably won't help #9647
Also adds LunaMoo to credits list.
2017-04-30 08:57:44 +02:00
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07: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
Henrik Rydgård
712fb08105 Merge pull request #9655 from unknownbrackets/leaks
Fix some leaks
2017-04-29 22:15:54 +02:00
Unknown W. Brackets
9ea7281b3c Core: Cleanup MAC address handling.
No need to make it leak, even if it doesn't matter much on shutdown.
Better to have the leak listing empty.
2017-04-29 12:48:06 -07: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
LunaMoo
5fd6d4aab6 Minor OCD fix;]. 2017-04-29 16:24:01 +02:00
Unknown W. Brackets
661b2a3aa8 UI: Make GPU events more consistent. 2017-04-27 20:03:50 -07:00
LunaMoo
26006e9d80 Add an option to trap mouse within window/display area. 2017-04-27 16:29:08 +02:00
LunaMoo
1d0dab2020 Add Tip to inform user how to use mouse control. 2017-04-27 12:06:39 +02:00
LunaMoo
45304476e2 Polish the new workaround, seems to be nice and simple. 2017-04-27 11:12:11 +02:00
LunaMoo
a0b904c7e8 Try on a nicer mapping workaround. 2017-04-27 10:09:57 +02:00
LunaMoo
26c02478af Mouse Control(Windows only for now) 2017-04-26 18:03:48 +02:00
Unknown W. Brackets
75898392b9 UI: Proxy devmenu keypress through an event.
This prevents a mutex issue in #9626.
2017-04-17 20:33:22 -07:00
Unknown W. Brackets
e8e65881b8 Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -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
LunaMoo
372cbaac15 Disable pause button when not using touch.
Remove per-game status from some settings which shouldn't be per-game.
2017-04-14 17:11:16 +02:00
Unknown W. Brackets
989f19f83f UI: Respect the pause button display setting.
As of 22782b6, the setting stopped working.  It can be useful for Windows
touch devices.  Fixes #9609.
2017-04-12 22:09:05 -07:00
Henrik Rydgard
f66e54c4cb Operator precedence fix in ifdef 2017-04-05 16:25:17 +02:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgard
fc730b76df Fix XInput polling in UWP apps. Should help #9555 2017-04-05 14:13:25 +02:00
Henrik Rydgard
22d5acb40e Depal: Use the full CLUT mode setting as the depal shader key. Fixes #9550 for both D3D11 and D3D9. 2017-04-04 11:09:29 +02:00
Henrik Rydgard
7e9bc84c06 Minor safety check 2017-04-02 23:58:27 +02:00
Unknown W. Brackets
6541413021 UI: Improve documentation on pop up use. 2017-04-02 10:56:41 -07:00
Unknown W. Brackets
e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Unknown W. Brackets
55908588eb UI: Allow choosing game bgs for all UI. 2017-04-02 10:48:38 -07:00
Henrik Rydgard
7230a8b427 Remove the "Disable alpha test" setting. It breaks too many things.
The  performance benefits in a few games on older hardware are not worth it.
We are able to automatically remove redundant alpha test in many cases now.
2017-04-01 11:36:35 +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
LunaMoo
d3bfb5cbbc Refresh bloomHackEnable_ also on resolution change. 2017-03-29 17:57:50 +02:00
Henrik Rydgård
84d7d5b8df Merge pull request #9501 from unknownbrackets/ui-background
UI: Add simple support for a custom background
2017-03-29 11:11:43 +02:00
Henrik Rydgård
b0b72cd63e Merge pull request #9510 from xebra/fix_hwtess_gles
Fix hwtess gles
2017-03-28 13:17:32 +02:00
xebra
a7c3b2f599 Add warning "experimental" to hardware tessellation because may cause crash with GLES. 2017-03-28 19:51:25 +09:00
xebra
73a898df2a GLES:Fix again compatibility for instanced rendering. 2017-03-28 19:49:37 +09: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
576c1b740a Buildfix non-Windows 2017-03-26 13:07:36 +02:00
Henrik Rydgård
c1b37bd2ad Merge pull request #9506 from xebra/fix_hwtess_gles
GLES:Fix compatibility checks for instanced rendering.
2017-03-26 12:08:20 +02:00
xebra
04e1e1a460 GLES:Fix compatibility checks for instanced rendering. 2017-03-26 19:00:20 +09:00
Unknown W. Brackets
562288b09c UI: Refactor game icon/bg loading.
This also default-initializes the atomic flags, which seems to fix a race
condition I was sometimes experiencing with missing icons.
2017-03-26 00:00:57 -07:00
Unknown W. Brackets
1fdf7c5373 UI: Skip game bg lookup without game.
This avoids trying to identify a file without a name.
2017-03-24 22:15:22 -07:00
Henrik Rydgård
33db883024 Merge pull request #9492 from unknownbrackets/frame-drops
Allow debug logging of frame drops
2017-03-24 20:37:18 +01:00
Unknown W. Brackets
01703f7ffc Core: Add UI option to enable frame drop logging. 2017-03-23 19:27:16 -07:00
LunaMoo
4a2677e0c6 Revert unintentional change from: 429bf5d8b3 2017-03-23 11:54:54 +01:00
Henrik Rydgård
22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgard
aa2177a4b5 UWP: Hide the graphics API from the logo screen, it's always D3D11 2017-03-23 10:02:29 +01:00
Henrik Rydgard
792dd1557c Improve StorageFileLoader enough to actually kind of work 2017-03-23 10:02:28 +01:00
Henrik Rydgard
d58ee6670e UWP: Fix audio sample rate, savestates, memory leak. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
4ced81b1df UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game 2017-03-23 10:02:28 +01:00
Henrik Rydgard
3c52570552 Add UWP projects and rough UWP entry point application based on the sample
Delete sample load, hook things up. It now builds but doesn't run

Reformat, add an event
2017-03-23 10:02:27 +01:00
Henrik Rydgard
35e2a5a7d1 Allow text input on some more platform in settings. See #9421 2017-03-22 21:50:42 +01:00
Henrik Rydgård
41a3370035 Merge pull request #9476 from unknownbrackets/ui-transform
UI: Make popups transition their button
2017-03-22 14:38:37 +01:00
Unknown W. Brackets
5f54726d03 http: Add an additional cancel check. 2017-03-22 00:06:02 -07:00
Unknown W. Brackets
abe4b750cc UI: Keep Back buttons consistent in http settings.
Also, prevent changing server port while serving.
2017-03-22 00:03:45 -07:00
Unknown W. Brackets
2faaf0a9fa http: Cancel remote server connects faster.
This way the UI doesn't appear to hang when you click cancel.
2017-03-22 00:03:08 -07:00
Unknown W. Brackets
52bcd78301 UI: Put developer tools Back in a standard place. 2017-03-21 23:59:59 -07:00
Unknown W. Brackets
07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -07:00
Unknown W. Brackets
4fb8ac96ce UI: Zero initialize EventParams in typical usage.
Better to be safe.
2017-03-21 18:45:48 -07:00
Unknown W. Brackets
cbee412de4 UI: Make some tips less technical and simpler. 2017-03-21 18:01:00 -07:00
Henrik Rydgård
b4fa8ae82b Remove one tip, correct another. 2017-03-21 14:02:41 +01:00
Henrik Rydgård
70e6732430 Merge pull request #9470 from zminhquanz/master
Add warning simulate block transfer , setting info
2017-03-21 08:55:32 +01:00
zminhquanz
ea0aab9340 Add warning simulate block transfer , setting info
Add some games compatibility required buffered rendering and warning
required simulate block transfer set to on
2017-03-21 14:23:31 +07:00
Unknown W. Brackets
09dac5dfa3 UI: Fade PopupScreens out too. 2017-03-19 17:45:39 -07:00
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -07:00
Unknown W. Brackets
9f3415f43f UI: Ask linear child views to stay inside AT_MOST.
Fixes the DevMenu pop up in larger windows.
2017-03-19 16:36:21 -07: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
Henrik Rydgård
e43435ab2d Merge pull request #9459 from duganchen/qt_assets_dir
Fix assets directory for non-mobile, non-Windows Qt builds
2017-03-19 17:14:37 +01: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
Unknown W. Brackets
77fccdaa23 UI: Make the other report screen a dialog too. 2017-03-19 07:46:06 -07:00
Henrik Rydgard
9fa13c7c9d Make ReportScreen a dialog. Minor improvement to GE debugger. 2017-03-18 23:30:50 +01: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
378170d723 Add ability to tag objects in the gl_lost_manager 2017-03-18 13:55:15 +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
1424713f62 Minor resource reorg 2017-03-17 12:35:27 +01:00
Henrik Rydgård
17a250df7a Always trigger gpu->Resized when exiting GameSettingsScreen.
Strangely, this does NOT help #9438.
2017-03-17 10:27:49 +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
Henrik Rydgård
b2677cfc63 Add tab to system info to show some build configuration flags
Would be nice if there was a way to automatically get them all ... there
might be with some CMake trickery?
2017-03-16 12:33:45 +01:00
Henrik Rydgård
f4a0c4504f Fixes to GPU system information. Fixes #9434 2017-03-16 09:48:10 +01:00
Henrik Rydgård
e17772b58d Merge pull request #9430 from unknownbrackets/input-state
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets
1ca40488f2 Use touch events for LogoScreen dismiss. 2017-03-14 22:07:04 -07:00
Unknown W. Brackets
2a745f86ac Switch to axis for accelerometer usage. 2017-03-14 22:07:03 -07:00
Henrik Rydgard
e37decc9a8 Warn if trying to run some games that are known to require buffered rendering with it not enabled. 2017-03-14 10:36:51 +01:00
Henrik Rydgård
7e007c3973 Merge pull request #9426 from unknownbrackets/input-state
Remove various legacy parts of the InputState
2017-03-14 09:34:57 +01:00
Unknown W. Brackets
2812ddcc86 Remove End/UpdateInputState and ButtonTracker.
No longer used for anything.
2017-03-13 22:58:38 -07:00
Unknown W. Brackets
02855e7abb Remove unused pad_buttons and old virtual_input.
GamepadEmu does this now.
2017-03-13 22:57:22 -07:00
Unknown W. Brackets
549169ad7f Remove legacy pad_buttons check.
BACK will already leave the dialog.
2017-03-13 22:50:28 -07:00
LunaMoo
429bf5d8b3 Use $(DefaultPlatformToolset)_xp for easier VS builds with different toolsets. 2017-03-13 21:40:08 +01:00
Henrik Rydgård
34acb8b708 Show in dev settings if PPSSPP was built using Jenkins (just a test for my internal ci build). 2017-03-13 13:55:29 +01:00
Henrik Rydgard
b0bd7e3c6f Minor changes for compatibility with VS2017 2017-03-12 17:33:00 +01:00
Henrik Rydgard
525df21751 Unbreak version check on Windows 2017-03-12 17:24:46 +01:00
Henrik Rydgård
537115f25c Merge pull request #9418 from xebra/cleanup_spline_bezier
GLES:Remove texture_half_float extension.
2017-03-12 17:09:24 +01:00
xebra
b9a9a509ae GLES:Remove texture_half_float extension. 2017-03-13 01:02:05 +09:00
Henrik Rydgård
586a0400cd Merge pull request #9416 from hrydgard/ui-generate-mipmap
Reintroduce mipmaps for images in the UI like screenshots (D3D11, OpenGL, D3D9)
2017-03-12 16:55:02 +01:00
Henrik Rydgard
8a8360ef96 Reintroduce mipmaps for images in the UI like screenshots (D3D11, OpenGL, D3D9) 2017-03-12 16:30:53 +01:00
Henrik Rydgård
cfb93a707c Merge pull request #9370 from fireballwayne/remoteiso
Remoteiso
2017-03-12 12:39:45 +01:00
Fireball Wayne
9ea7d347c1 Remoteiso better http header detection 2017-03-12 01:15:40 -05:00
Henrik Rydgard
9bb81a24c0 Fix bug where we'd reload the post shader information every frame. Fixes #9410 2017-03-11 12:25:43 +01:00
Fireball Wayne
88760b2f61 RemoteISO relax subdir restrictions 2017-03-11 01:53:16 -05:00
Fireball Wayne
c394b9e26c RemoteISO moved settings to connection screen. 2017-03-11 00:46:51 -05:00
Fireball Wayne
768da4b2ca RemoteIso backend changes requested 2017-03-11 00:46:50 -05:00
Fireball Wayne
ed046079a5 Function name change, additional comments, code cleanup for remote disc streaming 2017-03-11 00:46:50 -05:00
Fireball Wayne
ce7a93e24c remoteiso gui settings 2017-03-11 00:46:49 -05:00
Fireball Wayne
6dd0f7a152 Remoteiso Manual Mode Backend 2017-03-11 00:46:48 -05:00
Fireball Wayne
8853b72684 Resolve conflict on http::client get 2017-03-11 00:23:49 -05: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
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +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
496ebf710a Add more sanity checks in png_load. 2017-03-05 12:35:13 +01:00
Henrik Rydgard
340f0cff2c Prepare for supporting manual screen rotation 2017-03-05 10:54:45 +01:00
xebra
7364dbea3b [spline/bezier]Implement hardware tessellation on D3D11. 2017-03-04 22:53:40 +09:00
Henrik Rydgard
b9b3a022fb Switch another enum to enum class 2017-03-02 12:36:54 +01:00
Henrik Rydgard
5b835839fa Make IdentifiedFileType a proper enum class 2017-03-02 12:29:03 +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 Rydgård
ba6ab0bd36 Buildfix, warning fix 2017-02-27 23:09:12 +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
5de190a45f D3D11: Move the responsibility for the swapchain out of the DrawContext so it can be used with differently-managed D3D like with UWP.
Minor cleanups.
2017-02-27 10:10:24 +01:00
xebra
f0606bd1c9 Fix the mistake at resolving conflicts. 2017-02-25 20:01:56 +09:00
xebra
257ca93d69 [spline/bezier]Oops, forgot. 2017-02-25 19:28:14 +09:00
xebra
7b72f87308 [spline/bezier]Add support for unsupported device about HW tess. 2017-02-25 19:28:13 +09: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
acde17e3ce Improvements to D3D11 detection and error handling. 2017-02-23 10:40:55 +01:00
Henrik Rydgard
85ce4ac219 Show the D3D11 choice on Windows Vista+ instead of Windows 8+. 2017-02-23 09:52:45 +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
b14e10632d Take the mapping direction into account in AnalogTestScreen. Hopefully will solve #9300. 2017-02-19 14:33:59 +01:00
Henrik Rydgard
b35493c726 Fix minor issue in gamesettings 2017-02-19 11:09:28 +01:00
LunaMoo
5ffef6d1ab Fix vertical layout on main screen. 2017-02-18 22:35:31 +01:00
Henrik Rydgard
d41a7083fb Remove "Experimental" tag from D3D11 2017-02-18 02:13:52 +01:00
Henrik Rydgard
522ac5c739 Add an escape route to D3D9 in case D3D11 fails to initialize. Cleanups. 2017-02-17 19:53:24 +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 Rydgård
a99bad046b Merge pull request #9314 from hrydgard/unify-postproc
Unify postprocessing-related framebuffer code
2017-02-16 16:37:06 +01:00
Henrik Rydgard
5c918da774 Minor cleanups (combined two identical enums, misc) 2017-02-15 11:06:59 +01:00
Fireball Wayne
6bbbb11518 Remove net::init() 2017-02-14 19:16:52 -05:00
Fireball Wayne
a404138f82 Remember Last Remote ISO server 2017-02-14 19:16:51 -05:00
LunaMoo
89ef06936f Fix importing first cheat from database list 2017-02-14 21:47:43 +01:00
Henrik Rydgard
cbf24a9d78 Get rid of "AutoInit", instead always keep the network initialized.
See #9305
2017-02-14 13:12:02 +01:00
Henrik Rydgard
b5034c4e00 Hide the D3D11 backend if Windows version is older than Win8 2017-02-14 10:33:42 +01:00
Henrik Rydgard
5ee3b534ed More D3D11 improvements 2017-02-10 10:26:18 +01:00
Henrik Rydgard
02e7d371bd Enable selecting D3D11 on Windows 2017-02-08 17:35:53 +01:00
Henrik Rydgard
9dd3e18ed4 Fix two minor issues with D3D UI 2017-02-08 17:09:59 +01:00
Henrik Rydgard
a846c4f68f More assorted D3D11 fixes. The samplemask in SetBlendState was the problem. 2017-02-08 14:55:03 +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
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
f00f7d2fb8 Remove some dependencies on the pD3DDevice globals 2017-02-05 20:36:00 +01:00
Henrik Rydgard
0b7f3720ae More FBO api cleanup 2017-02-04 22:25:34 +01:00
Henrik Rydgard
daee5c24e5 Work towards unifying the GL and DX FBO APIs 2017-02-04 22:25:34 +01:00
Henrik Rydgård
668023967d Merge pull request #9269 from xebra/hw_tess_gles4
Fix supporting gl_InstanceID.
2017-02-01 15:16:25 +01:00
xebra
bab28df768 Fix supporting gl_InstanceID with GameSettingsScreen. 2017-02-01 22:12:54 +09:00
Henrik Rydgård
dc19e113c5 Merge pull request #9265 from LunaMoo/ui_minor
Fix Game/Info screen lagginess and crash when moving a window.
2017-02-01 09:28:28 +01:00
xebra
918bee8801 Add support OES_texture_half_float. 2017-02-01 14:37:03 +09:00
LunaMoo
b15e927807 Fix lag generated by getting savegames on update()
Also clear otherChoices_ vector, fixes crash when moving a window.
2017-02-01 05:14:54 +01:00
xebra
6adddbbd38 [spline/bezier]Turn off Hardware Tessellation if device is unsupported. 2017-01-31 23:37:07 +09:00
Henrik Rydgard
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgard
acef9af5d4 Fix a bug in TextureUtil, may help #9248 2017-01-28 23:16:37 +01:00
Henrik Rydgard
245e3b9bd1 Increase alt speed max% to 1000 2017-01-28 22:34:10 +01:00
Henrik Rydgard
7182c34c1e Quick soft fadeout when menu background audio stops playing 2017-01-28 10:38:50 +01:00
Henrik Rydgård
6136123830 Save a small amount of GPU fillrate when controls are faded out 2017-01-26 11:10:33 +01:00
Henrik Rydgård
69b35a35be Show page size and WX Exclusive status in system info 2017-01-26 09:20:05 +01:00
Henrik Rydgård
ff9e1517c7 More bugfixes 2017-01-25 19:11:33 +01:00
Henrik Rydgård
528af8a939 Simplification around textures 2017-01-24 20:59:00 +01:00
Henrik Rydgård
8654d42528 DrawContext API change: introduce TextureDesc 2017-01-24 20:59:00 +01:00
Henrik Rydgård
d2c4cbacad Delete unnecessary form of CreateTexture 2017-01-24 20:58:59 +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 Rydgard
d9acd27126 Rename GLES files to match the convention the other backends use. 2017-01-23 17:08:58 +01:00
xebra
2e7f2998c7 Exclusion control for options between spline/bezier quality and hardware tessellation. 2017-01-23 14:12:03 +01:00
xebra
95b534ef88 Update credit 2017-01-23 14:12:02 +01:00
xebra
192d8f3601 [spline/bezier]Add an option for hardware tessellation. 2017-01-23 14:12:02 +01:00
Henrik Rydgård
941d128248 Sneak in a minor game settings fix 2017-01-17 18:55:48 +07:00
Henrik Rydgård
b4d1e34585 Fix #9211 (Typo) 2017-01-16 19:57:09 +07:00
LunaMoo
58af2b8eae Fix profiler build. 2017-01-09 22:09:34 +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