Commit graph

332 commits

Author SHA1 Message Date
Henrik Rydgård
0ed3deabe6 Fix #10692 (crash when starting games from command line). Throw in some minor Vulkan fixes as well. 2018-03-08 16:35:13 +01:00
Henrik Rydgård
b9b41f52c5 Add a simple spinner to the game load screen to not look frozen. 2018-02-08 12:03:29 +01:00
Henrik Rydgård
3e56d8bbdf Noticed that the UWP build has been broken for some time, fix it.
Should probably set up a buildbot if we care about this...
2018-02-05 16:21:39 +01:00
Henrik Rydgård
22e28e218b
Merge pull request #10411 from hrydgard/gl-render-manager
GL render manager - new faster GL multithreading
2018-01-31 12:22:07 +01:00
Henrik Rydgård
c60c8ed68a Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour. 2018-01-29 19:38:10 +01:00
Henrik Rydgård
af6431986d OpenGL: Now run GL on a secondary thread. Sync issues remain. 2018-01-27 15:10:17 +01:00
Unknown W. Brackets
9952d4bac5 UI: Fade in loading much slower to avoid flicker.
On Android, it often takes 0.3s or longer to load a game.  Avoid fading it
all the way in for just a short moment, if it's gonna be quick.
2018-01-01 23:07:48 -08:00
Unknown W. Brackets
c793da500a UI: Show PIC1 while loading.
In case it takes a second, less ugly than a black screen.
2018-01-01 22:58:07 -08:00
Henrik Rydgård
cc0327137b Oops, forgot these. 2017-12-31 00:07:02 +01:00
Henrik Rydgård
525cce095a Implement warning when trying to play Ghost of Sparta with a modified CPU clock, as suggested by unknownbrackets in #7411 2017-12-17 13:14:06 +01:00
Unknown W. Brackets
46ea88e096 UI: Add delay to tweens.
Also allow them to start out in an invalid state and accept first divert.
2017-12-10 09:00:52 -08:00
Unknown W. Brackets
c097910439 UI: Reset touch controls after config load.
This is potentially earlier than full init, better to move the controls as
soon as possible.
2017-12-09 14:11:39 -08: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
Henrik Rydgård
026d3d4a00 Recreate views after boot is done, to workaround #10360 . Not the best solution.. 2017-12-07 10:21:33 +01:00
Henrik Rydgård
cf5ede493b
Merge pull request #10247 from unknownbrackets/ui-tween
UI: Show a loading message during shader preload
2017-12-06 14:24:21 +01:00
Unknown W. Brackets
4e6c083807 UI: When stepping, clear on initial load.
Otherwise we get the UI rather than a black screen.
2017-12-03 19:22:00 -08:00
Unknown W. Brackets
fb91e7f043 UI: Show loading message while shaders preload.
This opens the door to doing this for other things we do on game start,
later.
2017-12-03 12:04:42 -08:00
Unknown W. Brackets
15152fc55b UI: Reorganize EmuScreen so it renders on loading. 2017-12-03 10:39:25 -08:00
Unknown W. Brackets
e945ad6ac1 UI: Avoid navigation with an active dialog.
Cleaning up next.
2017-12-02 11:55:05 -08:00
LunaMoo
95a14ca830 Add hotkey to toggle audio and video dumping together in sync. 2017-12-01 23:48:58 +01:00
LunaMoo
2ff4104ddf Requested changes. 2017-11-14 06:33:49 +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
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
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
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
Unknown W. Brackets
9dfc9ff6ae Vulkan: Allow clearing the backbuffer to any color.
Helps with debugging sometimes.
2017-11-05 22:14:53 -08: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
vnctdj
7f37c40382 Make dev menu pop-up title translatable 2017-08-17 23:10:12 +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
979bc58cac UI: Translate AVI start/stop strings. 2017-06-03 08:37:55 -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
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
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
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
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
e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07: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
Unknown W. Brackets
07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -07: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
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
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