Commit Graph

209 Commits

Author SHA1 Message Date
Matt Peters
5e4fdf3eaf CookOnTheFlyServer: Combine duplicated variables from cook modes to reduce complexity, avoid the need to check for null, and prepare for the addition of a CookWorker mode.
#rb Zousar.Shaker
#rnx
#fyi CarlMagnus.Nordin, PJ.Kack
#preflight 6287f0582c34da686af615eb

[CL 20301986 by Matt Peters in ue5-main branch]
2022-05-20 16:12:27 -04:00
mark lintott
2d1a8ed378 Added "IsFastCook" to cooking analytics.
#rb trivial
#jira none
#preflight 6284bf6d614041edb75ec395

[CL 20258677 by mark lintott in ue5-main branch]
2022-05-18 05:52:19 -04:00
mark lintott
e04a3daef6 Minor tweak to cook label capture
#rb trivial
#preflight 627414ff4a2e93404867923b


#ROBOMERGE-OWNER: mark.lintott
#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 20007118 via CL 20007122 via CL 20007125 via CL 20063111 via CL 20063213 via CL 20063221
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20066350 by mark lintott in ue5-main branch]
2022-05-05 18:43:25 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
mark lintott
612a046460 Minor tweak to cook label capture
#rb trivial
#jira none
#preflight skip

[CL 20007118 by mark lintott in ue5-main branch]
2022-05-02 05:44:01 -04:00
mark lintott
e1de786dd9 Minor analytics tweaks
#rb trivial
#jira none
#preflight 626edcb4dd1fe026f11e2ecb

[CL 20002604 by mark lintott in ue5-main branch]
2022-05-01 15:21:00 -04:00
mark lintott
b225e74e33 Added CookLabel, HordeJobId, HordeStepId, HordeBatchId support to analytics
#rb trivial
#jira none
#preflight 626c14305c220f34acf40efa

[CL 19982602 by mark lintott in ue5-main branch]
2022-04-29 14:15:09 -04:00
Jason Nadro
9c116e8168 Cook on the fly now respects the -IgnoreIniSettingsOutOfDate cook flag.
- Store result in bIgnoreIniSettingsOutOfDate

#rb PJ.Kack
#jira none
#preflight 626abe73a518954d58adb774

[CL 19964438 by Jason Nadro in ue5-main branch]
2022-04-28 12:53:36 -04:00
francis hurteau
dad4163d36 Expose cooking switch for saving Optional Objects packages
#rb Matt.Peters
#jira UE-142231
#preflight 6260790fdd47b4ad218aa415

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 19850404 via CL 19861126 via CL 19861184
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19869787 by francis hurteau in ue5-main branch]
2022-04-22 15:12:02 -04:00
Matt Peters
96a7511f50 CookCommandlet: Remove commented-out code.
#preflight 6247348e8f066102244e6854
#rb Zousar.Shaker
#rnx

[CL 19591739 by Matt Peters in ue5-main branch]
2022-04-01 13:42:33 -04:00
josh adams
25705eb507 - Added cooker option, -DlcReevaluateUncookedAssets, which will allow a cooked editor to attempt to cook assets that the base game had attempted to cook and skipped, but left in the assetregistry.
#rb matt.peters
#p4v-preflight-copy 19482053
#preflight 624326c1f73c316f68cdd1c2

#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 19544735 via CL 19547423 via CL 19548168 via CL 19548176
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19560883 by josh adams in ue5-main branch]
2022-03-30 14:16:51 -04:00
Matt Peters
26641909e1 CookCommandlet: Remove remaining CookByTheBookInCommandlet pollables into PumpPollables, and add a sleep command when we are busy with no pollables ready.
#preflight 6216f12cdb60b6b5920733b9
#preflight 6217c144bd28238bde887478

[CL 19117710 by Matt Peters in ue5-main branch]
2022-02-24 12:53:54 -05:00
Matt Peters
76336fbb58 CookCommandlet: Remove TickRecompileShaderRequests from CookByTheBook, since RecompileShaderRequests are only populated during CookOnTheFly, and we want to remove unnecessary polling from CookByTheBook for performance improvement.
#rb CarlMagnus.Nordin
#rnx
#preflight 6217ae9e7520d8f6ab971d03

[CL 19114876 by Matt Peters in ue5-main branch]
2022-02-24 11:16:47 -05:00
Wojciech Krywult
7b5537cc26 CookOnTheFly (platform protocol): Editor: Added support of the platform-specific transport communication protocols to the editor and use it in the cooking server.
This change allows the cooking server to communicate with clients using platform-specific communication protocols instead of TCP (the default).

This new mode is activated by adding '-platformprotocol' command-line parameter when starting the cooking server (in addition to the usual '-cookonthefly').

The new functionality is included in FNetworkFileServerPlatformProtocol, which is a variant of the preexisting FNetworkFileServer but using ITargetDevice/ITargetDeviceSocket interfaces instead of traditional sockets.

Direct communication with targets is only supported on some platforms, which can be checked by calling ITargetPlatform::SupportsFeature(ETargetPlatformFeatures::DirectDataExchange).

#rb jeff.newquist
#preflight 62166a4237178b0175af6269

[CL 19094838 by Wojciech Krywult in ue5-main branch]
2022-02-23 12:54:09 -05:00
Matt Peters
99df0824f7 CookCommandlet: Fix typos
#rb None, Trivial
#rnx
#preflight 621552c4dc0170cfb36db6df

[CL 19081066 by Matt Peters in ue5-main branch]
2022-02-22 16:30:30 -05:00
Matt Peters
e17a2306c5 PumpPollables: Move MemTracker and Is-it-time-to-collect-garbage pollables from CookCommandlet into UCookOnTheFlyServer::PumpPollables.
#rb Devin.Doucette
#rnx
#preflight 6215470b7a4932edb21045ec

[CL 19079788 by Matt Peters in ue5-main branch]
2022-02-22 15:47:36 -05:00
Matt Peters
c71228ea41 Cooker: Create PumpPollables to handle more performantly the processes in CookCommandlet's while loop that need to be infrequently polled.
Move FlushRenderingCommands into PumpPollables.
#rb Devin.Doucette
#rnx
#preflight 620fa6276c6c638c07e57715

[CL 19050361 by Matt Peters in ue5-main branch]
2022-02-18 10:46:00 -05:00
CarlMagnus Nordin
5f4003c0a2 ZenCOTF: Added RecookPackages request
#rnx
#preflight 6204edb1e54ab7c24baed4fc
#rb pj.kack

[CL 18934062 by CarlMagnus Nordin in ue5-main branch]
2022-02-10 06:11:30 -05:00
patrick boutot
431609179b Remove old cooking config to cook slate assets. If still needed, you may add the setting in your project settings.
#jira UE-136232
#rb josh.adams
#preflight 61f7ed5fe55232619f859b77

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18789299 in //UE5/Release-5.0/... via CL 18789649 via CL 18790185
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18790385 by patrick boutot in ue5-main branch]
2022-01-31 10:54:08 -05:00
paul chipchase
ef77cc1dc3 The editor can now compile when ENABLE_COOK_STATS is set to 0
#rb Mark.Lintott
#rnx
#preflight 61f13dbc7266f4e79bcebc17

- Fixed up a number of places that needed to be wrapped in #if ENABLE_COOK_STATS or #if OUTPUT_COOKTIMING
- The SDerivedDataCacheStatisticsDialog cannot display anything when cooking stats are disabled, so instead we show a message explaining why the dialog has no info

#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18769696 in //UE5/Release-5.0/... via CL 18769699 via CL 18769791
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18769800 by paul chipchase in ue5-main branch]
2022-01-28 06:39:14 -05:00
matt peters
d039f79fb8 #jira UE-129594
Turn off the default cook behavior of cooking all /Game packages.
Change the CookModificationDelegate to a multicast delegate.
#rb Zousar.Shaker
[RN] Minor, Cooking

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 18335828 in //UE5/Release-5.0/... via CL 18335840
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18335846 by matt peters in ue5-release-engine-test branch]
2021-11-30 22:34:57 -05:00
matt peters
6e65166ead #jira UE-124623
EDLCookChecker: suppress missing export warnings for packages that were iteratively skipped and thus do have the exports but did not declare them.

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 18288814 in //UE5/Release-5.0/... via CL 18288852
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18288863 by matt peters in ue5-release-engine-test branch]
2021-11-24 16:20:12 -05:00
matt peters
336f841c9b CookCommandlet: Sort includes, remove CoreMinimal.h
#rb None, Trivial
#rnx

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 18287580 in //UE5/Release-5.0/... via CL 18287600
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18287626 by matt peters in ue5-release-engine-test branch]
2021-11-24 15:26:06 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00