Commit Graph

3977 Commits

Author SHA1 Message Date
wes hunt
e4ba1dd5eb FGenericCrashContext::AddGameData -> SetGameData, and allow it to alter keys that already exist. Tweak header docs to clarify this behavior.
[FYI] ben.marsh
#rnx

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: wes.hunt
#ROBOMERGE-SOURCE: CL 5051062 via CL 5053987 via CL 5053995
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5131525 by wes hunt in Dev-Core branch]
2019-02-22 02:27:35 -05:00
mark satterthwaite
671e1b5ea9 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: robert.manuszewski
#ROBOMERGE-AUTHOR: mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5010458 via CL 5010459 via CL 5013401 via CL 5047337
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5129223 by mark satterthwaite in Dev-Core branch]
2019-02-22 02:07:54 -05:00
david harvey
08d47654e2 [LLM] task graph tasks inherit the LLM tag scope of the thread that created them.
#rb luke.thatcher

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 5037830 via CL 5037831 via CL 5039094 via CL 5045549
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5128929 by david harvey in Dev-Core branch]
2019-02-22 02:05:20 -05:00
michael noland
d3eac5c2dd Core: Added support for using FString with RegisterConsoleVariableRef
#rb fred.kimberley

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: michael.noland
#ROBOMERGE-SOURCE: CL 5011539 via CL 5011546 via CL 5013836 via CL 5039299
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5123749 by michael noland in Dev-Core branch]
2019-02-22 01:14:50 -05:00
Stefan Boberg
fbe24c8109 Cleaned up LLM behaviour with Realloc
* Made FMemory::Realloc not bother calling into LLM to track free if the original pointer was null
* Made FMemory::Realloc not bother calling into LLM to track alloc if the new size was zero (indicating a free)

#review @steve.robb, @josh.adams
#rb steve.robb

[CL 5107729 by Stefan Boberg in Dev-Core branch]
2019-02-21 09:04:51 -05:00
Steve Robb
4826ab09fb Fixes for commas causing bad documention generation.
#rb none
#fyi ben.zeigler

[CL 5097035 by Steve Robb in Dev-Core branch]
2019-02-20 16:34:21 -05:00
helge mathee
0e7c48729e 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-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 4996498 via CL 4996991 via CL 5000426
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5060237 by helge mathee in Dev-Core branch]
2019-02-19 02:43:30 -05:00
josh adams
a9f7667f0b iOS - Enabled animation memory mapped IO on IOS. Saves 10-20 megs of memory
#rb josh.adams

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: gil.gribb
#ROBOMERGE-SOURCE: CL 4993025 via CL 4993026 via CL 4995423 via CL 4999718
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5060100 by josh adams in Dev-Core branch]
2019-02-19 02:36:05 -05:00
dakota carmer
3ecdad94be Fixed SupportsQuit
#jira UE-65441
#rb cody.albert

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: dakota.carmer
#ROBOMERGE-SOURCE: CL 4997752 in //UE4/Release-4.22/... via CL 4997755
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5060085 by dakota carmer in Dev-Core branch]
2019-02-19 02:35:23 -05:00
juan canada
ca7191c112 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-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: juan.canada
#ROBOMERGE-SOURCE: CL 4997195 in //UE4/Release-4.22/... via CL 4997198
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5060082 by juan canada in Dev-Core branch]
2019-02-19 02:35:11 -05:00
ben marsh
ae0b1b6313 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-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4996962 in //UE4/Release-4.22/... via CL 4996963
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5060075 by ben marsh in Dev-Core branch]
2019-02-19 02:34:12 -05:00
ben marsh
cea05a74da 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-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4986525 via CL 4987702 via CL 4993491
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5059742 by ben marsh in Dev-Core branch]
2019-02-19 02:13:53 -05:00
krzysztof narkowicz
4b0f1b50a6 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-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: krzysztof.narkowicz
#ROBOMERGE-SOURCE: CL 4993090 in //UE4/Release-4.22/... via CL 4993091
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5058074 by krzysztof narkowicz in Dev-Core branch]
2019-02-18 20:16:59 -05:00
brian bekich
c4c2dcb2f3 Fix FNetFieldExport serialization for replays
#jira none
#rb ryan.gerleve

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 4991241 in //UE4/Release-4.22/... via CL 4991242
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5058059 by brian bekich in Dev-Core branch]
2019-02-18 20:16:01 -05:00
marcin undak
c2aec545d3 Linux: respecting NumStackFramesToIgnore when triggering Asserts
#rb arciel.rekman,brandon.schaefer
#jira UE-66130

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: marcin.undak
#ROBOMERGE-SOURCE: CL 4988608 in //UE4/Release-4.22/... via CL 4988613
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5057805 by marcin undak in Dev-Core branch]
2019-02-18 20:05:40 -05:00
marcus wassmer
849132a5e1 Split out some new helpful LLM tags
#rb josh.adams
[FYI] peter.sauerbrei

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: marcus.wassmer
#ROBOMERGE-SOURCE: CL 4977662 via CL 4979317 via CL 4979776 via CL 4982506
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5057526 by marcus wassmer in Dev-Core branch]
2019-02-18 19:52:07 -05:00
marcus wassmer
3d261dba14 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: robert.manuszewski
#ROBOMERGE-AUTHOR: marcus.wassmer
#ROBOMERGE-SOURCE: CL 4977376 via CL 4977378 via CL 4979036 via CL 4982426
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5057494 by marcus wassmer in Dev-Core branch]
2019-02-18 19:50:37 -05:00
rolando caloca
77ce3ca4bb 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: robert.manuszewski
#ROBOMERGE-AUTHOR: rolando.caloca
#ROBOMERGE-SOURCE: CL 4977338 via CL 4977347 via CL 4979031 via CL 4981812
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5057484 by rolando caloca in Dev-Core branch]
2019-02-18 19:50:18 -05:00
ben marsh
da0afa25ca 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-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4979212 in //UE4/Release-4.22/... via CL 4979369
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5057443 by ben marsh in Dev-Core branch]
2019-02-18 19:48:22 -05:00
hongyi yu
33b812ac95 Back out all the coded added for stats memory leak investigation. It is no longer needed and is causing crashes.
#rb none

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: hongyi.yu
#ROBOMERGE-SOURCE: CL 4972821 via CL 4973093 via CL 4973159
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5056824 by hongyi yu in Dev-Core branch]
2019-02-18 19:34:36 -05:00
rex hill
e8bb8718b0 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-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 4972932 in //UE4/Release-4.22/... via CL 4972933
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5056746 by rex hill in Dev-Core branch]
2019-02-18 19:33:06 -05:00
justin marcus
ffd62e65f8 Update coopyright notices
#jira UE-69926
#rb trivial

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 4970841 in //UE4/Main/...
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5056514 by justin marcus in Dev-Core branch]
2019-02-18 19:30:54 -05:00
robert manuszewski
131ef80dce Enable fast path for unique name generation for all cooked builds by default
#rb none

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 4968092 via CL 4968185 via CL 4970817
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5056416 by robert manuszewski in Dev-Core branch]
2019-02-18 19:30:04 -05:00
josh adams
641c6a16db - 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: robert.manuszewski
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 4963115 via CL 4963118 via CL 4963812 via CL 4969283
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5055189 by josh adams in Dev-Core branch]
2019-02-18 19:04:03 -05:00
ben zeigler
920b7954fe #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-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: ben.zeigler
#ROBOMERGE-SOURCE: CL 4964132 in //UE4/Release-4.22/... via CL 4968596
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5055171 by ben zeigler in Dev-Core branch]
2019-02-18 19:03:26 -05:00