Commit Graph

102 Commits

Author SHA1 Message Date
Dmitriy Dyomin
d8e2942b39 Android reliably logs crash callstack
libnvToolsExt (used for PhysX profiling) installs signal handlers which prevent us and Android to report crashes, to avoid this we link UE4 to stubed vesrsion of libnvToolsExt (by default)
#jira UEMOB-57
#codereview Jack.Porter, Chris.Babcock

[CL 2687553 by Dmitriy Dyomin in Main branch]
2015-09-11 00:42:40 -04:00
Chris Babcock
a939d907d6 Add launch image support for Android (disabled for GearVR)
#ue4
#android

[CL 2673367 by Chris Babcock in Main branch]
2015-08-28 19:34:42 -04:00
Chris Babcock
bb72306934 Fix resolution cache RequestedContentScaleFactor log message
#jira UE-19758
#ue4
#android

[CL 2647346 by Chris Babcock in Main branch]
2015-08-06 20:52:44 -04:00
Dmitriy Dyomin
826b00c72e Fixed: Graphical corruption on Android when switching back to app
UE-19160
UE-19254

[CL 2644640 by Dmitriy Dyomin in Main branch]
2015-08-05 05:30:33 -04:00
Jamie Dale
cfc4051acf Added functions to access low-level file stat data as a single file-system request
You can now use GetStatData to get all of the stat data for a file (its timestamps, size, read-only state, and type (file or directory)) in a single file-system request. Depending on the platform, this can be much more efficient than making multiple requests.

This change also adds alternate directory iteration functions (IterateDirectoryStat and IterateDirectoryStatRecursive) for when you need the stat data along with the files/directories on disk. For platforms that provide this stat data as part of the low-level directory iteration (such as Windows), this can yield much better performance than making two separate file-system requests. Platforms that do not provide this information as part of the directory iteration will just perform a stat request while iterating.

#platformnotify Josh.Adams

[CL 2634161 by Jamie Dale in Main branch]
2015-07-27 13:52:55 -04:00
Dmitriy Dyomin
90c019585c Fixed: Android: Games crash upon returning to home during inital load
UE-18705

[CL 2627137 by Dmitriy Dyomin in Main branch]
2015-07-21 05:09:39 -04:00
Dmitry Rekman
f455b7c9ec Linux: several keyboard input improvements.
- No longer assumes a US-QWERTY layout (uses SDL equivalent of Windows VK_ values, not raw keyboard scancodes)
- Fixes various keys not working for odd reasons (we lost bits downcasting from uint32 to uint16, causing key values to change or overlap other keys).

(Fixes UE-11582 and UE-14143 and probably others.)

Misc:
- Reverted to using WarpMouseInWindow due to reports that Global is not always reliable.
- Added a workaround for relative mouse movement being wrong in some cases.

#platformnotify Josh.Adams
#codereview Ryan.Gordon, Josh.Adams, Marc.Audy

[CL 2625112 by Dmitry Rekman in Main branch]
2015-07-17 18:52:48 -04:00
Allan Bentham
edfe761f8f RGBA hdr encoding for devices without float16 surfaces (mali).
Enabled limited post processing when RGBA encoding is in use.
#codereview Jack.porter, Brian.Karis

[CL 2621594 by Allan Bentham in Main branch]
2015-07-15 06:39:44 -04:00
Dmitriy Dyomin
1c8460870e Fixed: Device orientation doesn't work properly on Android UE-18157
Fixed: Context loss can cause back buffer to resize on Android UE-17512

[CL 2610742 by Dmitriy Dyomin in Main branch]
2015-07-06 00:25:02 -04:00
Marc Audy
5a3be78579 Remove EControllerButtons
#platformnotify Josh.Adams

[CL 2609636 by Marc Audy in Main branch]
2015-07-02 16:06:48 -04:00
Robert Jones
fc3965d32a UE-16970 - StrategyGame crash on Android devices bad name index
- General fix/change to the IO interface so that it can work with multiple threads calling in to it by using the offset version of the read/write functions and tracking the offset itself.

#codereview chris.babcock

[CL 2609268 by Robert Jones in Main branch]
2015-07-02 12:23:34 -04:00
Chris Babcock
e4a287e129 Make sure the UE4Game and UE4Game/[ProjectName] directories are created (do not use GetFileBasePath() since FApp::GetGameName() isn't valid yet and it will cache the wrong base path)
#ue-17385
#ue-17980
#ue4
#android
#codereview Robert.Jones

[CL 2606663 by Chris Babcock in Main branch]
2015-06-30 18:49:07 -04:00
Chris Babcock
ae8f571047 Make sure the UE4Game and UE4Game/[GameName] directories are created
#ue-17385
#ue4
#android
#codereview Robert.Jones

[CL 2600856 by Chris Babcock in Main branch]
2015-06-25 13:34:44 -04:00
Chris Babcock
46cc321787 Back out changelist 2593948
[CL 2600852 by Chris Babcock in Main branch]
2015-06-25 13:34:03 -04:00
Lee Clark
46a22719eb PS4 - Crash Context fixes for PS4
* PS4 specific memory allocator
* Cache some properties at startup as we can't do it inside the crash handler

#platformnotify Josh.Adams

[CL 2600576 by Lee Clark in Main branch]
2015-06-25 10:56:07 -04:00
Chris Babcock
d4e7fe7629 Fix for FAndroidPlatformMemory::BinnedAllocFromOS for SDK 21
#ue4
#android
#codereview Josh.Adams

[CL 2594383 by Chris Babcock in Main branch]
2015-06-19 17:05:08 -04:00
Chris Babcock
ad9d272786 Make sure the UE4Game directory created
#ue-17385
#ue4
#android
#codereview Robert.Jones

[CL 2593948 by Chris Babcock in Main branch]
2015-06-19 14:22:11 -04:00
Chris Babcock
0ecf89ee36 Enable shadow warnings for Android targets and clean up the ones found
#ue-14251
#ue4
#android
#codereview Marc.Audy,Ryan.Gerleve

[CL 2579237 by Chris Babcock in Main branch]
2015-06-05 19:15:39 -04:00
Chris Babcock
9d6fd5caa9 OpenWrite doesn't use O_APPEND but still seeks to end of file if append requested on Android
#ue4
#android
#codereview Leigh.Swift,Dmitry.Rekman

[CL 2561014 by Chris Babcock in Main branch]
2015-05-21 13:09:26 -04:00
Chris Babcock
a66e7b3414 Invalidate window resolution cache on resume from background on Android
#ue-14790
#ue4
#android
#codereview Robert.Jones

[CL 2560053 by Chris Babcock in Main branch]
2015-05-20 20:32:30 -04:00
Chris Babcock
dc9d878fe5 Fixes for JNIEnv thread crashes
#ue-14317
#ue4
#android
#codereview Josh.Adams

[CL 2551517 by Chris Babcock in Main branch]
2015-05-14 17:58:56 -04:00
Chris Babcock
a37125187a Allow pak files outside of obb
#ue-14247
#ue4
#android

[CL 2550071 by Chris Babcock in Main branch]
2015-05-13 21:22:37 -04:00
JJ Hoesing
562f19cba5 - Android build fix.
[CL 2533025 by JJ Hoesing in Main branch]
2015-04-30 21:44:40 -04:00
Chris Babcock
d8907bda8c More fixes for Android window resoliution caching
#ue4
#android
#codereview Robert.Jones

[CL 2532764 by Chris Babcock in Main branch]
2015-04-30 18:26:26 -04:00
Robert Jones
6fc71d74e5 UE13406 - r.MobileContentScaleFactor doesn't work on Android.
-- Updating the function which is doing the caching so that it checks to see if the value has changed and recalculate if so

[CL 2531645 by Robert Jones in Main branch]
2015-04-30 05:49:04 -04:00