Commit Graph

123 Commits

Author SHA1 Message Date
driver1998
0e9f53c8b4 UWP Window resizing support
this correctly resize the render view when the Window is resized
2019-05-13 15:43:11 +08: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
Unknown W. Brackets
a0608d7fc5 Debugger: Allow GPU actions while stepping.
This allows pulling the display/target while paused.  It may also allow
other actions that work outside a display list.
2018-06-16 13:57:45 -07:00
Unknown W. Brackets
0ed2c03350 GE Debugger: Prevent hang on shutdown.
Since we're blocking the Emu thread, we can't use a hook from the Emu
thread to wake up.

The change to lifecycle callbacks caused this.
2018-06-11 14:54:42 -07:00
Unknown W. Brackets
eb4b59b530 arm64jit: Enable breakpoints.
Memory breakpoints not yet really tested.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
ffa4c18f6c Core: Remove sleep on stepping.
This doesn't seem needed and has been there since day 1.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
97b0c17038 Core: Wake up inactive waits on game exit.
Fixes menu hangs since the refactor.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
2e2d8f2989 Core: Process stepping on other platforms.
This includes Android.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
c15ade3b1b Core: Refactor stepping and locking.
This should fix some race conditions with the cond vars.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
6fbd0e27bb Core: Remove some unused coreState funcs. 2018-06-06 05:58:50 -07:00
Unknown W. Brackets
e313a9bf6c Debugger: Lock startup/shutdown for threadsafety.
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets
77609bbea2 Debugger: Track a counter when entering stepping.
This allows us to poll coreState and know if a new stepping needs to be
sent.  This is useful to allow e.g. regs to show changes per step.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets
e9cc1ee463 Debugger: Allow multiple clients more properly.
Otherwise we lose wakeups and hang.
2018-06-06 05:58:49 -07:00
Henrik Rydgård
14c93bdc2b Minor code/logging cleanups. 2018-02-27 19:44:11 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Henrik Rydgård
ae19c48138 Cleanup the Windows thread stuff to work like the other platforms. Not quite perfect yet. 2018-02-07 16:00: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
4f1e0de9a9 Add missing includes. Remove some more unnecessary #ifdef _DEBUG checks - the debugger is supposed to work in release mode too. 2017-12-20 11:24:05 +01:00
Henrik Rydgård
5c1dad9909 Remove more obsolete ifdefs 2017-12-19 17:59:00 +01:00
Henrik Rydgård
a1f029fe1f Some ifdef cleanup. 2017-12-19 15:42:18 +01:00
Henrik Rydgård
1a5d1081f9 Get rid of the old custom "Event" sync primitive. 2017-12-19 15:38:18 +01:00
Henrik Rydgård
1c76d28843 Avoid double-initializing the Vulkan backbuffer on startup. 2017-11-10 13:13:56 +01:00
Henrik Rydgård
f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Henrik Rydgård
11c75476f7 Turn g_dpi into a float, because why not 2017-08-07 12:16:08 +02:00
Henrik Rydgård
8a29705165 Windows: Update dpiScale of fonts before recreating them on resize. Fixes #9437 2017-03-17 13:29:22 +01:00
Henrik Rydgård
aefad893f8 Windows: Start at a sensible window size if high-DPI. Avoids the worst of #9437 but does not fix it. 2017-03-17 13:22:00 +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
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
ef57eafaad Correct GE debugger font size in small window mode.
This should handle high and low DPI cases correctly, to avoid making the
text unreadably small.
2017-03-12 12:17:35 -07:00
Henrik Rydgård
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +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
fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgård
0aee26c285 Minor fix 2017-01-17 19:02:47 +07:00
Henrik Rydgård
901ccc9486 Buildfixes 2017-01-17 18:57:04 +07:00
Henrik Rydgård
0be02f6de0 Improve smallwindow detection, code cleanup. 2017-01-17 17:21:00 +07:00
Henrik Rydgård
8b5048be72 Fix high-DPI rendering/input on Windows 2017-01-16 20:53:41 +07:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Unknown W. Brackets
1c3e048070 Vulkan: Consistently init the graphicsContext.
This was only happening properly on Windows before.
2016-10-01 11:22:53 -07: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
95d912c378 Get rid of the input_state global linkage. 2016-05-27 20:24:01 -07:00
Unknown W. Brackets
6159bc003b Allow Qt platforms to use smallWindow dpi logic.
It doesn't look like there's any reason to limit this to Windows.
2016-05-21 09:58:23 -07:00
Henrik Rydgard
c64064024d Initial vulkan code.
This was squashed from nine commits but using old versions of Vulkan.
2016-03-20 19:18:35 +01:00
Henrik Rydgård
95822a165d Fix Mac build 2016-01-01 14:40:19 +01:00
Henrik Rydgard
3398288bd0 Some cleanup around input_state 2016-01-01 14:40:18 +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
Henrik Rydgard
44be9f2a50 Move Windows GPU init code into Windows/GPU 2015-11-03 23:22:09 +01: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
0595a76556 Start integrating the new frame profiler 2015-05-24 23:45:36 +02:00