Commit Graph

57 Commits

Author SHA1 Message Date
Luke Thatcher
ee64a28f30 Copying //UE5/Dev-ParallelRendering to //UE5/Main
This change is the copy-up of work from //UE5/Dev-ParallelRendering to unify the various RHI texture types
 - The separate RHI texture types (FRHITexture2D, FRHITexture2DArray, FRHITexture3D, FRHITextureCube, FRHITextureCubeArray) have been replaced with a single type: FRHITexture.
 - Includes the required refactoring / fixes for the various platform RHIs.

The old texture types are still supported via typedefs, but will soon be marked deprecated. Future rendering code should make use of the FRHITexture type instead.

#jira UE-139559
#rb Mihnea.Balta
#preflight 622f3af819287beb2c3047f6
#robomerge[FN_ENGINEMERGE] DEV-NC

[CL 19371962 by Luke Thatcher in ue5-main branch]
2022-03-14 09:14:58 -04: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
Marc Audy
c43360f47c Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy
#preflight none

[CL 18483677 by Marc Audy in ue5-main branch]
2021-12-17 03:41:59 -05:00
aurel cordonnier
dc856801cd Merge from Release-Engine-Test @ 17059716 to UE5/Main
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17029914

[CL 17060422 by aurel cordonnier in ue5-main branch]
2021-08-04 17:46:20 -04:00
carl lloyd
663f719c6e Changed WaitFence to only wait if we are on the rendering thread
#jira UE-115375
#rb Allan.Bentham
#fyi Rolando.Caloca

[CL 16370762 by carl lloyd in ue5-main branch]
2021-05-18 13:24:16 -04:00
dmytro vovk
1b0b268fe4 Fixed Ensure condition failed: oldValue == newValue launching on Android [ThreadingBase.cpp] when app loses focus on Android
#jira UE-105141
#rb Arne.Schober

[CL 15277232 by dmytro vovk in ue5-main branch]
2021-02-01 20:53:53 -04:00
Tim Smith
4c3942091b Fixing PVS 7.7 Issues:
warning V547: Expression 'XYZ' is always true/false.

#rb trivial
#jira UE-91644

[CL 15054368 by Tim Smith in ue5-main branch]
2021-01-12 16:15:34 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -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
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Rolando Caloca
bbb9564388 Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main
#rb none
#rnx

[CL 11110369 by Rolando Caloca in Main branch]
2020-01-24 18:07:01 -05:00
dmitriy dyomin
32bb8acd0b Support virtual textures on mobile platforms. Requires Vulkan, OpenGL ES3.1 + SRV, iPhone8 and up.
Disabled by default, set r.Mobile.VirtualTextures=1 to enable
known issues: RVT compression is not implementted, Android OpenGL will have R and G channels swapped for uncompressed streaming VT, no sRGB support
#jira UE-79955
#rb jeremy.moore


#ROBOMERGE-SOURCE: CL 11070636 via CL 11070637
#ROBOMERGE-BOT: (v637-11041722)

[CL 11070638 by dmitriy dyomin in Main branch]
2020-01-20 22:16:23 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
florin pascu
a30655f8b4 Re-enable niagara gpucompute on Mobile
Incrementing ShaderGlslVersion to avoid compile errors


#ushell-cherrypick of 10480027 by Florin.Pascu
#rb Dmitriy.Dyomin, Jack.Porte, Allan Bentham


#ROBOMERGE-OWNER: florin.pascu
#ROBOMERGE-AUTHOR: florin.pascu
#ROBOMERGE-SOURCE: CL 10505362 via CL 10505365 via CL 10505439
#ROBOMERGE-BOT: (v606-10482310)

[CL 10505450 by florin pascu in Main branch]
2019-12-04 04:41:27 -05:00
thomas ross
9810e34230 Backing out CL 9955175 as it broke OpenGL texture rendering on Android
#rb Chris.Babcock
[CODEREVIEW] [at]Florin.Pascu,[at]Dmitriy.Dyomin, [at]Jack.Porter
#tests Android Client in openGL and Vulkan on S10+
#preflight https://ec-01.epicgames.net/commander/link/jobDetails/jobs/9754303?


#ROBOMERGE-OWNER: thomas.ross
#ROBOMERGE-AUTHOR: thomas.ross
#ROBOMERGE-SOURCE: CL 10332513 via CL 10333274 via CL 10333320
#ROBOMERGE-BOT: (v594-10333955)

[CL 10339731 by thomas ross in Main branch]
2019-11-21 13:10:43 -05:00
Florin Pascu
3181f62fe0 Niagara GPUSim Ios/Android
glGenVertexArrays, glBindVertexArray, glMapBufferRange, glCopyBufferSubData, glDrawArraysIndirect, glDrawElementsIndirect added
One VAO bound per context now(different from Default VAO - indirect ES requirement)

#jira UE-80051
#rb Dmitriy.Dyomin, Jack.Porter


#ROBOMERGE-OWNER: Florin.Pascu
#ROBOMERGE-AUTHOR: florin.pascu
#ROBOMERGE-SOURCE: CL 9955175 via CL 9955182
#ROBOMERGE-BOT: (v558-9892490)

[CL 9955764 by Florin Pascu in Main branch]
2019-11-01 10:02:01 -04:00
Nick Shin
3526d16d5e merge/copyup to parent stream - HTML5 platform extension
#jira UEMOB-482  HTML5 platform as a plug in
#rb josh.adams
#rn

[CL 9306021 by Nick Shin in Dev-Build branch]
2019-09-30 15:13:56 -04:00
lukas hermanns
5a41277765 Added separate path for RHICreateRenderQueryPool function in OpenGL RHI as workaround.
#rb Rolando.Caloca
#jira UE-77873
#rnx

#ROBOMERGE-SOURCE: CL 8029660 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v398-8029740)

[CL 8029963 by lukas hermanns in Main branch]
2019-08-14 10:14:35 -04:00
Rolando Caloca
aa0d2303d6 Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) @ 6944469
#rb none
#rnx

[CL 6944849 by Rolando Caloca in Main branch]
2019-06-11 18:27:07 -04:00
Matt Collins
785de10700 Log Fatal doesn't have noreturn, so return null.
#rb none
#lockdown marcus.wassmer

[CL 4837144 by Matt Collins in Dev-Rendering branch]
2019-01-29 20:20:21 -05:00
Matt Collins
0e503b82a4 OpenGL implementation of Fence and CopyToStagingBuffer
#jira UE-69164
#fyi shaun.kime, uriel.doyon
#lockdown marcus.wassmer
#rb Arciel.Rekman

[CL 4833857 by Matt Collins in Dev-Rendering branch]
2019-01-29 14:38:07 -05:00
Marcus Wassmer
cbfcbbb93b Merging //UE4/Dev-Main@4662404 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
Should be just copyright updates

[CL 4680440 by Marcus Wassmer in Dev-Rendering branch]
2019-01-03 19:16:26 -05:00
Marcus Wassmer
c56a69a8c0 Merging //UE4/Dev-Main@4567547 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none

[CL 4568017 by Marcus Wassmer in Dev-Rendering branch]
2018-11-14 21:37:16 -05:00
Emil Persson
46d75cd93a Update RHIs to safer command allocation
#rb none

[CL 4561423 by Emil Persson in Dev-Rendering branch]
2018-11-13 07:18:15 -05:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00