65 Commits

Author SHA1 Message Date
henrik karlsson
562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00
Jens Petersam
4d944f0214 Added parameter checking
#jira UE-172839
#preflight 646dfd96807b157b8b21a254
#rnx

[CL 25600802 by Jens Petersam in ue5-main branch]
2023-05-24 08:27:28 -04:00
Jens Petersam
22665b75a9 Added input parameter checking.
#jira UE-172838
#preflight none
#rnx

[CL 25540362 by Jens Petersam in ue5-main branch]
2023-05-19 01:40:57 -04:00
David Harvey
f53c45f76f expanding some simple module declarations to include windows platform extensions by default.
#jira UE-179187
#rnx
#rb trivial
#preflight 6422af0b5e52099fe3ba9cc5

[CL 24815951 by David Harvey in ue5-main branch]
2023-03-28 05:28:43 -04:00
henrik karlsson
eab4339b3a Fixed compile errors when building QAGame with orphaned headers on
#preflight skipped
#rb none

[CL 23552117 by henrik karlsson in ue5-main branch]
2022-12-21 02:06:44 -05:00
matthew cotton
4d84bc870a Fixing a crash in GameplayMediaEncoder that would trigger when starting a highlight recording.
#jira UE-166133
#preflight 633f8007c6753f31ce49000e
#rb luke.bermingham, aidan.possemiers, nick.pace
#lockdown Mitchell.Wilson

[CL 22425477 by matthew cotton in ue5-main branch]
2022-10-10 01:07:51 -04:00
bryan sefcik
cb0456c6d4 Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
#jira
#preflight 631a5c04967ffc68fbf0dd8f

[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -04:00
Zak Middleton
84fb0737e0 #ue5 - Fix type conversion warnings in modules: AutomationController, AutomationTest, AVEncoder, AVIWriter.
#jira UE-160830
#rb Andrew.Davidson
#preflight 630d2147556fc14dce527da5

[CL 21690862 by Zak Middleton in ue5-main branch]
2022-08-29 18:32:03 -04:00
Nick Pace
364328dd34 Fix malloc(sizeof) and cast mismatch picked up by Clang static analysis in AVEncoder
#rb self
#fyi matthew.cotton, mattias.jansson
#jira UE-162080
#preflight 630c06fde11248377506ffd0 630bfef4f92416fb925134ce

[CL 21657350 by Nick Pace in ue5-main branch]
2022-08-28 20:32:42 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
David Harvey
f6c19f301d Remove NDA platform references
#jira FORT-365003, UE-124892
#rnx
#preflight 62a85b2fd502a5543666f91a
#rb Nuno.Leiria, Mickael.Gilabert

[CL 20648944 by David Harvey in ue5-main branch]
2022-06-14 10:55:38 -04:00
David Harvey
96925205c4 Fix DEBUG_SET_D3D11_OBJECT_NAME for Edit & Continue.
- Cannot use __LINE__ as a compile-time constant because it cannot be used with Edit & Continue (/ZI)
 - see C2975 in MSDN

#jira UE-155846
#rnx
#rb Nuno.Leiria
#preflight 62a35a3a0251cacef0b5b652

[CL 20595931 by David Harvey in ue5-main branch]
2022-06-10 11:05:14 -04:00
David Harvey
b5840fed7f removing several PLATFORM_HOLOLENS references, mostly around WindowsHWrapper etc.
#jira UE-149794
#rnx
#preflight 628f7a4df622d972b5db8318
#rb pending

[CL 20391626 by David Harvey in ue5-main branch]
2022-05-27 07:04:22 -04:00
David Harvey
d748fca6d6 removing some rogue references to PLATFORM_XBOXONE and WITH_LEGACY_XDK.
#jira UE-124892
#rnx
#preflight 628512552a7df8ed9f9bc713
#rb Eric.McDaniel

[CL 20261866 by David Harvey in ue5-main branch]
2022-05-18 11:45:55 -04:00
Jens Petersam
e1c64e41a3 ElectraPlayer: Added DASH low latency Live streaming
#preflight 627a292e4b6e4b76c93c3976

[CL 20134233 by Jens Petersam in ue5-main branch]
2022-05-11 02:12:31 -04:00
christopher waters
2a8f9987cb Adding minimal interface to VulkanRHI
- Adding IVulkanDynamicRHI interface for plugins that want to touch Vulkan resources/handles directly.
- Modifying plugins that were using VulkanRHIPrivate.h to use the interface instead.
- Removing plugin references to UE Modules and ThirdParty libraries that were only needed because they included the private RHI headers.
- Removing VulkanRHI/Private from plugin include paths.
- Deprecating VulkanRHIBridge and moved its functionality into the new interface.

#jira none
#rb jeannoe.morissette, mihnea.balta, robert.srinivasiah
#preflight 62281ec531133a23da642007
#robomerge FNNC

[CL 19320995 by christopher waters in ue5-main branch]
2022-03-09 11:16:51 -05:00
christopher waters
c001265796 Removing uses of FDynamicRHI::GetName() and GetGraphicsRHI() to identify specific RHIs in favor of ERHIInterfaceType.
Switching direct casts of GDynamicRHI to use the new CastDynamicRHI/GetDynamicRHI functions. This prevents incorrectly casting RHIValidation into the wrong types.

#jira none
#rb josh.adams, will.damon, peter.tarasenko
#preflight 6216a3b9c15ec90be95f54f7

[CL 19116145 by christopher waters in ue5-main branch]
2022-02-24 11:58:36 -05:00
William Belcher
24ba7c4cc9 Merge /UE5/Dev-Tensorworks to /UE5/Main. This includes:
Refactor player sessions
Fix PixelStreamingAudioComponent had delayed audio.
Fix audio bitrate from Unreal Engine to browser was set to a low default causing compressed audio quality in stream. The new default is now Opus maximum value of 510kb/s.
Fix the Selective Forwarding Unit (SFU) not being added to the Pixel Streaming samples folder for a packaged project
Fix default max bitrate not being high enough to support 4k.
Fix reconnections not autoplaying in the browser.
Add datachannel support to SFU.
Add WebRTC c++ client behaviour to pixel streaming system. This is used for developing unit tests.
Add a unit test that will start streaming, connect a client and check that a data channel message can be sent.
Add the ability for a user to start/stop streaming as needed through the use of PixelStreaming.StartStreaming and PixelStreaming.StopStreaming
Add the ability for the stream resolution to be changed at runtime

Notes: AVEncoder no longer stores a width and height; These properties have been moved to the FVideoEncoderInput. This input is now the source of truth and both AMF and NVENC will adapt their resolution to the input resolution.

#rb luke.bermingham
#fyi mattias.jansson, nick.pace, matthew.cotton, aidan.possemiers, sandor.hadas
#preflight 6204c7aba65a8a28464df03c
#jira none

[CL 18948482 by William Belcher in ue5-main branch]
2022-02-10 21:16:24 -05:00
matthew cotton
53649e835e Merging //UE5/Dev-TensorWorks to Release-5.0 (//UE5/Release-5.0)
Fixing non unity builds.

#jira UE-136530, UE-136531, UE-136532, UE-136537, UE-136543, UE-136549
#rb aidan.possemiers, luke.bermingham, nick.pace
[FYI] Mattias.Jansson

#ROBOMERGE-AUTHOR: matthew.cotton
#ROBOMERGE-SOURCE: CL 18363268 in //UE5/Release-5.0/... via CL 18363279
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18363286 by matthew cotton in ue5-release-engine-test branch]
2021-12-02 21:10:53 -05:00
matthew cotton
add868a255 Merging //UE5/Dev-TensorWorks to Release-5.0 (//UE5/Release-5.0)
Fixing warning about includes after code.

#rb aidan.possemiers, luke.bermingham, nick.pace
[FYI] Mattias.Jansson

#ROBOMERGE-AUTHOR: matthew.cotton
#ROBOMERGE-SOURCE: CL 18346877 in //UE5/Release-5.0/... via CL 18346901
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18346917 by matthew cotton in ue5-release-engine-test branch]
2021-12-01 18:13:06 -05:00
matthew cotton
1363134cbe Merging //UE5/Dev-TensorWorks CLs 18200048 and 18306147 to Release-5.0 (//UE5/Release-5.0)
- Changing the offer/request order
- Adding sfu support
- Adding simulcast support
- Largish structural changes
- adding reference SFU server

#jira UE-136239, UE-136238
#rb aidan.possemiers, luke.bermingham, nick.pace
[FYI] Mattias.Jansson

#ROBOMERGE-AUTHOR: matthew.cotton
#ROBOMERGE-SOURCE: CL 18345619 in //UE5/Release-5.0/... via CL 18345653
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18345683 by matthew cotton in ue5-release-engine-test branch]
2021-12-01 16:57:33 -05:00
nick pace
a977d8c332 Enable D3D12 to use CUDA for PixelStreaming backbuffer textures in order to resolve NVENC encoder latency issues
#JIRA UE-133431
#rb aidan.possemiers
[FYI] luke.bermingham, marco.anastasi, mattias.jansson
#lockdown Mitchell.Wilson

#ROBOMERGE-OWNER: nick.pace
#ROBOMERGE-AUTHOR: nick.pace
#ROBOMERGE-SOURCE: CL 18298384 in //UE4/Main/... via CL 18298455 via CL 18298465
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18298471 by nick pace in ue5-release-engine-test branch]
2021-11-26 03:04:55 -05:00
aidan possemiers
8830772283 Decouple render FPS and encode FPS so that low FPS application can still stream at 60 FPS.
This resolves bitrate issues in WebRTC caused by inconsistent frame rates.

These changes are intended for 5.0 and licencees who are using source builds of the engine to get the updates before 5.0 is released.

#JIRA UCS-2077
#rb Aidan.Possemiers
[FYI] Luke.Bermingham, Nick.Pace, Matthew.Cotton, Marco.Anastasi
#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: aidan.possemiers
#ROBOMERGE-SOURCE: CL 18267227 in //UE4/Main/... via CL 18267244 via CL 18267255
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18267257 by aidan possemiers in ue5-release-engine-test branch]
2021-11-23 01:47:46 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
nick pace
f27ab9a95e Fix Win64 Release build cs reference to platform removed for release builds
#JIRA
[FYI] luke.bermingham, aidan.possemiers, marco.anastasi
#rb self

#ROBOMERGE-AUTHOR: nick.pace
#ROBOMERGE-SOURCE: CL 17921560 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17922640 by nick pace in ue5-release-engine-test branch]
2021-10-26 09:14:35 -04:00