Commit Graph

51844 Commits

Author SHA1 Message Date
jonas meyer
2a04c5bedb RHI Thread for DirectX11(Change by Intel)
Experimental, disabled by default for nowl.
define EXPERIMENTAL_D3D11_RHITHREAD to 1 in D3D11RHIPrivate.h to enable.
#rb rolando.caloca marcus.wassmer
#jira none

#ROBOMERGE-OWNER: jonas.meyer
#ROBOMERGE-AUTHOR: jonas.meyer
#ROBOMERGE-SOURCE: CL 5061329 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5061358 by jonas meyer in Main branch]
2019-02-19 07:14:32 -05:00
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
mieszko zielinski
c03bdb860e Made NavigationSystem's coordinate transforms' initialization not static #UE4
Static initializtion of FNavigationSystem::CoordTypeTransformsTo was causing issues on PS4 since it was triggered before FTransform::Initialize got initialized resulting in CoordTypeTransformsTo containing 'zero' transforms.
I've also made the related code a lot more readable.

#jira UE-67512
#rb Stephen.Holmes

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

[CL 5061259 by mieszko zielinski in Main branch]
2019-02-19 05:49:49 -05:00
max chen
c42fb94f61 Sequencer: Fix call to SetDefaultInChannel, should be SetChannelDefault.
[CODEREVIEW] andrew.rodham, matt.hoffman
#rb none
#jira none

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

[CL 5059411 by max chen in Main branch]
2019-02-19 00:55:30 -05:00
ethan geller
4f966fe0ee Fix build for potential non-windows platforms.
[FYI] bob.tellez


#ROBOMERGE-SOURCE: CL 5058900 via CL 5058904 via CL 5059003

[CL 5059061 by ethan geller in Main branch]
2019-02-18 22:58:36 -05:00
ethan geller
3695e97280 1. Fix null device callback, which was broken when swapping to the null device rather than launching with it.
2. Refactoring device swap code from using a thread safe bool to a mutex, ensuing we are not in an XAudio2 callback when we clean up XAudio2 resources.
3. Introduing au.DisableDeviceSwaps cvar, which can be used to ignore device notifications from the client.
4. Introducing some basic logic for timing out when the audio device stops performing it's callback, as well as logic to attempt to recover every so often when no devices are available.

#rb aaron.mcleran
[FYI] rob.gay


#ROBOMERGE-SOURCE: CL 5058676 via CL 5058677 via CL 5058971

[CL 5059028 by ethan geller in Main branch]
2019-02-18 22:58:16 -05:00
Uriel Doyon
cc9e7fa499 Fixed missing dependency
#rb none

[CL 5058655 by Uriel Doyon in Main branch]
2019-02-18 22:00:25 -05:00
nick darnell
6d32ecb021 Ran into a crash in SocialUser during PIE sometimes on multiple runs with mutliple users.
Dan.Hertzka


#ROBOMERGE-SOURCE: CL 5058354 via CL 5058356 via CL 5058583

[CL 5058637 by nick darnell in Main branch]
2019-02-18 21:59:24 -05:00
krzysztof narkowicz
8032990a35 Reference counting persistent FGraphicsMinimalPipelineStateId cache. This reduces total FGraphicsMinimalPipelineStateId cache memory usage and fixes memory leaking for cached draws. Leaking here was caused by caching pointers to RHI resources, which may be later recreated and same PSO wil be re-added to the cache without removing previous one.
#rb none
#jira UE-70024
#rnx

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

[CL 5058488 by krzysztof narkowicz in Main branch]
2019-02-18 21:37:54 -05:00
nick whiting
c6c27e3c20 Fix for needing the NDK installed for building Lumin / Magic Leap projects. Added bypass the to NDK version check if bAllowMissingNDK. Opted to not early out in case other Android functionality that Lumin needs is added afterwards.
#jira UE-70219
#rb joe.conley
[FYI] chris.babcock

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

[CL 5058304 by nick whiting in Main branch]
2019-02-18 20:52:44 -05:00
ben marsh
570a4ad05a Add support for building Linux servers with ThinLTO enabled (via the -ThinLTO command line argument).
#jira


#ROBOMERGE-SOURCE: CL 5055200 via CL 5055212 via CL 5057271

[CL 5057295 by ben marsh in Main branch]
2019-02-18 19:44:39 -05:00
arne schober
3ddd7ace4e Strip Additional IndexBuffers from resources when not in use, which should save about 1MB when used on mobile.
#RB marcus.Wassmer


#ROBOMERGE-SOURCE: CL 5054298 via CL 5054476 via CL 5056099

[CL 5056278 by arne schober in Main branch]
2019-02-18 19:28:42 -05:00
zak middleton
969eea9dae #ue4 - Added LastClientAckRealTime to character movement client data, to track the last time (undilated) that a client receives any Ack from the server for movement, including good moves and corrections. Also clarified the comments on some other timestamps.
[FYI] John.Abercrombie


#ROBOMERGE-SOURCE: CL 5052564 via CL 5054102 via CL 5055715

[CL 5055947 by zak middleton in Main branch]
2019-02-18 19:25:39 -05:00
arciel rekman
3c2a7b00d6 Vulkan: fix validation issues when applying the workaround.
#jira nojira
#rb discussed on the thread
[FYI] Rolando.Caloca, Marcin.Undak

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

[CL 5055669 by arciel rekman in Main branch]
2019-02-18 19:23:55 -05:00
rolando caloca
2b8c415f74 UE4.22 - Remove almost all of ENQUEUE_UNIQUE_RENDER_COMMAND_TWOPARAMETER
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: rolando.caloca
#ROBOMERGE-AUTHOR: rolando.caloca
#ROBOMERGE-SOURCE: CL 5054105 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5054376 by rolando caloca in Main branch]
2019-02-18 18:35:01 -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
Uriel Doyon
abc999530a Fixed Niagara GPU sorting.
#rb none

[CL 5053366 by Uriel Doyon in Main branch]
2019-02-18 18:13:29 -05:00
phillip kavan
da12d85193 Fixed compiled Blueprint output terms to use a format that will utilize the name table more efficiently.
#rb Dan.OConnor


#ROBOMERGE-SOURCE: CL 5048534 via CL 5048535 via CL 5051276

[CL 5051870 by phillip kavan in Main branch]
2019-02-18 17:37:38 -05:00
chris bunner
d4f0a14fcf Swapped a log entry to verbose as it was firing for all character, weapon and vehicle skeletal meshes loaded.
[FYI] Marcus.Wassmer


#ROBOMERGE-SOURCE: CL 5048300 via CL 5048303 via CL 5051018

[CL 5051663 by chris bunner in Main branch]
2019-02-18 17:36:02 -05:00
michael kirzinger
e73fe95da7 Vivox plugin for public distribution
#jira UE-63925


#ROBOMERGE-SOURCE: CL 5048265 via CL 5050988

[CL 5051632 by michael kirzinger in Main branch]
2019-02-18 17:35:51 -05:00
jian ru
42fa569ee6 Only modify TRenderAssetUpdate::LockOwiningThreadID when the lock is held
#rb none


#ROBOMERGE-SOURCE: CL 5039838 via CL 5039883 via CL 5043470

[CL 5049433 by jian ru in Main branch]
2019-02-18 17:18:28 -05:00
Uriel Doyon
e304929e0e Added particle GPU sorting for GPU niagara simulation when using sprites and meshes.
Console variables:
- Niagara.GPUSorting : controls whether GPU sorting is enabled.
- Niagara.GPUSorting.CPUToGPUThreshold : controls if CPU particles should be sorted through the GPU path.
- Niagara.GPUSorting.BufferSlack : controls the slack when increasing/decreasing the GPU sort buffers.
- Niagara.GPUSorting.MinBufferSize : minimum size for the GPU sort buffers.
- Niagara.GPUSorting.FrameCountBeforeShrinking : controls how many frame before shrinking GPU sort buffers.
#rb matt.collins
#jira none

[CL 5049288 by Uriel Doyon in Main branch]
2019-02-18 17:16:32 -05:00
rolando caloca
007d3e7e0c UE4.22 - Revert to emulated uniform buffers on Vulkan for all platforms
#rb none
#rnx
#jira UE-66920

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

[CL 5048938 by rolando caloca in Main branch]
2019-02-18 17:04:49 -05:00
matt collins
8645593145 Unifies how we check for for GPU particle capability. Fixes UE-69005.
#jira UE-69005
#rb none

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

[CL 5048589 by matt collins in Main branch]
2019-02-18 16:49:55 -05:00
Uriel Doyon
4e708e6d8c Fixed compilation error
#fyi Michael.Dupuis
#rb none

[CL 5048127 by Uriel Doyon in Main branch]
2019-02-18 15:59:22 -05:00