Commit Graph

389 Commits

Author SHA1 Message Date
Graeme Thornton
2cb3084599 Integrating CL 2668961 into main:
Improvements and fixes for dependency preloading
 - Fix check when mutliple load requests reference a shared asset
 - Added a package load flag to disable dependency preloading on that package
 - Fix a crash when loading default materials by disabling preloading
 - Added WIP code to cooker to sort maps in pak file.

Display level load times for persistent levels when using "stat levels"

[CL 2669089 by Graeme Thornton in Main branch]
2015-08-26 08:11:35 -04:00
Robert Manuszewski
43728870d0 When cooking saving package will now skip creating exports and imports that are editor-only (are instances of an editor class).
[CL 2662441 by Robert Manuszewski in Main branch]
2015-08-20 06:52:43 -04:00
Maciej Mroz
3e409622bd UEBP-40 C++ code generation (WIP):
- code refactor
- Latent info support
- Literal structures are properly generated

[CL 2657543 by Maciej Mroz in Main branch]
2015-08-17 02:54:13 -04:00
Maciej Mroz
cafe67aae5 UClass::MiscObjects -> UClass::ConvertedSubobjectsFromBPGC
[CL 2655847 by Maciej Mroz in Main branch]
2015-08-14 04:32:03 -04:00
Robert Manuszewski
b2b8cef6bb Cook-by-the-book will now skip saving packages that are referenced only through editor-only properties.
[CL 2652369 by Robert Manuszewski in Main branch]
2015-08-12 03:24:05 -04:00
Maciej Mroz
6ae197307e UEBP-40 C++ code generation (WIP):
- timelines
- "AddComponent" support
- class subobjects are stored in UClass::MiscObjects
- various fixed, FDefaultValueHelperContext

#codereview Nick.Whiting, Mike.Beach

[CL 2648953 by Maciej Mroz in Main branch]
2015-08-08 05:43:51 -04:00
Zak Middleton
5785a37b94 #ue4 - Add "PostRepNotifies()" event to Objects, called after any rep notifies may be triggered.
[CL 2645757 by Zak Middleton in Main branch]
2015-08-05 18:56:42 -04:00
Josh Markiewicz
f8d83447e1 #Integration FN->Main from CL#2642868
Engine Source changes

[CL 2645403 by Josh Markiewicz in Main branch]
2015-08-05 15:54:57 -04:00
Gareth Martin
7694adb48f Removed type trait macros in favour of the type trait templates
(approved/recommended by Steve.Robb)

[CL 2644918 by Gareth Martin in Main branch]
2015-08-05 11:01:03 -04:00
Mikolaj Sieluzycki
019a8752c3 Fix UEnum issues with incorrect _MAX enum value.
#codereview Robert.Manuszewski

[CL 2644738 by Mikolaj Sieluzycki in Main branch]
2015-08-05 08:56:11 -04:00
Richard Hinckley
076a8a3fbd Rolling back a fix that I believe to be redundant.
[CL 2643362 by Richard Hinckley in Main branch]
2015-08-04 09:56:02 -04:00
Mikolaj Sieluzycki
a53cf2e072 Make UEnums store values as uint8 instead of int8.
#codereview Robert.Manuszewski

[CL 2643276 by Mikolaj Sieluzycki in Main branch]
2015-08-04 08:20:16 -04:00
Gil Gribb
b7d8b9603f Merging 2640056 (plus a few minor fixes)
//depot/UE4-Orion/...

to //depot/UE4/...

UE4 -  rollup of many performance changes

* increased max threads for task graph and added a way to reduce task threads at runtime for testing the optimal number
* added a way to track excessive allocation at runtime without using the memory profiler: LogGameThreadMallocChurn.Enable
* ps4: fixed a few problems with the platform properties, IsRunningGame was returning false
* added inline storage for one delegate in multicast delegates
* fixed excessive allocation on the script stack traceback
* fixed excessive malloc calls throughout the animation system
* added stats throughout the animation system
* reworked parallel queue ticks
* fixed excessive malloc calls in cloth and physics animation systems
* fixed GHitchThresholdCVar
* minor improvements to abtest
* added ability to change thread affinities on the fly so they can be tuned
* cvars to control animrate optimization and spew the results: EnableAnimRateOptimization, SpewAnimRateOptimization, DrawAnimRateOptimization, ForceAnimRate
* optimized malloc calls in cascade and gpu particles
* optimized malloc calls in input system
* removed visual logging and ability log from consoles and fixed a few compile errors related to doing that
* optimized gameplaytags
* added a few cvars to cause stalls in various parts of the pipeline to identify critical paths and bottlenecks: CriticalPathStall.*
* added console command to toggle all known outstanding perf tweaks: Orion.SetupPerfCVars

[CL 2642061 by Gil Gribb in Main branch]
2015-08-03 11:44:45 -04:00
Richard Hinckley
f9820b527c [UE-17116] Modifying save/load for tutorials to enable some cross-engine-version consistency.
[CL 2641925 by Richard Hinckley in Main branch]
2015-08-03 10:37:21 -04:00
Josh Markiewicz
94d34526a4 #UE4 - increased lan packet size to 1024 so more data can fit in the server response
[CL 2641915 by Josh Markiewicz in Main branch]
2015-08-03 10:35:03 -04:00
Maciej Mroz
2a56e642f6 #jira UE-19425 Crash caused by Cast of nullptr to ArrayProperty
ArrayLibrary functions use ProcessContext also for the Array (not only for the actual context object, that would be always ArrayLibrary CDO)

#codereview Nick.Whiting, Mike.Beach

[CL 2641865 by Maciej Mroz in Main branch]
2015-08-03 09:59:39 -04:00
Maciej Mroz
570938011a Native Specifier Flags are ignored when function signatures are compared.
[CL 2640263 by Maciej Mroz in Main branch]
2015-07-31 09:58:27 -04:00
Maciej Mroz
08af6cf6b5 UEBP-40 C++ code generation (WIP):
- Native Access Specifiers
- FEmitDefaultValueHelper fix/improvements

#codereview Robert.Manuszewski, Nick.Whiting

[CL 2640098 by Maciej Mroz in Main branch]
2015-07-31 06:27:05 -04:00
Robert Manuszewski
d715edad4e Thread safety changes for object delete listener
[CL 2638651 by Robert Manuszewski in Main branch]
2015-07-30 10:27:22 -04:00
Maciej Mroz
753ab509a0 UEBP-40 C++ code generation (WIP):
- CppBackend: A prototype of the navite code generating - to create default values in a struct.
- Added PPF_ExportCpp flag. Work In Progress.

#codereview Nick.Whiting

[CL 2638411 by Maciej Mroz in Main branch]
2015-07-30 05:56:25 -04:00
Bob Tellez
b3b6ef475f Checking in Mikolaj Sieluzycki's change to fix up callsites to ask for the value of an enum entry instead of the index. The value and the index are the same unless the enum specified element values in its declaration (i.e. enum MyEnum { FirstValue = 1 })
[CL 2634487 by Bob Tellez in Main branch]
2015-07-27 16:26:39 -04:00
Maciej Mroz
fb47c3fb1b Added UPropertyInterface::AddReferencedObjects function.
Added CPPF_BlueprintCppBackend flag.

#jira UE-19180 FReferenceFinder cannot find InterfaceClass reference in UInterfaceProperty object

#codereview Robert.Manuszewski

[CL 2633780 by Maciej Mroz in Main branch]
2015-07-27 09:18:22 -04:00
Robert Manuszewski
3bcc864c3d Added support for loading cooked content in editor.
#codereview Daniel.Lamb

[CL 2632031 by Robert Manuszewski in Main branch]
2015-07-24 05:57:33 -04:00
Robert Manuszewski
ace2cd233c Fixing crash when destroying a linker in level streaming.
UE-19028

[CL 2630804 by Robert Manuszewski in Main branch]
2015-07-23 12:43:13 -04:00
Jaroslaw Palczynski
2c16d2b417 FStringAssetReference fixes.
All changes regarding e-mail discussion titled "Asset registry shenanigans".

Changes:
1. Engine now actively is getting rid of short asset paths in FStringAssetReference during saving (for all packages) and loading (only for older packages).
2. Deprecated direct access to FStringAssetReference.AssetLongPathname and exposed it via ToString and SetPath -- SetPath is making sure the path is in correct format. If the path can't be found on disk, the path is cleared.
3. Also access to FStringAssetReference.AssetLongPathnam via Blueprints is guarded using custom Make node function that uses SetPath instead of simple assign.
4. StringAssetReferenceMap will now contain only paths to packages (not objects) and ini references
5. GetDependencies now has additional parameter that lets you chose if it should resolve ini references or not. It was left not as default to keep old behaviour.

[CL 2630589 by Jaroslaw Palczynski in Main branch]
2015-07-23 10:49:29 -04:00