Commit Graph

71 Commits

Author SHA1 Message Date
christopher waters
f650cb0d4e Adding minimal interface to OpenGLDrv
- Adding IOpenGLDynamicRHI interface for plugins that want to touch OpenGL resources/handles directly.
- Modifying plugins that were using OpenGLDrv.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 OpenGLDrv/Private from plugin include paths.

#jira none
#rb dmitriy.dyomin, lukas.hermanns, robert.srinivasiah
#preflight 6226442206521a56d5d99678
#robomerge FNNC

[CL 19314031 by christopher waters in ue5-main branch]
2022-03-08 18:48:58 -05: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
682c035fbd OpenGL DXC Improvements
- Added support for structured buffers
- Updated OpenGLES to 3.2

#rb Lukas.Hermanns
#preflight 61570a0947517300018581c9

[CL 17691647 by carl lloyd in ue5-main branch]
2021-10-01 10:30:27 -04:00
Dmitriy Dyomin
edd0257c55 Remove Texture2D as a storage for GPUScene primitives, OpenGL will use StructuredBuffers supported through SSBOs
#rb jack.porter
#fyi ola.olsson

[CL 15415286 by Dmitriy Dyomin in ue5-main branch]
2021-02-16 00:46:28 -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
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
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
Rolando Caloca
db7cb13cd5 Merging //UE4/Main@11108668 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 11109810 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2020-01-24 17:26:14 -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
Juan Canada
2ecf4f9708 Merging //UE4/Dev-Main@10877709 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10895568 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-07 13:45:01 -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
Rolando Caloca
c2d62c0ecc Copying //UE4/Dev-Rendering@10763356 to //UE4/Dev-RenderPlat-Staging
#rb none
#rnx

[CL 10769097 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-12-17 14:14:23 -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
Florin Pascu
d6981a7801 Texture buffer-> 2D Texture for GPU Scene Mobile device
This was done because of MALI GPU limitation of 64kb texture buffer

- Changed default Precision of compute shaders to highp
- Added Texture Buffer GPU Support mobile
- Texture path controlled by GPUSceneUseTexture2D(requires recompile of shaders)

#rb Dmitriy.Dyomin, zach.bethel
#jira UE-79954


#ROBOMERGE-OWNER: Florin.Pascu
#ROBOMERGE-AUTHOR: florin.pascu
#ROBOMERGE-SOURCE: CL 9742164 via CL 9742165
#ROBOMERGE-BOT: (v542-9736015)

[CL 9745770 by Florin Pascu in Main branch]
2019-10-22 11:07:33 -04:00
allan bentham
343b7fa31f Enable QCOM binning mode hints on older adreno drivers when rendering scene color pass.
#rnx
#rb chris.babcock


#ROBOMERGE-SOURCE: CL 9692171 via CL 9692193 via CL 9692202 via CL 9692213
#ROBOMERGE-BOT: (v538-9681622)

[CL 9692218 by allan bentham in Main branch]
2019-10-18 12:57:49 -04:00
dmitriy dyomin
0f18b40f6f Support 3D immutable textures on Android GL, required for sky atmosphere
#rb none


#ROBOMERGE-SOURCE: CL 8970791 via CL 8970793 via CL 8970794
#ROBOMERGE-BOT: (v436-8951088)

[CL 8970795 by dmitriy dyomin in Main branch]
2019-09-23 02:02:10 -04:00
dmitriy dyomin
a59fb0ac32 Use GL_QCOM_shader_framebuffer_fetch_noncoherent extension on supported devices for better GPU performance
Remove shader_framebuffer_fetch exception for Adreno51x devices (old drivers issue)


#ROBOMERGE-SOURCE: CL 7785313 via CL 7785314 via CL 7785377
#ROBOMERGE-BOT: (v386-7774470)

[CL 7785387 by dmitriy dyomin in Main branch]
2019-08-06 03:50:54 -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
dmitriy dyomin
a057ce7394 Support auto-instancing on mobile ES3.1 feature level (Metal, OpenGL ES3.1, Vulkan)
Disabled by default, can be enabled with r.Mobile.SupportGPUScene=1
#jira UE-71355
#rb rolando.caloca, zach.bethel
[FYI] rolando.caloca, zach.bethel


#ROBOMERGE-SOURCE: CL 6617026 via CL 6617089
#ROBOMERGE-BOT: (v358-6608238)

[CL 6617118 by dmitriy dyomin in Main branch]
2019-05-23 00:36:32 -04:00
Marcus Wassmer
68f340a63c Merging //UE4/Dev-Main@4825910 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
KNOWN BROKEN DO NOT SYNC
#lockdown rolando.caloca

[CL 4827063 by Marcus Wassmer in Dev-Rendering branch]
2019-01-28 21:04:21 -05:00
Ryan Vance
d5aa052fe5 Copying //UE4/Dev-VR to Dev-Main (//UE4/Dev-Main) Souce CL: 4824152
#lockdown: Nick.Penwarden
#rb Integration

[CL 4824851 by Ryan Vance in Main branch]
2019-01-28 16:31:25 -05:00
Marcus Wassmer
a8d6cc952b Merging //UE4/Dev-Main@4700769 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none

[CL 4729861 by Marcus Wassmer in Dev-Rendering branch]
2019-01-15 18:04:38 -05:00