Jeeeyul Lee
53e254d352
Disables iOS exit animation to prevent freezing.
...
Selective PTRACE sys call.
2019-03-27 11:01:20 +09:00
Unknown W. Brackets
adeca2c3ba
GLES: Move some vendor bug checks to Draw.
2018-12-23 20:27:22 -08:00
Henrik Rydgård
429a1fce01
Assert even in release mode if preset shaders fail to compile. This is just to help track down a Play crash.
2018-11-21 18:14:26 +01:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
3f1544612b
Android: Add missing graphics shutdown calls.
...
These were there for graphics restart (like resize) but not for full
shutdown, which was causing crashes during shutdown sometimes.
See #10931 .
2018-04-21 08:33:53 -07:00
Conrad Kreyling
b4e315a839
Use tabs for indentation
...
When those Xcode defaults bite you
2018-04-08 13:29:38 -04:00
Conrad Kreyling
3f90c97f39
fix “crash on exit”
...
Leaving this view here causes some kinda race condition on a lock, causing a crash on exit. Simply removing the volume from the superview fixes the issue.
2018-04-08 13:29:38 -04:00
Conrad Kreyling
2febfa1888
allow padding specification, remove NSLog
2018-04-08 13:29:38 -04:00
Conrad Kreyling
cb83ff598b
add updated Obj-C version of SubtleVolume
2018-04-08 13:29:38 -04: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
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
Karen Tsai
3501d9348d
Map right thumbstick as another analog stick, particularly useful for controllers like the DualShock 3/4 when connected to an iOS device. Fixes #7762
2015-05-24 20:46:56 -04:00
mgaver
7f3ab8715f
use nativeScale insted of scale, works fine.
...
iPhone 6 Plus scale fix
2014-10-16 09:11:26 +09:00
mgaver
00173b7aee
Update ViewController.mm
...
Fix scale for iPhone 6 Plus
2014-10-16 01:38:17 +09:00
Andrey Konoplyankin
821dbb2b55
iOS: add GLES 3.0 support
2014-05-17 13:02:57 +07:00
Andrey Konoplyankin
b386456f44
iOS: transitioning few sources files to ARC
2014-05-17 12:59:13 +07:00
sky-zer
90a8ea6a17
love tab not space
2014-02-02 18:50:29 +04:00
sky-zer
b59d7206f5
iOS JIT check correction. Check for controllers connected before launching PPSSPP.
2014-02-02 18:44:06 +04:00
sky-zer
789cb88797
Buildfix for iOS SDK < 7. Correct controller reconnection handling.
2014-01-27 18:32:19 +04:00
sky-zer
4f4edbe959
Refactoring.
2014-01-24 22:46:30 +04:00
sky-zer
55514ee58e
iOS: MFi controllers support
2014-01-24 22:39:45 +04:00
W.MS/王京
6d4095abdf
Disable vertex jit on jailed iOS devices
2013-12-02 10:48:52 +01:00
Sacha
8b4280b297
Rename KEYCODE to NKCODE (native key code) to stop name collision. Implement Blackberry keymapping.
2013-08-05 03:31:40 +10:00
Jake Traynham
0e0aec812f
Cleaned up iOS code and updated iCade support; Fixed at3+ download screen
2013-07-19 16:37:41 -05:00
Jake Traynham
7a5794b314
Added NewUI Support in iOS build
2013-07-19 16:37:40 -05:00
Jake Traynham
24961e28ef
iOS Audio fixes
2013-06-25 16:18:16 -05:00
Jake Traynham
dc25d42eca
Added iCade support to the iOS build
2013-05-30 20:58:41 -05:00
mgaver
60eb15f57a
Update ViewController.mm
...
buildfix
2013-04-24 17:44:43 +09:00
Unknown W. Brackets
a457242982
iOS buildfix (thanks @ipodtouchdude.)
2013-04-24 01:16:01 -07:00
mgaver
71b8a30c65
Update ViewController.mm
...
Update a jailbreak detection.
2013-04-23 16:31:57 +09:00
Henrik Rydgard
3bd5146fbf
iOS: Try to fix analog stick getting stuck. Blind fix :)
2013-03-31 14:21:53 +02:00
Unknown W. Brackets
31206e356b
iOS: Don't lock input state for so long.
2013-03-30 17:44:00 -07:00
rock88
4208f17c7c
iOS: Fix input buttons sticking.
2013-03-30 17:12:45 -07:00
Unknown W. Brackets
7417188671
iOS: Port Android control fix.
2013-03-30 17:11:56 -07:00
rock88
947f838165
IOS: added audio output
2013-03-16 12:54:16 -07:00
KentuckyCompass
e530a306ec
Don't rotate to portrait and fix iOS 6 compatibility
2013-03-15 22:23:59 -07:00
Sacha
6a9e2e559c
From rock88: Set max FPS to 60 instead of default 30 on iOS.
2013-03-15 12:30:40 +10:00
Sacha
f750724dea
Fix iOS assets. Thanks rock88
2013-02-28 10:28:29 +10:00
Sacha
25a37e40dd
Fix iOS directory structure in init/NativeInit.
2013-02-24 23:29:04 +10:00
Sacha
630ee68b05
Build fix for iOS. Now compiles.
2013-02-24 22:17:52 +10:00
Sacha
e848d19dbe
Fix for FBO on iOS devices. Allows buffered rendering (from rock88).
2013-02-24 13:47:45 +10:00
Sacha
0b8706684a
Add iOS icons to project (from rock88).
2013-02-24 13:32:23 +10:00
Sacha
8ba2769d5e
iOS Objective-C code dump.
...
ViewController courtesy of rock88.
Made modifications for simplification and code-style.
Still missing some files (eg. images). Also, CMake is not set up correctly yet.
2013-02-18 00:05:16 +10:00