Commit Graph

343 Commits

Author SHA1 Message Date
sarah noonan
1a993b9ada *Remove per-frame caching of stats from FPlaformMemory::GetStats and move caching into helper function.
*Update common callers of FPlaformMemory::GetStats to use the helper.
[REVIEW] [at]matt.peters

[CL 22596606 by sarah noonan in ue5-main branch]
2022-10-18 07:22:43 -04:00
evgenii babinets
528585a552 Merging with resolved conflicts on behalf of sarah.noonan. Original CL description:
*Make FPlatformMemory::GetStats cache memory stats per frame to prevent multiple costly platform calls per frame ( by default, has option to request non-cached values ).
*Update some calls to FPlatformMemory::GetStats to specifically request non-cached values.
[REVIEW] [at]evgenii.babinets [at]andrew.ladenberger


#preflight 634a04c0907f4749392d75d0

[CL 22545788 by evgenii babinets in ue5-main branch]
2022-10-14 21:13:08 -04:00
bryan sefcik
72be98c810 Moved IN and OUT defines to HAL/Platform.h
#jira
#preflight 63371394466fb436691a350a

[CL 22279776 by bryan sefcik in ue5-main branch]
2022-09-30 16:18:41 -04:00
benjamin rouveyrol
731de80428 Have r.HDR.Display.ColorGamut enum values defined in a single place and replaced hardcoded numbers by enum values.
#jira UE-148995
#preflight 62716752e16e280be614c38b
#rb eric.renaudhoude jeff.newquist

[CL 20056544 by benjamin rouveyrol in ue5-main branch]
2022-05-05 08:49:19 -04:00
benjamin rouveyrol
30ea8aca4f Have r.HDR.Display.OutputDevice enum values defined in a single place and replaced hardcoded numbers by enum values.
#preflight 62559eb569015afc27ac1833
#jira UE-148598
#rb eric.mcdaniel

[CL 19784660 by benjamin rouveyrol in ue5-main branch]
2022-04-18 09:20:23 -04:00
martin ridgers
a6c96f202f Incorrect shader format null RHI was used on Mac.
According to DataDrivenPlatformInfo.ini, Mac only supports shader platforms SP_METAL_SM5, SP_METAL_MRT_MAC, and SP_METAL_MACES3_1. The SP_METAL platforms was used when creating a null RHI on Mac however and resulting in an assert of an unsupported shader platform when running a dedicated server (and -nullrhi one presumes although that remains untested).

#jira UE-140407
#rnx
#rb will.damon
#preflight 62027410bf1c496911458426

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 18901531 in //UE5/Release-5.0/... via CL 18901589 via CL 18901729
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v912-18901109)

[CL 18901743 by martin ridgers in ue5-main branch]
2022-02-08 09:33:02 -05:00
marc audy
0ab62ee6f6 Undo change to Mac to use ansi posix malloc as malloc_usable_size is not available in OSX11.1
[CODEREVIEW] Arne.Schober
#preflight
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18702662 in //UE5/Release-5.0/... via CL 18702672 via CL 18702682
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18702688 by marc audy in ue5-main branch]
2022-01-22 21:02:18 -05:00
arne schober
1697186e12 FEM - enable aligned malloc for after it was accitently disabled a while back.
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18701089 via CL 18701091 via CL 18701094 via CL 18702221 via CL 18702246 via CL 18702283
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18702287 by arne schober in ue5-main branch]
2022-01-22 14:45:23 -05:00
josh adams
dca6c0902b - Restored Mac/WindowsPlatformProperties::SupportsMeshLODStreaming() to check for HasEditorOnlyData, because it was causing cooked client meshes to crash when loaded by the editor. This may be a temporary fix
#rb jian.ru
#preflight skip

#ROBOMERGE-OWNER: eric.knapik
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18685262 via CL 18686108 via CL 18686121 via CL 18686129 via CL 18686492 via CL 18686502 via CL 18686508
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18686515 by josh adams in ue5-main branch]
2022-01-21 00:25:46 -05:00
jack porter
e7b6f0102c Add flag to FPlatformProcess::CreatePipe to indicate the pipe will be used for stdin redirection rather than stdout redirection.
Windows needs to set permissions accordingly.
#rb Brandon.Schaefer
[FYI] Josh.Adams
#preflight 61d79ed84c252480ca31e640

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 18539045 in //UE5/Release-5.0/... via CL 18539064
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18539081 by jack porter in ue5-release-engine-test branch]
2022-01-06 21:19:58 -05:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
richard wallis
3cec9abbfc Update Xcode project XCBuildConfiguration to handle unique build environments. Also implement platform process GetModulesDirectory() on macOS which allows re-launching of the correct app to also work.
#jira UE-80706
[at]will.damon,  [at]ben.marsh,  [at]dave.hunter
#rb will.damon,  ben.marsh

#ROBOMERGE-SOURCE: CL 17332770 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17332818 by richard wallis in ue5-release-engine-test branch]
2021-08-27 06:31:40 -04:00
geordiemhall
1c5bfd52de Implement OutStdErr in FUnixPlatformProcess::ExecProcess
Add stderr parameter to CreateProc
Add exec-process test to TestPAL

PR #6919: Add a new FPlatformProcess::CreateProc() overload to allow separating stderr and stdout (Contributed by geordiemhall)

#rb Brandon.Schaefer, James.Singer, Robert.Seiver, Will.Damon
#jira UE-91758, UE-92964

#ROBOMERGE-SOURCE: CL 17290306 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17290325 by geordiemhall in ue5-release-engine-test branch]
2021-08-24 14:16:10 -04:00
danny couture
f358a5d8a4 Include mimalloc compilation as part of the core module instead of relying on prebuilt binaries
- This will make maintenance for multiple platforms a lot easier (i.e. just preflight)
  - Will be easy to get callstack and debug since it will be compiled on the machine it is debugged on
  - Easier to try out modifications on mimalloc itself
  - Fix mimalloc compilation under Clang 10
  - Fix mimalloc inconsistent usage of MI_ENCODE_FREELIST define
  - Fix mimalloc inconsistent usage of _WIN32 define
  - Implement MacOS and Unix -mimalloc command-line switch

- Some MacOS changes were contributed by Will.Damon

#rb Brandon.Schaefer, Will.Damon
#preflight 60b4ea613c6c4e000158233e
#rnx

[CL 16512512 by danny couture in ue5-main branch]
2021-06-01 05:35:42 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
christopher waters
2f132565b1 Tessellation Removal: Removing various leftover Tessellation code.
#jira UE-94564
#rb mihnea.balta
#preflight 608043e687373000015502b2

[CL 16080287 by christopher waters in ue5-main branch]
2021-04-21 16:11:32 -04:00
dave hunter
b2c7ef5a31 Remove UE4 references
This removes a variety of low-risk UE4 references.

#jira UE-112113
#rb will.damon

[CL 16023965 by dave hunter in ue5-main branch]
2021-04-15 14:09:49 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Johan Torp
ae8157b855 Add FPlatformMisc::NormalizePath(FStringBuilderBase&) overload
#rb steve.robb, devin.doucette

[CL 15848637 by Johan Torp in ue5-main branch]
2021-03-29 02:56:56 -04:00
will damon
0a4e702859 Remove all tessellation support from Metal RHI
- Also, remove _NOTESS Metal profile

#rb christopher.waters, richard.wallis, lukas.hermanns, rolando.caloca
#jira UE-94564
#rnx

[CL 15831929 by will damon in ue5-main branch]
2021-03-25 16:56:00 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
axel riffard
73fdd4356c Allow ExecProcess() to be called as a Job Process #fyi danny.couture #rb jack.porter #jira UE-109833 #okforgithub public
#ROBOMERGE-SOURCE: CL 15622789 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15622803 by axel riffard in ue5-main branch]
2021-03-05 05:26:15 -04:00
will damon
cac2ed6c66 Implement IORegistry discovery of Apple Silicon gfx.
#rb andrew.grant
#jira none
#rnx
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 14926230 in //UE4/Release-4.26/... via CL 14926243
#ROBOMERGE-BOT: RELEASE (Release-4.26-Chaos -> Release-Engine-Staging) (v766-14819879)

#ushell-cherrypick of 14926245 by will.damon

[CL 14948321 by will damon in ue5-main branch]
2020-12-17 13:56:33 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00