Commit Graph

270 Commits

Author SHA1 Message Date
Rune Stubbe
42a3b7c43f Enabled LZ4 compression of Nanite data on platforms that don't support LZ decompression in hardware.
Nanite always generates LZ compressed data. All platforms share the same DDC key. Platforms that support hardware LZ decompress during platform-specific serialization.
Added LZ hardware decompression to platform properties and target platform.


#fyi Brian.Karis
#rb Graham.Wihlidal

[CL 14277717 by Rune Stubbe in ue5-main branch]
2020-09-09 04:50:52 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Josh Adams
b314fb1752 - Fixed -strict compiler error
[CL 13973023 by Josh Adams in ue5-main branch]
2020-07-30 09:58:14 -04:00
Josh Adams
5f27a8dbcb [Upgrade Notes Critical! Licensee build scripts and DeviceProfiles may need updating]
- Formalizing all TargetPlatforms to have a Client version, rename WindowsNoEditor to Windows, and removing DDPI specification of TargetPlatforms, and generate them programmatically
- Updated names DeviceProfiles and Build scripts, as above
- Some PlatformInfo class cleanup
- Added a TNonDesktopTargetPlatformBase class to make most TargetPlatforms simpler
- Added "No Compiled Support" to the Turnkey LaunchOn menu when the TargetPlatforms aren't compiled in (to show that even if you install an SDK, you will need to compile before you can LaunchOn)\
- Starting the transition away from PlatformInfo::FPlatformInfo to FDDPI

[CL 13966487 by Josh Adams in ue5-main branch]
2020-07-29 16:19:10 -04:00
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -04:00
Josh Adams
94f4be4de1 - Renamed PlatformInfo::FPlatformInfo to PlatformInfo::FTargetPlatformInfo
- Renamed FDataDrivenPlatformRegistry::FPlatformInfo to FDataDrivenPlatformInfo
- Moved some fields from PlatformInfo::FTargetPlatformInfo to FDataDrivenPlatformInfo, and cleaned them up in the process
- Fixed the DataDrivePlatformInfo.ini files to match the previous items
- Removed FVanillaPlatformEntry, and now just using FTargetPlatformInfo to manage flavors under a vanilla PlatformInfo (see PlatformInfo::GetVanillaPlatformInfoArray())
- Cleaned up TPerPlatformValue, as it was often misused (took a group and platform name, but we can get the group from the platform name) [AnimationSharingManager.cpp, *Engine.cpp, Runtime\Engine\*, ]
- Fixed FBlueprintNativeCodeGenPaths::GetDefaultCodeGenPaths() to use IniPlatformName instead of some hacky code [BlueprintNativeCodeGenManifest.cpp]
- Fixed various Turnkey bugs that recent testing exposed
- Enabled AUTOSDKS_ENABLED in both Mac and Linux on the Editor side (not that there are much set up to use it)
- Using Turnkey to get the SDK status instead of ValidatePlatforms (gives more detailed information - may want to go back to ValidatePlatforms so only UBT is needed, but change it to give more info)
- Moved OnDeviceDiscovered and Lost delegates from each platform's TargetPlatform class to a static in ITargetPlatform - there was no need for per-platform implementations
- Started working on allowing for SDK to be installed with editor running and not need to restart editor - Work in Progress! It is not usable yet.
#fyi jack.porter
#rb pete.sauerbrei

[CL 13816905 by Josh Adams in ue5-main branch]
2020-07-01 17:07:12 -04:00
Josh Adams
a54c560436 - Delayed Turnkey SDK querying until later so it can check if it's a commandlet, in which case it won't call UAT since UAT could be calling the commandlet
- Added a helper function that can take a commandline and modify it for the three host platforms (add .bat/.sh, run a .exe through mono, etc) to reduce the mess of if WINDOWS / elif MAC / etc stuff
#fyi ben.marsh
#jira UE-94574

[CL 13752957 by Josh Adams in ue5-main branch]
2020-06-23 18:19:31 -04:00
Josh Adams
ccc1743281 - Big TargetPlatform Module cleanup:
- Removed the function to return a single TP, and wrapped the functionality in a simple single required function (platform just has to add TPs to an array, high level code manages init and cleanup of the array)
  - Stripped unncessary code from all TPs
  - Collapsed the desktop targetplatform modules into 1 per platform
  - Renamed LinuxAArch64NoEditorTargetPlatfortm to LinuxAArch64TargetPlatform to match the other non-editor platforms
  - Deleted AllDesktopPlatform

[CL 13502803 by Josh Adams in ue5-main branch]
2020-05-22 09:57:29 -04:00
jian ru
d884fc9d94 Fix missing include and reinstate a change that moves per platform default skeletal mesh LOD streaming settings to project settings
#rb Alexis.Matte,Uriel.Doyon

#ROBOMERGE-SOURCE: CL 12749752 via CL 12749754 via CL 12749799
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v678-12743200)

[CL 12749814 by jian ru in Main branch]
2020-04-12 20:39:05 -04:00
stan hormell
d056616808 Back out changelist 12737759 - CIS Errors
[FYI] Jian.Ru, Alexis.Matte,Uriel.Doyon

#ROBOMERGE-SOURCE: CL 12739054 via CL 12739055 via CL 12739056
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v676-12543919)

[CL 12739058 by stan hormell in Main branch]
2020-04-10 22:14:39 -04:00
jian ru
90f5778d77 Move per platform default skeletal mesh LOD streaming settings to project settings
#rb Alexis.Matte,Uriel.Doyon

#ROBOMERGE-SOURCE: CL 12737759 via CL 12737761 via CL 12737762
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v676-12543919)

[CL 12737767 by jian ru in Main branch]
2020-04-10 19:34:29 -04:00
jian ru
d9be824ad9 Add a option for each platform to enable skeletal mesh LOD streaming by default. Artists can still override the default settings on a per-asset or per-group basis.
#jira FORT-200495
#rb Lina.Halper
[FYI] Alexis.Matte

#ROBOMERGE-OWNER: jian.ru
#ROBOMERGE-AUTHOR: jian.ru
#ROBOMERGE-SOURCE: CL 12688967 via CL 12688970 via CL 12689005
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v676-12543919)

[CL 12689008 by jian ru in Main branch]
2020-04-09 09:03:24 -04:00
david harvey
224956718b Cook on the fly changes:
- target platform code can manage the file transfer from the cook server.
 - client ip address and platform-specific metadata is sent from the client.

#rb josh.adams
#rnx
#lockdown marcus.wassmer
#jira MTHRL-18

#ROBOMERGE-SOURCE: CL 12653783 in //UE4/Release-4.25Plus/... via CL 12653792
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12653798 by david harvey in Main branch]
2020-04-07 10:45:54 -04:00
lukas hermanns
bea73c96fa Skip "AllDesktop" platform properties as it will be removed soon and causes shader map keys to differ between game and editor modes.
#rb Arciel.Rekman
[FYI] Ben.Ingram, Josh.Adams, Rolando.Caloca
#jira UE-90852
#rnx

#ROBOMERGE-SOURCE: CL 12474319 in //UE4/Release-4.25/... via CL 12474324 via CL 12474328
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12474332 by lukas hermanns in Main branch]
2020-03-27 16:02:53 -04:00
Devin Doucette
e8ba41d54f Changed FStringView parameters to virtual functions to pass by value instead of by reference
This is the preferred way to use string views. These interfaces were added in 4.25 so this is the time to fix them without breaking user code.

#jira none
#rb trivial
#rnx

#ROBOMERGE-OWNER: Devin.Doucette
#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 12236111 in //UE4/Release-4.25/... via CL 12236115
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v664-12234175)

[CL 12238549 by Devin Doucette in Main branch]
2020-03-17 22:32:03 -04:00
jian ru
b8138c41bd Landscape visual mesh LOD streaming (mobile only)
[FYI] Peter.Sauerbrei,Chris.Bunner


#ROBOMERGE-OWNER: jian.ru
#ROBOMERGE-AUTHOR: jian.ru
#ROBOMERGE-SOURCE: CL 12126084 via CL 12126339 via CL 12132576
#ROBOMERGE-BOT: (v659-12123632)

[CL 12132633 by jian ru in Main branch]
2020-03-11 12:57:20 -04:00
max whitehead
19b76ff6e1 Remove PhysX module when using Chaos, Guard PhysX code in PHYSICS_INTERFACE_PHYSX so Chaos compiles without it.
Change WITH_PHYSX to always be defined, even with chaos only.
Make Client/Server targets only disable PhysX when Chaos is enabled.
#rb michael.lentine


#ROBOMERGE-OWNER: max.whitehead
#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 11877480 via CL 11877967 via CL 11878038
#ROBOMERGE-BOT: (v656-11643781)

[CL 11888569 by max whitehead in Main branch]
2020-03-03 17:06:00 -05:00
carl lloyd
a745d7eb86 Removed ATC/ETC1 and Android PVR texture formats
[at]Chris.babcock [at]Jack.porter
[FYI] [at]Rolando.Caloca [at]Luke.Thatcher
#rb Chris.babcock, Jack.porter, Rolando Caloca
#jira none

#ROBOMERGE-SOURCE: CL 11825686 in //UE4/Release-4.25/... via CL 11825740
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11825801 by carl lloyd in Main branch]
2020-03-02 11:26:01 -05:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
PJ Kack
3a9ca4d2f9 Merging //UE4/Main @ 11112898 to //UE4/Dev-Core (dev-core-l0178)
#rb none

(ushell-p4-mergedown)

[CL 11113592 by PJ Kack in Dev-Core branch]
2020-01-26 11:33:22 -05:00
Juan Canada
f396f56a0b Merging //UE4/Dev-Main@11042002 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 11075443 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-21 14:54:20 -05:00
anthony bills
2c36892c2e Check if the platform's ini name is valid (not empty) before trying to load the target platform module.
If the platform's ini name is empty and it drops down to using [IniName]+TargetPlatform it will try to recursively load TargetPlatform.
This can happen in cases where the AllDesktopTargetPlatform module is not available.

#rb david.harvey
#jira UE-86383
#lockdown nick.penwarden

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: anthony.bills
#ROBOMERGE-SOURCE: CL 10928127 in //UE4/Release-4.24/... via CL 10928128
#ROBOMERGE-BOT: CORE (Main -> Dev-Core) (v632-10940481)

[CL 10955609 by anthony bills in Dev-Core branch]
2020-01-13 15:46:43 -05:00
anthony bills
2e863277c1 Check if the platform's ini name is valid (not empty) before trying to load the target platform module.
If the platform's ini name is empty and it drops down to using [IniName]+TargetPlatform it will try to recursively load TargetPlatform.
This can happen in cases where the AllDesktopTargetPlatform module is not available.

#rb david.harvey
#jira UE-86383
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 10928127 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v626-10872990)

[CL 10928128 by anthony bills in Main branch]
2020-01-09 12:05:33 -05:00