Commit Graph

82 Commits

Author SHA1 Message Date
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
Kentucky Compass
149ca17df6 iOS: fix hang on exit 2018-02-22 03:04:32 -08:00
Unknown W. Brackets
df5144b94c iOS: Attempt to fix shutdown race condition.
Not really tested, but should be necessary...
2018-02-11 11:47:15 -08:00
Kentucky Compass
e7c9afd7bb another whitespace fix 2018-01-27 15:10:17 +01:00
Kentucky Compass
c5a09de446 one more whitespace fix 2018-01-27 15:10:17 +01:00
Kentucky Compass
d43283239d whitespace cleanup 2018-01-27 15:10:17 +01:00
Kentucky Compass
49c5880fcc disable the iOS thread before shutting down 2018-01-27 15:10:17 +01:00
Kentucky Compass
0943cf3fcc use GLRenderManager on iOS 2018-01-27 15:10:17 +01:00
Kentucky Compass
e3af9f401f iOS: ViewController cleanups - delete unused code and properties 2018-01-01 19:12:52 -08:00
Kentucky Compass
20794081ea iOS: Nix iosCanUseJit and targetIsJailbroken. Move NativeInit call to main so it can take cmd line args. 2018-01-01 19:10:44 -08:00
Kentucky Compass
3e5833843a Remove references to AudioEngine, which isn't used anyway 2018-01-01 17:09:48 -08:00
Kentucky Compass
67c6ecdece nil out sharedViewController in case bindDefaultFBO is called again 2017-12-31 19:53:59 -08:00
Kentucky Compass
4a119beb59 iOS: fix a reference counting bug that may have caused ViewController to never be deallocated 2017-12-31 17:57:39 -08:00
Kentucky Compass
c563166f9a Modernize property syntax and don't use viewDidUnload (deprecated in iOS 6) 2017-12-31 17:54:50 -08:00
Unknown W. Brackets
766b40aad8 GPU: Reset GPUBackend on graphics init.
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Henrik Rydgård
b9ba525de1 Don't call functions in asserts, they get compiled out in release... 2017-10-20 14:45:00 +02:00
Henrik Rydgård
017d3da067 Allow D3D9 context creation to bail if shader compilation fails (D3D9 runtime not installed).
Fixes an issue where after switching to D3D9 on a PC without the D3D9 runtime, it's impossible to start PPSSPP anymore.
2017-10-20 11:53:07 +02:00
imxieyi
f0ba66fcd6 add support for smart keyboard 2017-09-04 15:05:46 +08:00
Henrik Rydgård
e6bf7b5fe0 Buildfixes 2017-08-07 17:09:16 +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
4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +02:00
Xiong Shimin
17b6f9f7a3 Fix: in some extreme case on-screen touch controls get stuck on iOS 2017-05-01 17:58:35 +08: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
e1bc26e67a Remove remaining input_state mutexing. 2017-03-14 22:07:06 -07:00
Unknown W. Brackets
255c726c1e Remove legacy pointer tracking outside Windows. 2017-03-14 22:07:05 -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
9f17c7f01e Fix iOS crash. Fixes #9381 2017-03-06 20:27:11 +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
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +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
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgård
b9bbee5c85 Use the mach memory functions on Mac and 32-bit iOS as well. 2017-01-25 20:38:46 +01:00
Henrik Rydgård
193b5f3094 By skipping kernel mappings, I got things to fit in the iOS 64-bit address space. However, something is still a bit broken with JIT... 2017-01-25 18:35:09 +01:00
Henrik Rydgård
5af8b152e1 Further buildfixes 2016-12-27 11:59:12 +01:00
Henrik Rydgard
bb4920298b ios/ViewController.mm : Add a comment about a future optimization 2016-12-21 17:40:33 +01:00
Henrik Rydgard
daf10ec882 Use JIT on iOS (not actually working yet, but it will start working in later commits) 2016-08-28 13:43:59 +02:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
Unknown W. Brackets
481be1cd34 Fix GL feature detection. 2016-01-06 20:26:53 -08:00
Henrik Rydgård
517c5183ac IOS buildfix 2016-01-03 15:19:43 +01:00
Henrik Rydgard
03aa820c28 Untested ios buildfix 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
Karen Tsai
c4a28a2998 Restore JIT for armv7/armv7s iOS 9 devices, which were erroneously disabled when I fixed PPSSPP's arm64 crashing. 2015-12-28 14:20:28 -05:00
Henrik Rydgård
7eb662fc6b Attempt at fixing scissor scaling issue on ios ( #8300 ) 2015-12-24 23:32:24 +01:00
Karen Tsai
1ba873a496 Override JIT setting in ppsspp.ini for JIT-incapable environments, fakesign PPSSPP binary via adhoc signing in order to prevent crash-at-launch on iOS 9, separate jailbreak detection logic from JIT support logic, temporary change to only enable JIT on iOS 8 and below. 2015-11-03 12:34:33 -05:00
Henrik Rydgard
d822cbf60b Move fbo.cpp/h from native into PPSSPP 2015-09-06 13:13:37 +02:00