Commit Graph

3542 Commits

Author SHA1 Message Date
David Harvey
d15381aa2c [LLM] FMemory::Realloc can retain the original pointer's tag via a scoping helper.
#jira FORT-149309
#rb luke.thatcher

manually merged for robomerge.

[CL 5061311 by David Harvey in Main branch]
2019-02-19 06:45:04 -05:00
wes hunt
c559835c6d FGenericCrashContext::AddGameData -> SetGameData, and allow it to alter keys that already exist. Tweak header docs to clarify this behavior.
[FYI] ben.marsh
#rnx


#ROBOMERGE-SOURCE: CL 5051062 via CL 5053987

[CL 5053995 by wes hunt in Main branch]
2019-02-18 18:30:11 -05:00
mark satterthwaite
11d042e5cf Compile out all support for Metal tessellation shaders from the MetalRHI runtime & remove all vestigial references to geometry shaders using the new pre-processor flags. This resizes all the various arrays to eliminate unused entries which were previously SF_NumFrequencies in size.
[FYI] Marcus.Wassmer, rolando.caloca, peter.sauerbrei
#rb none


#ROBOMERGE-OWNER: mark.satterthwaite
#ROBOMERGE-AUTHOR: mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5010458 via CL 5010459 via CL 5013401

[CL 5047337 by mark satterthwaite in Main branch]
2019-02-18 15:20:11 -05:00
david harvey
9ba80bf4e7 [LLM] task graph tasks inherit the LLM tag scope of the thread that created them.
#rb luke.thatcher


#ROBOMERGE-SOURCE: CL 5037830 via CL 5037831 via CL 5039094

[CL 5045549 by david harvey in Main branch]
2019-02-18 14:37:49 -05:00
michael noland
c146509a3a Core: Added support for using FString with RegisterConsoleVariableRef
#rb fred.kimberley


#ROBOMERGE-SOURCE: CL 5011539 via CL 5011546 via CL 5013836

[CL 5039299 by michael noland in Main branch]
2019-02-18 13:08:38 -05:00
helge mathee
df14a0b63e Original CLs 4985309, 4986255
Fixed a bug as uncovered by the new unit test (to be checked in in a separate submit).

* Added a new automation test file setup for animation
* Added a unit test for the calculate velocity node.


#rb Lina.Halper
#rb Aaron.Cox



#ROBOMERGE-SOURCE: CL 4996498 via CL 4996991

[CL 5000426 by helge mathee in Main branch]
2019-02-14 17:16:57 -05:00
josh adams
165f5d1e45 iOS - Enabled animation memory mapped IO on IOS. Saves 10-20 megs of memory
#rb josh.adams


#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: gil.gribb
#ROBOMERGE-SOURCE: CL 4993025 via CL 4993026 via CL 4995423

[CL 4999718 by josh adams in Main branch]
2019-02-14 17:11:45 -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
juan canada
ac58ad5e6b Copying //UE4/Private-Woodchuck-Staging[at]4997051 to Release-4.22 (//UE4/Release-4.22)
#rb none
#jira
[FYI] marcus.wassmer
[FYI] zachary.wilson

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

[CL 4997198 by juan canada in Main branch]
2019-02-14 14:23:27 -05:00
ben marsh
a2b7c3bc77 Fix TNonRelocatableInlineAllocator not switching to heap allocator correctly, due to CalculateSlackGrow() not increasing to contain the requested number of elements.
#rb none
[FYI] Graeme.Thornton
#jira UE-69712

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

[CL 4996963 by ben marsh in Main branch]
2019-02-14 13:54:47 -05:00
ben marsh
1136069ecb Allow games to pass arbitrary key/value pairs via crash reports.
Calling FGenericCrashContext::AddGameData(TEXT("Foo"), TEXT("Bar")) will add a key/value, which will also be sent as an analytics event from CrashReportClient (with the key name "GameData.Foo").

#rb none
[FYI] Wes.Hunt, Bob.Tellez


#ROBOMERGE-SOURCE: CL 4986525 via CL 4987702

[CL 4993491 by ben marsh in Main branch]
2019-02-14 09:50:39 -05:00
krzysztof narkowicz
e072895efe Moving Daniel Wright's HLR memory optimizations from Dev-Rendering.
CL 4871955
Fixed TInlineAllocator::GetAllocatedSize reporting SecondaryData AllocatedSize even when there wasn't any SecondaryData

CL 4871994
MeshDrawCommand memory optimizations
* When GPUScene is enabled, cached FMeshDrawCommands are only stored in FScene::CachedMeshDrawCommandStateBuckets, so we only have one command per state bucket.
* Removed FGraphicsMinimalPipelineStateInitializer, now relying on index into the global table
* Union IndirectArgsBuffer with draw params
* Trimmed debug data
* Removed duplicated space for SRV values, now using a bitmask to indicate SRV or TextureRHI
* Deferred renderer GPUPerfTest cached MeshDrawCommands 28Mb -> 2.1Mb
* Mobile renderer GPUPerfTest cached MeshDrawCommands 30.7Mb -> 20.5Mb

CL 4892243
Resupported r.DoLazyStaticMeshUpdate with mesh draw commands.  Now enabled when in game mode, no longer requires cooked build.
 * GPUPerfTest Total cached MeshDrawCommands 2.324Mb -> 1.691Mb and Primitive StaticMeshCommandInfos 3529.2Kb -> 563.7Kb

CL 4925071
Allocate MeshDrawCommands at lowest free index instead of last freed index
Shrink MeshDrawCommands periodically when r.DoLazyStaticMeshUpdate is enabled
Measured in replay ES31: Cached MeshDrawCommands 5.236Mb -> 2.216Mb

CL 4937280
Removed r.DeferUniformBufferUpdatesUntilVisible since it is no longer supported with MeshDrawCommands, which cache the uniform buffer pointer at AddToScene time.  Removed dead code referencing it.

CL 4937591
Fixed FMeshDrawCommandStateCache always resetting resources at index 0.  Found by Rolando.

CL 4951781
Attempt to silence static analysis warning

#jira none
#rb none
#rnx

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

[CL 4993091 by krzysztof narkowicz in Main branch]
2019-02-14 08:36:29 -05:00
brian bekich
ecf3b50d0e Fix FNetFieldExport serialization for replays
#jira none
#rb ryan.gerleve

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

[CL 4991242 by brian bekich in Main branch]
2019-02-13 20:01:11 -05:00
marcin undak
6144bcfe1b Linux: respecting NumStackFramesToIgnore when triggering Asserts
#rb arciel.rekman,brandon.schaefer
#jira UE-66130

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

[CL 4988613 by marcin undak in Main branch]
2019-02-13 17:52:59 -05:00
marcus wassmer
ee6c7bd0fa Split out some new helpful LLM tags
#rb josh.adams
[FYI] peter.sauerbrei


#ROBOMERGE-SOURCE: CL 4977662 via CL 4979317 via CL 4979776

[CL 4982506 by marcus wassmer in Main branch]
2019-02-13 10:43:50 -05:00
marcus wassmer
81122da0b6 Save 24 bytes from FRenderResource for platforms that set PLATFORM_NEEDS_RHIRESOURCELIST to 0
#rb rolando.caloca
[FYI] mark.satterthwaite, luke.thatcher,dmitriy.dyomin


#ROBOMERGE-OWNER: marcus.wassmer
#ROBOMERGE-AUTHOR: marcus.wassmer
#ROBOMERGE-SOURCE: CL 4977376 via CL 4977378 via CL 4979036

[CL 4982426 by marcus wassmer in Main branch]
2019-02-13 10:42:56 -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
ben marsh
998691c45b Fix stack walking not being initialized before capturing callstack of another thread. Causing incorrect callstacks to be submitted through crash reporter.
#rb none
#jira

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

[CL 4979369 by ben marsh in Main branch]
2019-02-12 19:42:18 -05:00
hongyi yu
e178815afc Back out all the coded added for stats memory leak investigation. It is no longer needed and is causing crashes.
#rb none


#ROBOMERGE-SOURCE: CL 4972821 via CL 4973093

[CL 4973159 by hongyi yu in Main branch]
2019-02-12 12:22:20 -05:00
rex hill
8e2d81957f Clamp FTimespan value inside the wait function of the Event class.
Timespans longer than 4294967295 milliseconds were wrapping around to zero.

#jira UE-69892
#rb steve.robb

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

[CL 4972933 by rex hill in Main branch]
2019-02-12 11:57:45 -05:00
Justin Marcus
3421b059f4 Update coopyright notices
#jira UE-69926
#rb trivial

[CL 4970841 by Justin Marcus in Main branch]
2019-02-12 10:52:20 -05:00
robert manuszewski
c91c94cc99 Enable fast path for unique name generation for all cooked builds by default
#rb none


#ROBOMERGE-SOURCE: CL 4968092 via CL 4968185

[CL 4970817 by robert manuszewski in Main branch]
2019-02-12 10:51:48 -05:00
josh adams
b7f8902fb9 - Memory Mapped IO enabled on IOS for Audio (via ini and platform property)
- -nommio on the commandline will disble it for testing
#rb gil.gribb


#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 4963115 via CL 4963118 via CL 4963812

[CL 4969283 by josh adams in Main branch]
2019-02-12 10:27:29 -05:00
ben zeigler
e836deb349 #jira UE-61501 Fix all blueprint-exposed single line API comments that use /** [at]returns to be /** Returns, as the first form does not parse correctly in the editor or in doxygen
Fix a few minor comment inaccuracies
Integrates changes from PR #5526
#rb michael.noland

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

[CL 4968596 by ben zeigler in Main branch]
2019-02-12 09:40:42 -05:00
zach bethel
196e71d846 Fixed bug where FColor::MakeRandomColor would return white.
The method is used in two major places:
 - Debug skeletons when rendering bones in the viewport.
 - Module Editor Colors in Cascade.

Both cases do now produce random colors as opposed to white.

#rb marcus.wassmer
#jira UE-69046
#5497

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

[CL 4968506 by zach bethel in Main branch]
2019-02-12 09:40:15 -05:00