2592 Commits

Author SHA1 Message Date
xebra
89786b943d [spline/bezier]Instanced rendering for B-Spline is very slow when using weak GPU, so disabled it and simplify the shaders.
Add changing the quality of HW tessellation.
2018-10-07 23:54:22 +09:00
Henrik Rydgård
83bf001a31 Disable Android HW scale on TV type devices. 2018-10-06 13:43:11 +02:00
Henrik Rydgård
7b34eaa1fb
Merge pull request #11435 from unknownbrackets/ui-buttons
UI: Implement a glowing border touch control style
2018-10-04 07:57:40 +02:00
Henrik Rydgård
7f38ff783a
Merge pull request #11436 from unknownbrackets/tex-ini
Replacement: Show a warning for bad texture names
2018-10-04 07:47:42 +02:00
Henrik Rydgård
669079454a
Merge pull request #11438 from unknownbrackets/wasapi-switch
Allow WASAPI device switching
2018-10-01 09:15:36 +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
13375e2b95 Replacement: Refactor ini template generation. 2018-09-30 17:00:05 -07:00
Unknown W. Brackets
4aded5c11f UI: Implement a glowing border touch control style.
It barely glows, though.
2018-09-30 16:48:02 -07:00
Unknown W. Brackets
7ee4d2d5a1 UI: Ask for restart when changing graphics device.
Only for D3D11 and Vulkan.

Also, makes Vulkan follow D3D11 in not changing the setting if the device
is not found on startup.
2018-09-30 00:53:21 -07:00
Henrik Rydgård
68b005c79b Patch up small UI bug on credits screen.
thanks benjamin
2018-09-24 23:23:51 +02:00
Unknown W. Brackets
d1c9da6a9a UI: Maintain aspect better on screenshots.
In case they are on a thin screen or something.
2018-09-21 23:27:28 -07:00
Unknown W. Brackets
3bba9df133 UI: Keep report image at right aspect ratio. 2018-09-21 23:24:36 -07:00
Henrik Rydgård
3f34c7a213
Merge pull request #11400 from unknownbrackets/ui-minor
UI: Fix occassional issue starting second game
2018-09-18 09:52:06 +02:00
Unknown W. Brackets
ed90ab4fa6 UI: Fix occassional issue starting second game.
Sometimes render() would be called before update() after creating
EmuScreen, and we'd exit out instead of starting the game.
2018-09-17 22:45:09 -07:00
Henrik Rydgård
5d64107b0f Add some links to Discord where appropriate. 2018-09-16 20:04:10 +02:00
Henrik Rydgård
fd6c3145d5
Merge pull request #11364 from unknownbrackets/gpu-failed
Core: Reset working graphics backend on restart
2018-09-07 07:13:23 +02:00
Unknown W. Brackets
120cf59237 Core: Reset working graphics backend on restart. 2018-09-06 18:31:09 -07:00
Henrik Rydgård
d7bf2841d1
Merge pull request #11362 from unknownbrackets/gpu-failed
Core: Don't consider graphics failed on shutdown
2018-09-06 22:00:39 +02: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
Henrik Rydgård
8ac50b232d
Merge pull request #11360 from unknownbrackets/gpu-failed
Core: Log more on graphics backend failures
2018-09-06 09:18:46 +02: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
Unknown W. Brackets
246234b0b7 UI: Automatically forget pinned deleted paths.
Also, resolve the paths in case of symlinks.
2018-09-04 21:53:20 -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
Henrik Rydgård
18a6fac915
Merge pull request #11348 from unknownbrackets/ui-minor
UI: Fix state screenshot size on pause screen
2018-09-02 21:33:18 +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
Unknown W. Brackets
65bf285e41 UI: Fix state screenshot size on pause screen.
Was stretched wide here, but fine in save data manager.
2018-09-01 14:56:56 -07:00
Unknown W. Brackets
360862617a UI: Move debugger checkbox outside texture area.
Oops, didn't mean for it to be there.
2018-09-01 11:00:05 -07:00
Unknown W. Brackets
2704b09dfd UI: Load post shader names on non-Windows early.
This way the ini "name" is used, rather than the stored code for it.

Fixes #11015.
2018-08-30 21:19:19 -07:00
Unknown W. Brackets
22a536fb0c
Merge pull request #11307 from hrydgard/discord-mac-linux
Enable Discord integration for Mac and Linux.
2018-08-26 23:04:49 -04:00
Unknown W. Brackets
3fc845a265 UI: Delay game config/discord until game info load.
This avoids a race condition where the info is not always available,
causing game-specific config and Discord presence to set incorrectly.
2018-08-22 18:27:20 -07:00
Henrik Rydgård
e34378a1c1 Enable Discord integration for Mac and Linux. 2018-08-18 10:11:15 +02:00
Henrik Rydgård
6f173b9134 Harmonize some VS project settings. 2018-08-14 22:41:39 +02:00
Henrik Rydgård
0684068c81
Merge pull request #11296 from hrydgard/discord-presence
Discord presence - show the current game
2018-08-14 08:40:09 +02:00
Henrik Rydgård
35e1d0c841 Discord: Translated some messages 2018-08-13 20:14:34 +02:00
Henrik Rydgård
9c22f6ed55 Don't forget to update the other build systems and try to fix the
builds.
2018-08-13 00:28:12 +02:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00
Henrik Rydgård
eddaf97938 Add submodules, namespace json to prepare for the addition of rapidjson (sigh) 2018-08-13 00:18:54 +02:00
Unknown W. Brackets
048afb6d24 UI: Resolve symlinks when adding things to recent.
See #11131.  This also normalizes paths, captialization, etc. as
necessary.
2018-08-12 08:25:10 -07:00
Henrik Rydgård
e51ea85615 Be extra careful about never ever binding null textures when drawing backgrounds. See #11243 2018-07-21 22:48:39 +02:00
hissingshark
64e432e12d Moved from using enum to enum class 2018-06-26 07:52:02 +01:00
hissingshark
7fd7afeba9 Added "oldest save" and "slots 1-5" as options for "auto load savestate" 2018-06-25 21:45:51 +01:00
Unknown W. Brackets
ca8677d262 UI: Keep rendering UI even while stepping.
This makes it possible to "get out" on mobile.
2018-06-24 06:24:08 -07:00
Henrik Rydgård
4cfc6ee272
Merge pull request #11187 from unknownbrackets/alt-speed
Add second alternate speed and buttons for alt speed
2018-06-24 13:41:12 +02:00
Unknown W. Brackets
0564e9e3ec UI: Disable stepping on unthrottle touch button. 2018-06-23 11:06:56 -07:00
Unknown W. Brackets
c50f5cc3db UI: Fix leak in control visibility screen. 2018-06-23 10:59:19 -07:00
Unknown W. Brackets
0b0d4c1edf UI: Make touch control visibility more consistent.
Now it looks more like other screens.
2018-06-23 10:59:19 -07:00
Unknown W. Brackets
70e5ae4fad UI: Sort touch control visibility better. 2018-06-23 10:59:18 -07:00