Commit Graph

54373 Commits

Author SHA1 Message Date
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
mieszko zielinski
7c418bfcab Removing the EInternalObjectFlags::Async flag for UBodySetup instances that have been created off-game thread via UShapeComponent::CreateShapeBodySetupIfNeeded #UE4
This fixes a memory leak resulting from UShapeComponent::CreateShapeBodySetupIfNeeded sometimes being called as part of async navigation collision gathering.

#jira UE-69914
#rb Robert.Manuszewski

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

[CL 4992793 by mieszko zielinski in Main branch]
2019-02-14 05:43:25 -05:00
buildmachine
0cd87540cc Localization Automation
[CL 4992423 by buildmachine in Main branch]
2019-02-14 02:31:20 -05:00
dmitriy dyomin
5ad6f52b49 Disable Vulkan support on Adreno 5xx based devices running Android 6, driver issues.
#jira UE-65480
#rb jack.porter

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

[CL 4992187 by dmitriy dyomin in Main branch]
2019-02-14 00:10:54 -05:00
max chen
0873ebdb72 Sequencer: Draw section title at section clipping rect bottom left so that it's always on screen
#jira UE-69962
#rb none

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

[CL 4992139 by max chen in Main branch]
2019-02-13 23:48:47 -05:00
nick shin
3530e776e6 WebSocket - fix timed out (and misbehaving connecting) socket crash
fix HTML5 build errors

#jira UE-68340  HTML5 Servers crash on connection cleanup due to malformed connection sources
#rnx
#rb none

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

[CL 4992079 by nick shin in Main branch]
2019-02-13 23:28:14 -05:00
aaron mcleran
ef8db9f0a3 Fixing occlusion interpolation time.
#jira UE-70062
#rb Ethan.Geller

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

[CL 4992053 by aaron mcleran in Main branch]
2019-02-13 23:20:41 -05:00
nick shin
259e3c9037 WebSocket - fix timed out (and misbehaving connecting) socket crash
#jira UE-68340  HTML5 Servers crash on connection cleanup due to malformed connection sources
#rnx
#rb none

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

[CL 4991535 by nick shin in Main branch]
2019-02-13 20:44:24 -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
max chen
00666c0e45 Sequencer: Set display names for common ufunctions, ie. Add Key (Bool), Add Key (Integer), etc
#rb none
#jira UE-70042

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

[CL 4991098 by max chen in Main branch]
2019-02-13 19:30:04 -05:00
uriel doyon
0bec8ba89b Added "r.UITextureLODBias" in the scalability settings to add an extra bias to UI textures with mips.
Added 2 new texture filter modes :  TF_FirstMipNearest and TF_FirstMipBilinear. Those always sample the first (highest) mip.
When running with cooked content, TF_FirstMipNearest and TF_FirstMipBilinear will drop the all mips but the first (freeing mip tail memory).
In uncooked game, the visuals will be valid but memory of the mip trail is still allocated.
In the editor, the mip tail can still be visualized.

Fixed the texture editor streaming method description to actually reflect the state of the texture.

#rb nick.darnell


#ROBOMERGE-SOURCE: CL 4985873 via CL 4987451

[CL 4990180 by uriel doyon in Main branch]
2019-02-13 18:32:08 -05:00
michael dupuis
977f2cc854 When changing component size, and we have a layer where we have 0 total weight, don't assume 255, otherwise it will fill the weightmaps of the component with wrong data. Resulting in a difference in behavior between import of a layer and Change Component Size, which is basically another reimport option.
#rb jeremy.moore
[FYI] jack.porter


#ROBOMERGE-SOURCE: CL 4985743 via CL 4987413

[CL 4990052 by michael dupuis in Main branch]
2019-02-13 18:31:10 -05:00
louisphilippe seguin
cd1e8db109 Downgrade missing GetLifetimeReplicatedProps property from Error to Warning since it gets picked up during the Cooking process.
#rb ryan.gerleve
#jira UE-70007



#ROBOMERGE-SOURCE: CL 4984917 via CL 4987129

[CL 4989775 by louisphilippe seguin in Main branch]
2019-02-13 18:28:51 -05:00
nick darnell
6d437d00aa Making the hierarchy view show if you have flow preference changes in the view.
#ROBOMERGE-SOURCE: CL 4983848 via CL 4983915 via CL 4987075

[CL 4989736 by nick darnell in Main branch]
2019-02-13 18:28:35 -05:00
Bob Tellez
c138672365 #ROBOMERGE-AUTHOR: Jon.Nabozny
Merging CL#4987059 from//Fortnite/Dev-EngineMerge

Dynamic Memory tracking for Rep Layout. This still doesn't track Dynamic Memory for NetSerialize or Custom Delta Serialize items.

#review-4978647 @Brian.Bekich @Ryan.Gerleve @Bart.Hawthorne @LouisPhilippe.Seguin @Mattias.Hornlund @Peter.Engstrom
#jira FORT-141917
#rb Peter.Engstrom

[CL 4989716 by Bob Tellez in Main branch]
2019-02-13 18:27:42 -05:00
helge mathee
54a61e8cd7 Fix copyright issue in KismetAnimationTypesHeader
#jira UE-70000
#rb Lina.Halper



#ROBOMERGE-SOURCE: CL 4983061 via CL 4986905

[CL 4989212 by helge mathee in Main branch]
2019-02-13 18:18:58 -05:00
jon nabozny
23052479f8 Prevent UNetConnection CDOs from allocating memory for Channels, Sequence Receipts, etc.
Also, make sure more code is properly tracked as LLM Networking.

[at]Ryan.Gerleve [at]Brian.Bekich [at]Bart.Hawthorne
#rb Ryan.Gerleve, Brian.Bekich


#ROBOMERGE-SOURCE: CL 4982995 via CL 4982996 via CL 4986892

[CL 4989186 by jon nabozny in Main branch]
2019-02-13 18:18:44 -05:00
alistair white
a22a83465a Alllow the RHICopyToResolveTarget function to be overriden on individual platforms.
#JIRA
#rb Stuart.Hill


#ROBOMERGE-SOURCE: CL 4982382 via CL 4982384 via CL 4986799

[CL 4989145 by alistair white in Main branch]
2019-02-13 18:18:04 -05:00
rob gay
cb7d20c84a Fix for crash in FSoundEffectBase (if provided Inpreset is null)
#rb aaron.mcleran
#jira none

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

[CL 4989032 by rob gay in Main branch]
2019-02-13 18:06:32 -05:00
guillaume guay
c3980a81d5 Spectate option to un-possess or not current pawn
#cr maxime.mercier, mieszko.zielinski
#rnx


#ROBOMERGE-SOURCE: CL 4982263 via CL 4986766

[CL 4988673 by guillaume guay in Main branch]
2019-02-13 17:57:38 -05:00
peter sauerbrei
b862097336 changes from Dev-Rendering which provide better metal usage for buffers, allow defragging the metal heaps
#rb mark.satterthwaite


#ROBOMERGE-OWNER: peter.sauerbrei
#ROBOMERGE-AUTHOR: peter.sauerbrei
#ROBOMERGE-SOURCE: CL 4982155 via CL 4982162 via CL 4982613

[CL 4988648 by peter sauerbrei in Main branch]
2019-02-13 17:57:06 -05:00
Rolando Caloca
249a88b07c UE4 - Fix compile error
#codereview Marcus.Wassmer
#rnx
#jira UE-70044
#rb none

[CL 4988614 by Rolando Caloca in Main branch]
2019-02-13 17:53:02 -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
jamie dale
4cbd5b83ab Allow ExecuteConsoleCommand to route to the engine as a fallback if there are no player controllers active
#jira UE-69604
#rb Lauren.Ridge

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

[CL 4988585 by jamie dale in Main branch]
2019-02-13 17:51:28 -05:00
ben marsh
6f0ce80693 UBT: Don't throw an exception when scanning for restricted folder references from modules that are precompiled; they don't have source code, so won't have a list of source directories.
#rb none
#jira

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

[CL 4988260 by ben marsh in Main branch]
2019-02-13 17:34:52 -05:00