Commit Graph

210 Commits

Author SHA1 Message Date
Josh Adams
d0bf843c9c - Merging Dev-Kairos/Engine/... to Main/Engine/...
- Brings over the necessary engine changes for embedding UE4 mobile as a dylib/so in native mobile app
- Various changes for facial animation, screen recording, others
- ARKit and ARCore plugins were removed, as deemed "not ready"
#rb many people


#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 5201138 via CL 5203024

[CL 5226277 by Josh Adams in Main branch]
2019-02-27 11:57:17 -05:00
dakota carmer
ba3574cfba Fixed SupportsQuit
#jira UE-65441
#rb cody.albert

#ROBOMERGE-SOURCE: CL 4997752 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4997755 by dakota carmer in Main branch]
2019-02-14 15:01:09 -05:00
rolando caloca
3249f9268e F - Compile out geometry and tessellation stages on mobile platforms. Platforms can disable either or both for some memory savings.
#rb Marcus.Wassmer
#rnx
#jira


#ROBOMERGE-OWNER: rolando.caloca
#ROBOMERGE-AUTHOR: rolando.caloca
#ROBOMERGE-SOURCE: CL 4977338 via CL 4977347 via CL 4979031

[CL 4981812 by rolando caloca in Main branch]
2019-02-13 08:48:07 -05:00
Justin Marcus
a6267fe237 Merging using //Fortnite/Dev-EngineMerge-To-//UE4/Main
Manual merge of CL 4940744 because robomerge had issues.

Original Description:

Merging //Fortnite/Dev-Kairos to Main (//Fortnite/Main)

Getting ready for Install Bundle Manager merge to main.  These are Engine/Core fixes


4440445
Fix FBuildPatchInstaller::Initialize() failing for manifests that did not include the empty tag.

#jira no jira
#rb Leigh.Swift


4474598
Add Android Macros to disable optimization
Fix Android directory iteration for OBBs.  FindFilesRecursive() now works.
#jira UEATM-177
#rb Chris.Babcock

4487221
Android file - When mounting an OBB, fix possibly mounting directories as files.
#rb Chris.Babcock

4511214
Fix Android directory iteration not returning the visitor result.  This would cause IPlatformFile::FindFilesRecursively() to prematurely end iteration.
#rb Chris.Babcock

4670945
Fix GetVarArgs format specifier off by 1 error.  These would only show up if you had the format specifier at the end of the format string and only with 'l' and not 'll'.  In that case the code would walk off the end of the format string, usually into another static string.

Fix GetVarArgs to never walk off the end of the format string.

#rb [at]ben.ziegler

4746778
Fix FShaderCodeEntry ref counts being off by one.
This bug was exposed because [Project Name Redacted] doesn't load shaderlibs or the PSO cache until well after engine init.  That means some FShaderResource's are loaded before shader libs or PSO cache and FShaderCodeLibrary::RequestShaderCode() can fail in FShaderResource::SerializeShaderCode().

#rb [at]Gil.Gribb [at]Chris.Babcock

[CL 4948018 by Justin Marcus in Main branch]
2019-02-08 11:00:43 -05:00
dmitriy dyomin
27bbe11d15 Set async loading thread affinity to AllCores instead of LittleCores, improves boot time (1:45 -> 1:05 on S9+ Adreno)
#ROBOMERGE-SOURCE: CL 4837397 via CL 4838878 via CL 4841265

[CL 4841336 by dmitriy dyomin in Main branch]
2019-01-30 07:01:40 -05:00
daniel lamb
348740876a Integrate PART of CL 4378335.
Integrate the parts involving the FPlatformMisc::LoadTextFileFromPlatformPackage.
#rb Justin.Marcus


#ROBOMERGE-SOURCE: CL 4831383 via CL 4833736

[CL 4833753 by daniel lamb in Main branch]
2019-01-29 14:24:37 -05:00
James Hopkin
a9f7efc154 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 4718806

[CL 4732416 by James Hopkin in Dev-Core branch]
2019-01-16 10:11:46 -05:00
Robert Manuszewski
cfa01c09c7 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4731457 by Robert Manuszewski in Dev-Core branch]
2019-01-16 04:23:12 -05:00
Ben Marsh
a22b952aa9 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 4718806 by Ben Marsh in Main branch]
2019-01-14 12:11:24 -05:00
Marc Audy
ab108c215e Copying to Dev-Main @ CL# 4688301
#rb
#rnx

[CL 4688816 by Marc Audy in Main branch]
2019-01-08 11:38:48 -05:00
Robert Manuszewski
2752c82adc Merging //UE4/Dev-Main @ 4664414 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4675693 by Robert Manuszewski in Dev-Core branch]
2019-01-02 00:55:51 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Steve Robb
741459090f More UE_DEPRECATED fixes.
#rb none

[CL 4640213 by Steve Robb in Dev-Core branch]
2018-12-07 05:13:08 -05:00
Robert Manuszewski
1685ed0b2e Merging //UE4/Dev-Main @ 4620382 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4631078 by Robert Manuszewski in Dev-Core branch]
2018-12-04 23:30:42 -05:00
Johan Torp
17755d60ae Optimized Str[n]icmp() and TChar::ToLower/ToUpper()
Replaced expensive CRT to[w]lower() / to[w]upper() calls with locale-independent implementations.

The semantics match standard C locale that all UE platforms use - only ASCII characters are considered.

* Simplified TChar IsLinebreak()
* New TChar::ToLower() and ToUpper() implementation
* Replaced all Str[n]icmp() implementations with a unified implementation that all platforms use
* Moved implementation inside a cpp file to reduce code bloat
* Added unit tests
* Fixed sign extension bug in the replaced Str[n]icmp()

The bug would only manifest for 1 and 2 byte signed character types. Also MicrosoftPlatformString forwarded Str[n]icmp() to correct but non-standard CRT calls. AFAICT only narrow strings containing non-ASCII characters on non-MS platforms was affected. See TChar::ToUnsigned() for more details.

#rb steve.robb, stefan.boberg

[CL 4609549 by Johan Torp in Dev-Core branch]
2018-11-29 06:12:46 -05:00
Ben Marsh
ea340d3fbf Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
Robert Manuszewski
de0e48504f Merging //UE4/Dev-Main @ 4560050 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4561121 by Robert Manuszewski in Dev-Core branch]
2018-11-13 00:49:34 -05:00
Martin Ridgers
4e07ff0409 Added macros to decorate functions/methods with the executable section they should be linked into.
#rb steve.robb

[CL 4550999 by Martin Ridgers in Dev-Core branch]
2018-11-08 08:25:22 -05:00
chris babcock
2a40b4fee9 Add missing GetMaxPathLength for Android
#jira UE-66167
#ue4
#android
[FYI] Jack.Porter
#rb Thomas.Ross
#lockdown Cristina.Riveron

#ROBOMERGE-SOURCE: CL 4541003 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4541004 by chris babcock in Staging-4.21 branch]
2018-11-05 15:31:51 -05:00
Martin Ridgers
b00bfdbc0e Missing "#endif".
#rb trivial

[CL 4523429 by Martin Ridgers in Dev-Core branch]
2018-10-30 07:10:15 -04:00
Martin Ridgers
5280cd15f6 - Updated all platforms to check the presence of a debugger and issue breakpoints at UE_DEBUG_BREAK sites instead of from inside child calls. Windows already operated this was as of 3877545, however Windows-VS2017 is not the only platform that will include inlined functions when displaying callstacks.
- Exposed trap instructions in a separate PLATFORM_BREAK macro that does not include a debugger check.

#rb steve.robb

[CL 4516133 by Martin Ridgers in Dev-Core branch]
2018-10-29 02:52:33 -04:00
Martin Ridgers
11baea891c Removed deprecated DebugBreak*() functions.
#rb steve.robb

[CL 4511102 by Martin Ridgers in Dev-Core branch]
2018-10-26 09:18:03 -04:00
Robert Manuszewski
02ba9f72df Merging //UE4/Dev-Main @ 4397329 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4397828 by Robert Manuszewski in Dev-Core branch]
2018-09-26 08:22:54 -04:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00
Robert Manuszewski
21b7b3eb84 Merging //UE4/Dev-Main @ 4363802 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4363976 by Robert Manuszewski in Dev-Core branch]
2018-09-13 03:34:11 -04:00