Commit graph

136 commits

Author SHA1 Message Date
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
Henrik Rydgard
28d8ed5881 Win32: Fix a bunch of little window resizing issues 2015-05-15 18:04:05 +02:00
Unknown W. Brackets
8f7e98f484 Keep Windows devices from sleeping while playing. 2015-03-01 08:29:11 -08:00
Unknown W. Brackets
1615ec69a6 Fix a typo, which fixes #7249. 2014-12-31 19:41:14 -08:00
Unknown W. Brackets
1a0f537967 dx9: Avoid triggering reset when size unchanged. 2014-12-28 13:19:19 -08:00
Unknown W. Brackets
5f015793d8 Seems like this else was a mistake. 2014-08-23 21:54:04 -07:00
Henrik Rydgard
0f973a3276 Get it running on Android again 2014-08-23 09:48:08 +02:00
Henrik Rydgard
92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02:00
The Dax
9af40da53e Make the ini tweak available for everybody. 2014-07-21 10:30:52 +02:00
Sacha
1ce39d7e95 Improve frame timing on non-Windows. Disable IdleTiming when audio is disabled. 2014-07-16 01:04:43 +10:00
Sacha
86284aa91a Fix #6477 by sleeping for 16ms when minimized. 2014-07-01 13:29:39 +10:00
Sacha
8a7573004d Use UpdateRunLoop to handle input and detect minimized window for all platforms. 2014-06-30 00:17:34 +10:00
Henrik Rydgard
3cdf53732b Make the emuthread idle when minimized on Windows. 2014-06-29 13:11:58 +02:00
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Unknown W. Brackets
b641ced7e0 Poll controllers on a separate thread on Windows.
This means controllers will sample more than the game fps, and will work
whenever keyboards do.
2014-03-23 23:46:10 -07:00
Ced2911
cc9f238d36 [xbox] 360 support for Core 2014-03-02 11:22:02 -08:00
Sacha
edd712c65d Fix Symbian DPI 2014-02-20 03:37:06 +10:00
Henrik Rydgard
ca9d0ea5cf Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
2014-02-10 15:55:21 +01:00
Henrik Rydgard
c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgard
8b6b491820 Remove obsolete outputWidth/outputHeight 2014-02-10 12:44:35 +01:00
Unknown W. Brackets
80704d013e Fix #5390, crash on Exit on Windows. 2014-02-09 17:35:43 -08:00
Unknown W. Brackets
7add81fbd2 Use USING_WIN_UI instead of _WIN32 for differences.
Just makes the code clearer and probably helps other UIs work on Windows
more easily.
2014-02-08 16:38:45 -08:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
0fa371ccbf windows: Check PSP_IsInited() in more places.
This prevents showing buttons as clickable, etc. in the debugger mainly.
2014-01-19 14:25:12 -08:00
Henrik Rydgård
00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Peter Tissen
746a88c23d enable SDL Joystick support to Qt
Cmake file update add new SDL joystick files
2013-11-22 02:37:52 +01:00
Unknown W. Brackets
879060f008 Use a CORE_POWERUP state when starting.
Otherwise, we could startup in CORE_POWERDOWN in a second game, which is
confusing.
2013-11-09 23:07:52 -08:00
Sacha
7927b889b3 Buildfix Qt Linux. 2013-10-15 00:40:46 +10:00
Unknown W. Brackets
bfa4a87e2c Don't run the ingame loop while in the pause menu. 2013-10-12 10:16:28 -07:00
Unknown W. Brackets
b0072cd38b Refactor a bit, curly style. 2013-10-12 01:44:12 -07:00
Unknown W. Brackets
21f522746f Cleanup shutdown on Windows to avoid races.
Was still getting crashes sometimes.
2013-10-12 01:40:33 -07:00
Unknown W. Brackets
10e446d225 Notify of shutdown *after* setting coreState. 2013-09-30 23:36:57 -07:00
Unknown W. Brackets
4b9056fa02 Shutdown cleanly even when GE debugger is paused. 2013-09-28 00:32:45 -07:00
Unknown W. Brackets
418d6c1e83 Reset the game when loading a state fails.
This way it doesn't crash.
2013-09-14 21:19:10 -07:00
Unknown W. Brackets
2ac5bcff1f Process savestates during single stepping.
This way we can handle them on the same thread, without weird delays.
2013-09-14 18:43:23 -07:00
Henrik Rydgard
2745744d99 Split the resolution setting into Window Size and Rendering Resolution (internal resolution).
Gets rid of our "antialiasing" (simply crank up internal resolution to 2x your window size).

Proper MSAA is coming later.
2013-09-11 00:19:34 +02:00
Unknown W. Brackets
cf92decff4 Fix new UI at 1x resolution. 2013-08-16 21:41:40 -07:00