Commit Graph

1428 Commits

Author SHA1 Message Date
Robert Manuszewski
d720a28bf0 Removing some WIP code accidentally checked in with CL #4121943
#rb none

[CL 4131936 by Robert Manuszewski in Dev-Core branch]
2018-06-15 00:49:51 -04:00
Graeme Thornton
934a634c05 TBA: Added a local const bool to allow easy hacking out of text asset loading support
#rb none

[CL 4129518 by Graeme Thornton in Dev-Core branch]
2018-06-14 06:25:49 -04:00
Graeme Thornton
933a25ae60 TBA: Tagged properties are written out as named fields on the "Properties" record, rather than as a stream with a null tag at the end
#rb none

[CL 4129517 by Graeme Thornton in Dev-Core branch]
2018-06-14 06:23:46 -04:00
Graeme Thornton
e8b67589fc TBA: Add EnterRecord overload that allows outputting of available field names when loading.
#rb none

[CL 4129515 by Graeme Thornton in Dev-Core branch]
2018-06-14 06:23:32 -04:00
Graeme Thornton
89d126481b TBA: Fix tagged binary formatter
#rb none

[CL 4126867 by Graeme Thornton in Dev-Core branch]
2018-06-13 06:34:19 -04:00
Robert Manuszewski
dee9a27e0c Merging //UE4/Dev-Main @ 4124879 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4125144 by Robert Manuszewski in Dev-Core branch]
2018-06-12 12:25:56 -04:00
Robert Manuszewski
928b96e66b Don't use FArchiveAsync2 for reading packages with non-async path in editor builds as its performance is worse than the standard archive's (saves about 1 minute when doing larger cooks and 7 seconds when loading into PIE)
#rb none

[CL 4121943 by Robert Manuszewski in Dev-Core branch]
2018-06-11 05:44:00 -04:00
Robert Manuszewski
9a45688c0b Fixing async loading code asserts when exiting game very early due to an error
#jira UE-56267
#rb none

[CL 4115249 by Robert Manuszewski in Dev-Core branch]
2018-06-06 08:12:36 -04:00
Robert Manuszewski
c9374cea3a Fixing CIS
#rb none

[CL 4115010 by Robert Manuszewski in Dev-Core branch]
2018-06-06 01:16:22 -04:00
Robert Manuszewski
bf397b2e1f Merging //UE4/Dev-Main @ 4114877 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4115001 by Robert Manuszewski in Dev-Core branch]
2018-06-06 00:53:29 -04:00
Robert Manuszewski
4a61525ef9 Merging //UE4/Dev-Main @ 4111530 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4112304 by Robert Manuszewski in Dev-Core branch]
2018-06-05 00:50:33 -04:00
Stefan Boberg
318279ae4a Removed annotation map locking in UObjectMarks, eliminating around one minute (~3.5%) from Fortnite cook time.
The locking was redundant since the annotation maps are managed per thread anyway.

#fyi robert.manuszewski
#rb gil.gribb

[CL 4110724 by Stefan Boberg in Dev-Core branch]
2018-06-04 14:55:24 -04:00
Jack Porter
f31bd8558f Rename AthenaObjectVersion to FortniteMainBranchObjectVersion
#jira UE-59272
#rb Dmitriy.Dyomin
#lockdown: nick.penwarden

[CL 4096272 by Jack Porter in Main branch]
2018-05-28 05:56:49 -04:00
Graeme Thornton
7093de08df Build fix
#rb none

[CL 4093656 by Graeme Thornton in Dev-Core branch]
2018-05-25 07:00:16 -04:00
Steve Robb
c25520dd75 CIS fixes.
#rb none

[CL 4093632 by Steve Robb in Dev-Core branch]
2018-05-25 06:19:15 -04:00
Robert Manuszewski
bd7535f69f Merging //UE4/Dev-Main @ 4091196 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4093601 by Robert Manuszewski in Dev-Core branch]
2018-05-25 05:45:28 -04:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00
Robert Manuszewski
6753b79b13 Fix for a potential race condition when two threads want to acquire GC lock
#rb none

[CL 4086037 by Robert Manuszewski in Dev-Core branch]
2018-05-22 10:40:57 -04:00
Graeme Thornton
f3be307160 TBA: Remove only explicit usage of DECLARE_FSTRUCTUREDARCHIVE_SERIALIZER. Should only be used from UHT generated code.
#rb none

[CL 4085523 by Graeme Thornton in Dev-Core branch]
2018-05-22 06:32:46 -04:00
Graeme Thornton
1d3f6a5f73 TBA: In the Json output formatter, write float and double values out with enough precision for successful roundtripping. Added some debug only code which will immediately reconvert the string back to its original value and compare the the input
#rb none

[CL 4085291 by Graeme Thornton in Dev-Core branch]
2018-05-22 02:13:31 -04:00
Graeme Thornton
f6350e8530 CIS fix for variable shadowing warning
#rb none

[CL 4082394 by Graeme Thornton in Dev-Core branch]
2018-05-19 18:41:59 -04:00
Graeme Thornton
826f6ebb9f TBA: Loading fixed for tagged property serialization
Includes conversion of all UProperty::ConvertFromType() and SerializeFromMismatchedTag() functions to use structured archives

Lazy initialization of FArchiveFromStructruredArchive when loading, to support the possibility of an adapter being create around an object property serialize call to its inner UStruct, which then decides not to do anything and return false. Stops the ArchiveFromStructuredArchive from consuming the slot and getting upset later on when we try to serialize normal tagged properties from it.

Disabled lazy bulk data loading from text assets. Requires a bigger change to make it work.

Added some debug checks to json input formatter which track the current value stack size when a new object is pushed onto the stack, and makes sure that the stack has returned to the same size when the object is popped. Catches cases where we unpack an array/stream to the value stack but then don't consume all the items.

#rb none

[CL 4077760 by Graeme Thornton in Dev-Core branch]
2018-05-17 11:49:14 -04:00
Robert Manuszewski
326bbe889f Merging //UE4/Dev-Main @ 4071957 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4072354 by Robert Manuszewski in Dev-Core branch]
2018-05-15 00:43:40 -04:00
JeanMichel Dignard
6ab73c6457 Copying //UE4/Dev-Enterprise to //UE4/Dev-Main (Source: //UE4/Dev-Enterprise @ 4071915)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 4060527 by Anousack.Kitisa

	Added support for importing FBX user properties as metadata on StaticMesh when importing FBX.
	Added support for exporting StaticMesh metadata as FBX user properties when exporting StaticMesh to FBX.

	#jira UESP-567

Change 4060835 by Jamie.Dale

	Added assign method to Python exposed structs

	This lets you assign the value of one struct instance onto another instance (rather than copy the pointer in Python). It also accepts anything that casts to the destination struct.

Change 4060838 by Jamie.Dale

	Include unary operator function tooltips in doc string

Change 4060843 by Jamie.Dale

	Fixed PythonizeValue including deprecated properties in the init function for a struct

Change 4060908 by Jamie.Dale

	Fixed some name conflicts in generated Python glue

Change 4061065 by Jamie.Dale

	Stubbed struct return values are now default constructed

Change 4061205 by David.Hibbitts

	Added blueprint functions to create a message bus source, for use in projects where the Editor UI is not available or is impractical.
	Added a blueprint function to get available subject names for the LiveLink Client
	Added a RemoveSource method to ILiveLinkClient
	Added a GetSubjectNames method to ILiveLinkClient
	Fixed a crash when RequestShutdown was called on a MessageBusSource after the HeartbeatManager had already been shut down.

Change 4061421 by Patrick.Boutot

	[AJA] Warn the user if he requested the key and the backbuffer is not setup properly.
	#jira UE-58614

Change 4061620 by Jamie.Dale

	Made the Sphinx config a template so we can inject the current engine version into it

Change 4062578 by Jamie.Dale

	Optimized Python stub and doc gen file writes

	 - Files are now only written when they've changed.
	 - We now only remove files that are stale.
	 - No requests to generate stub and doc files are queued before the first Tick.

Change 4062634 by Jamie.Dale

	No longer export FDateTime defaults to struct __init__ as they can be non-deterministic

Change 4064275 by Jamie.Dale

	Added callbacks for when Python is initialized and shutdown so that external modules can hook-in appropriately

Change 4064613 by James.McNatton

	Change to initialization for FVirtualCameraWaypoint and FVirtualCameraSettingsPreset to remove non-deterministic constructors and a few resulting cleanup items

Change 4064878 by Patrick.Boutot

	Add timecode provider plugin to capture from the Audio jack.

Change 4064910 by Patrick.Boutot

	[AJA]
	Add AjaTimecodeProvider that provider the timecode from a SDI input source.

Change 4067451 by Jamie.Dale

	Added command line options to enable all plugins, optionally excluding certain plugins

Change 4067489 by Simon.Tourangeau

	Support for DX12 quad buffer stereo rendering

Change 4068640 by Patrick.Boutot

	Add a state to CustomTimeStep. Show the state of the CustomTimeStep in "stat fps".

Change 4069147 by Patrick.Boutot

	Move Mediasmith console to Engine. Renamed to TimecodeSynchronizer.

Change 4071727 by Matt.Hoffman

	Initial pass at exposing Sequencer's Render to Movie functionality to Python. All settings that can be adjusted via the UI can be set from Python and renders can be invoked for both in-editor capture as well as new process capture. A basic API is provided which enables querying if a render in progress and canceling an in progress one.

	#jira UESP-541

[CL 4071957 by JeanMichel Dignard in Main branch]
2018-05-14 17:38:22 -04:00
Luke Thatcher
0d4895e8e7 Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4070461)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3751378 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3748735 to //UE4/Dev-Console/...

Change 3807818 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3803271 to //UE4/Dev-Console/...

Change 3818577 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3812936 to //UE4/Dev-Console/...

Change 3726554 by Luke.Thatcher

	[CONSOLE] [+] Improved Scoped Named Events
	 - Added SCOPED_NAMED_EVENT(_FSTRING/_TEXT/_F) macros to allow use of string literals, FString and printf in scoped named event strings.
	 - Replaced explicit use of FPlatformMisc::Begin/EndNamedEvent throughout the engine with macros, so the events can be compiled out.
	 - Fixed performance issues on various platforms with named events. SCOPED_NAMED_EVENT macros were not considering whether the platform uses wide or ansi char strings.

Change 3813513 by Ben.Woodhouse

	CSV profiler refactor+ bug fix
	- Move the CSV profiler to core, so we can use it in modules other than engine
	- Profiler no longer enqueues RT commands - this is handled by a new core delegate type
	- Make begin/end requests more robust, enqueued via a command queue and processed in order
	- Defer end capture requests by a frame. This ensures stats on threads other than the gamethread (e.g. renderthread etc) are complete, so the last frame is not truncated
	- Fix long-standing bug with multiple captures where old/stale frames would appear in the first <128 frames of captures
	- Move unit stats and dynamic resolution out of the profiler itself and into the engine. Only frametime is recorded in the profiler now
	- Fix longstanding bug in first frame renderthread time in the engine

Change 3814039 by Ben.Woodhouse

	More Csvprofiler improvements
	- Event support (via CSV_EVENT macros). These appear in the "EVENTS" column of the CSV and can be used to add context to the stat data
	- Reduced memory overhead for timestamps through bit-packing (now 16 bytes per marker instead of 24), and splitting stats into different types

Change 3814229 by Ben.Woodhouse

	Integrate + refactor of CL 3792591 to reduce complexity and fix bugs

	Original changelist description:
	CSV profiler improvements:
	- The CSV profiler is now always compiled in on the server
	- The CSV profiler can now handle both int32 and float stats
	- In BeginCapture, the function can take additional arguments for some customization of filenames

	Fixes to the above:
	 - Remove FCustomValue class
	    - Fixes bug where all timestamp values from CSV_SCOPED_STATs were garbage (due to issues resulting from FCustomValue type ambiguity when adding values together)
	    - FCsvCustomStat now just uses simple union + bitfield flag to reduce size and complexity (4 bytes instead of 8 per value)
	    - FCsvColumn class modified to use doubles, which can represent both ints and floats without loss of precision - this class is not memory or time critical
	 - Replace multiple overrides used by the server for filenameprefix/folder/postfix etc with a single FilenameOverride

Change 3817339 by Ben.Woodhouse

	Duplicate from 3816641: CSV profiler improvements
	- Added a low-pri processing thread to compress raw timing data into a much more efficient format
	   - Reduces memory usage for 15 minute 30k frame capture with GPU stats enabled from 110MB to 3.4MB
	   - Processing time : 0.1ms per frame
	- Improved name handling for char literal stats. We now use the string as the ID rather than the pointer so multiple stat uses of the same name string apply only to  a single stat
	- Reworked thread data access to eliminate locking for anything time-critical. Frame boundaries now handled via a lock-free helper class
	-  Fixed bug with queue implementation where 1 in 128 reads would duplicate the last block of stat data
	-  Reduced #include dependencies for CSVProfiler.h
	-  Removed AccumulateMax because it doesn't work, and implementing properly would add a lot of complexity
	-  Added a simple test harness

Change 3827787 by Ben.Woodhouse

	Integrate-as-edit CL 3820678 from Fortnite/Main
	Allow the CSV Profiler to be compiled in to shipping dedicated server builds

Change 3827842 by Ben.Woodhouse

	Integrate-as-edit CL 3827079 from Fortnite/Main
	CSV profiler category support

Change 3840185 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3840005 to //UE4/Dev-Console/...

Change 3861618 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3860990 to //UE4/Dev-Console/...

Change 3901590 by Anthony.Bills

	Fix incorrect srv and sampler count when an array of textures or an array of samplers is used.

	- The code originally set the local variable BindCount but did not pass this to the total sampler or srv count and instead used the original BindDesc.BindCount (which will be 1) and still skipped over those resource indicies.
	- The code also checked for the array's bracket location but then only compared the resource names before the bracket, meaning non arrays could be included.

Change 3904065 by Anthony.Bills

	Allow easily increasing the maximum number of SRVs to 64 in the D3D12RHI.

	- Increasing to 64 will fix shader compilation issues when using more than 32 textures.
	- Casting has been added to correct the type on bitshifting the masks when the type changes.
	- A new type has been added for the bound VB mask to make sure bitshifting is explicitly typed.

Change 3905752 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3904082 to //UE4/Dev-Console/...

Change 3920080 by Luke.Thatcher

	[CONSOLE] [+] Added .natvis visualizer for FRHICommandList, which expands the list links to a flat list of commands. To use this, add an FRHICommandList* to your watch window.

Change 3951698 by Keith.Judge

	Fix CIS (leftover debugging code)

	#jira UE-55443

Change 3953261 by Luke.Thatcher

	[CONSOLE] [^] Merging //UE4/Release-4.19 (CL 3944462) to Dev-Console (//UE4/Dev-Console)

Change 3971144 by Luke.Thatcher

	[CONSOLE] [^] Merging //UE4/Dev-Main (CL 3964322) to Dev-Console (//UE4/Dev-Console)
	 - First merge since Dev-Console was reparented back to Dev-Main.

Change 3992843 by Anthony.Bills

	Fix deploying to the default device in UAT.

Change 4010029 by Marcin.Undak

	ShooterGame: use console UI on Quail platform

Change 4010030 by Marcin.Undak

	RecordPerformance: don't fail if game crashes

Change 4012181 by Marcin.Undak

	Implemented Low Level Memory tracker for Unix platforms

Change 4039094 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4039044 to //UE4/Dev-Console/...

Change 4039598 by David.Harvey

	adding LLM hooks for bespoke platform-specific memory tracking tools.

Change 4042637 by Arciel.Rekman

	Merging //UE4/Dev-Main@4042226 to Dev-Console (//UE4/Dev-Console)

Change 4044679 by Marcin.Undak

	RecordPerformance: store logs from runs

Change 4045895 by Marcin.Undak

	Vulkan: added log when compiling new PSO

Change 4047096 by Ian.Fox

	#ShooterGame - Potential fix for ShooterGame friendslist empty issue

	#review-4046664

Change 4048332 by Marcin.Undak

	Compilation fix for Oculus. Ported Rolando's change from Dev-Rendering

Change 4051609 by Marcin.Undak

	Compilation fix

Change 4053542 by Joe.Barnes

	Integrate as edit:

	Faster Guid creation. Don't check time for every Guid (it's slow on some platforms). Check it once, then use that + CPU timer.

Change 4057462 by Luke.Thatcher

	[CONSOLE] [-] Remove "frame rate smoothing" override on console.
	 - This was arbitrarily forced on when vsync is enabled.
	 - It can still be enabled via the bSmoothFrameRate in UEngine if needed.

	(merge as edit CL 3891390 from //Fortnite/Release-3.0.0 to //UE4/Dev-Console)

Change 4057551 by Luke.Thatcher

	[CONSOLE] [~] Improvements to game thread hitch detection.
	 - Allows the system to be configured by ini files.
	 - Fixes callstack addresses being truncated to 32 bits.
	 - Removes memory allocation in hitch callstack logging code. We use a pre-allocated 64KB buffer for this now. This was a memory leak anyway, as the memory was never freed.
	 - Performs a throwaway gamethread stack dump on launch, to prime the stack walker so we don't make gameplay hitches worse than they otherwise would be.

	#jira FORT-78417

	(merge as edit CL 3967234 from //Fortnite/Main to //UE4/Dev-Console)

Change 4057562 by Luke.Thatcher

	[CONSOLE] [~] Increase verbosity on FlushAsyncLoading logging. Higher verbosity limited to once per frame, to avoid log spam.

	#jira FORT-77411

	(merge as edit CL 3967336 from //Fortnite/Release-3.4 to //UE4/Dev-Console)

Change 4057568 by Luke.Thatcher

	[CONSOLE] [+] Add async load flush analytics stats.

	#jira FORT-80229

	(merge as edit CL 3986900 from //Fortnite/Release-3.5 to //UE4/Dev-Console)

Change 4057590 by Luke.Thatcher

	[CONSOLE] [+] Add hang detector duration multiplier to allow extending the hang timeout on loading screens etc.

	#jira FORT-80325

	(merge as edit CL 3990275 from //Fortnite/Release-3.5 to //UE4/Dev-Console)

Change 4057679 by Luke.Thatcher

	[CONSOLE] [WIN64] [~] Modify hitch detector stack walking to avoid expensive symbol lookups. Stack walk now only prints the return addresses without symbol information.
	 - Old behaviour of performing full symbol resolution can be achieved by defining LOOKUP_SYMBOLS_IN_HITCH_STACK_WALK to 1.
	 - Also fixed a minor bug in CaptureStackTraceHelper which duplicates the last line if stack walking fails.

	#jira FORT-87620

	(merge as edit CL 4049361 from //Fortnite/Release-4.1 to //UE4/Dev-Console)

Change 4057779 by Luke.Thatcher

	[CONSOLE] [~] Refactored how the default LLM categories are defined.
	 - Prevents initialization order problems which stops early boot code from getting group name strings.

	#jira FORT-80324

	(partial merge as edit CL 4057155 from //Fortnite/Main to //UE4/Dev-Console)

Change 4059809 by Luke.Thatcher

	[CONSOLE] [!] Fix compiler warning (incorrect order of member initializers in FGameThreadHitchHeartBeat)

Change 4060781 by Luke.Thatcher

	[CONSOLE] [!] Fix for XGE control worker hanging around after killing the editor from Visual Studio.
	 - Reused the "XGE monitor" mode of shader compile worker, that the old XGE compiler used.
	 - The monitor watches the editor process and automatically terminates the build if the editor exits.

	#jira UE-55864

Change 4063641 by David.Harvey

	remove legacy "r.AmbientOcclusionSampleSetQuality" cvar from ini files (deleted in CL 2622264)... gets rid of warning in log.

	#jira UE-51256

Change 4067367 by Ben.Woodhouse

	Edigrate dev rendering CL 4062236:
	AppleTV doesn't appear to support the set*Bytes APIs in Metal.

	#jira UE-58580

Change 4067748 by Arciel.Rekman

	Fix editor build (a plugin also needs private VulkanRHI headers, heh).

Change 4068121 by Arciel.Rekman

	Correct paths to referenced directories for Linux.

	- Should help CIS.

Change 4069919 by Arciel.Rekman

	Fix Lumin build (another plugin needs private Vulkan headers, grrr).

[CL 4070552 by Luke Thatcher in Main branch]
2018-05-14 09:49:35 -04:00