Commit Graph

110 Commits

Author SHA1 Message Date
christopher waters
3b18bce7f0 Fixing initial state issues after changing the FRHITextureCreateDesc creation.
#jira UE-151907
#rb mihnea.balta
#preflight 627e751b7c26e2477354c142

[CL 20182229 by christopher waters in ue5-main branch]
2022-05-13 11:45:30 -04:00
christopher waters
9ef9e2bf50 Removing the long-form create functions and constructors from FRHITextureCreateDesc in favor of the shorter versions.
#jira none
#rb luke.thatcher
#preflight 627d7c70a82f3adab8b3524e

[CL 20172685 by christopher waters in ue5-main branch]
2022-05-12 17:59:39 -04:00
Florin Pascu
c0ea537f82 Set Backbuffer's TexCreate_ResolveTargetable flag for cases when MobileHDR=false and MSAA is enabled
#jira UE-150528
#rb Dmitriy.Dyomin,Jack.Porter,Mihnea.Balta
#preflight 6270f3625e6ce673f4327ac5

[CL 20022856 by Florin Pascu in ue5-main branch]
2022-05-03 05:40:12 -04:00
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
allan bentham
bc9a67a871 Android OGL will create multiple separate services for precompiling GLES programs.
only used during PSO precompiling.
This can reduce PSO precompile times by as much as 2/3rds.
It is enabled by default, it can be disabled via Android.OpenGL.NumRemoteProgramCompileServices=0 or setting android configrule variable 'DisableProgramCompileServices' to true.

#rb chris.babcock, Dmitriy.Dyomin
[FYI] peter.sauerbrei, jack.porter


#preflight 6218decf847077002e87365b

#ROBOMERGE-OWNER: allan.bentham
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 19147130 via CL 19147174 via CL 19148641 via CL 19148655 via CL 19160382
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161662 by allan bentham in ue5-main branch]
2022-02-25 19:54:29 -05:00
carl lloyd
1122ffe3bc Made ES 3.2 a requirement for OpenGL on Android
#robomerge Release-5.0
#robomerge FNMain
#rb Allan.Bentham

[CL 18293704 by carl lloyd in ue5-main branch]
2021-11-25 06:56:18 -05:00
yangke li
0b0ab960e6 add ARM ASTC Encoder, support HDR profile, add astc hdr pixel format for opengl, vulkan and metal
todo:  hdr decode at runtime when astc hdr not supported
needs to figure out why ARM Encoder is much slower than ISPC, use ARM only for HDR Textures might be a good compromise.
#review-17314731
#jira UE-119388

[CL 17441496 by yangke li in ue5-main branch]
2021-09-07 01:23:09 -04:00
Chris Babcock
a2d9bd542e Change Android class names from ue4 to unreal
#jira UE-104943
#ue5
#android
#review @Jack.Porter
#rb Jack.Porter

[CL 15284943 by Chris Babcock in ue5-main branch]
2021-02-02 17:21:35 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -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
steve smith
2e3883c558 Fix from Oculus for the VAO overwrite issue causing black screen on Quest in OpenGL.
#jira UE-91146
#rb
#lockdown nick.whiting

#ROBOMERGE-SOURCE: CL 12699799 in //UE4/Release-4.25/... via CL 12699988 via CL 12701493
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v676-12543919)

[CL 12701584 by steve smith in Main branch]
2020-04-09 17:33:50 -04:00
florin pascu
6c0cf84862 OculusQuest Bug
will keep the DefaultVAO for Oculus
#jira UE-91146
#rb none
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 12554467 in //UE4/Release-4.25/... via CL 12554537 via CL 12554606
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12554632 by florin pascu in Main branch]
2020-04-02 12:02:16 -04:00
dmitriy dyomin
2b0964d49a Disable support for QCOM_shader_framebuffer_fetch_noncoherent extension on Adreno5xx GPUs, as it causes rendering artifacts with MSAA enabled
#jira UE-91423
#rb none

#ROBOMERGE-SOURCE: CL 12504782 in //UE4/Release-4.25/... via CL 12504784 via CL 12504787
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12504789 by dmitriy dyomin in Main branch]
2020-04-01 05:06:37 -04:00
dmitriy dyomin
6d284b45a3 Fixed: Runtime Virtual Texture crash on mobile
#jira UE-90300
#rb none

#ROBOMERGE-SOURCE: CL 12057079 in //UE4/Release-4.25/... via CL 12057088
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v657-12064184)

[CL 12076323 by dmitriy dyomin in Main branch]
2020-03-09 13:21:37 -04:00
jack porter
30cb5475b7 Expand generic FGenericPlatformRHIFramePacer to get/set frame pace rate rate mapping to rhi.syncinterval
Add Android OpenGL FPlatformRHIFramePacer support optionally using swappy and relocate code from AndroidEGL
Add FIOSPlatformRHIFramePacer get/set frame pace functions to set rhi.syncinterval taking into account GetMaxRefreshRate
#rb Allan.Bentham
[FYI] Peter.Sauerbrei, Allan.Bentham


#ROBOMERGE-OWNER: jack.porter
#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 12057106 via CL 12057107 via CL 12057110 via CL 12057112
#ROBOMERGE-BOT: (v656-11643781)

[CL 12057117 by jack porter in Main branch]
2020-03-09 02:55:50 -04: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
arne schober
cdf3c55967 FN - Fix OpenGL Typo when compiling OpenGLES
[FYI] Lukas.Hermanns
#jira
#RB


#ROBOMERGE-SOURCE: CL 11109584 via CL 11109694
#ROBOMERGE-BOT: (v640-11091645)

[CL 11111398 by arne schober in Main branch]
2020-01-24 19:25:19 -05: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
arne schober
421d6516ca FN - SRV refactor for a better interface for that is easier to extend and supports offsets. Thanks to everyone involved.
[FYI] Lukas.Hermanns, Matt.Collins, Luke.Thatcher, Uriel.Doyon, Shaun.Kime, Rolando.Caloca
#jira
#RB


#ROBOMERGE-SOURCE: CL 11108521 via CL 11108527
#ROBOMERGE-BOT: (v640-11091645)

[CL 11108528 by arne schober in Main branch]
2020-01-24 16:08:00 -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