Commit Graph

199 Commits (7bd9d21e19b923096ba2b5ea3cbc8be3e13d7aa0)

Author SHA1 Message Date
RunitaiLinden 7bd9d21e19
Optimizations, decruft, and intel compatibility pass (#53)
SL-18869, SL-18772  Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2023-01-19 09:13:45 -06:00
Andrey Kleshchev 33290ef1bb MacOS build fix 2023-01-11 23:03:50 +02:00
Dave Parks 3ac990e6ce SL-18869 Touch up -- fix some Debug GL assertions and restore shadows. 2023-01-11 00:04:41 -06:00
Dave Parks 68da705f3b SL-18869 Optimizations -- Quiet command buffer -- VBO cache for UI et al and remove many unneeded VBO binds. 2023-01-10 18:42:09 -06:00
Dave Parks a2d17d3c1e SL-18869 Optimizations -- Decruftify LLRenderTarget, use a shader to copy color/depth instead of glCopyTexSubImage or glBlitFrameBuffer 2023-01-09 18:12:54 -06:00
Jonathan Goodman 97277e74a9 Merged in SL-18332 (pull request #1194)
First pass of Screen Space Reflections

Approved-by: Dave Parks
2022-11-14 18:12:22 +00:00
Andrey Kleshchev 24fb2f8336 Merge branch 'master' (DRTVWR-548) into DRTVWR-559
# Conflicts:
#	indra/llrender/llgl.cpp
#	indra/llrender/llrendertarget.cpp
#	indra/newview/VIEWER_VERSION.txt
#	indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
#	indra/newview/llfloaterpreference.cpp
#	indra/newview/llviewercontrol.cpp
#	indra/newview/llviewermenu.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/llvovolume.cpp
2022-10-21 18:19:27 +03:00
Dave Parks b6e576c7c2 SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), remove some unused glsl files. 2022-10-11 20:20:39 -05:00
Dave Parks 411aa9f727 SL-18190 Fix for haze color being completely wrong (now it's just half wrong). 2022-09-29 00:19:52 -05:00
Dave Parks 2e499bcc40 SL-18190 Prune srgb_to_linear from atmosphericsFuncs.glsl 2022-09-28 19:14:00 -05:00
Dave Parks 8dc59e5ef3 SL-18128 Clear out much OpenGL cruft and switch to core profile on AMD 2022-09-16 16:25:26 -05:00
Dave Parks ff3a28422d SL-17701 WIP -- Parity for point lights between opaque and transparent PBR materials 2022-09-13 17:07:30 -05:00
Dave Parks 60cc58fbfc SL-17967 Fix for confounding program and shader objects when fetching logs and fix for gl errors on AMD windows 2022-09-02 21:05:53 -05:00
Dave Parks 00b1fec960 SL-17967 Purge OpenGL extensions (use core API only) 2022-09-02 19:53:56 -05:00
Howard Stearns 01d03edd85 SL-17967 - _ARB constant removal 2022-09-01 13:38:22 -07:00
Howard Stearns 2082443220 SL-17967 - Git rid of ARB that is in core 2022-09-01 10:58:27 -07:00
Dave Parks 197ac7cc20 Merge remote-tracking branch 'remotes/origin/DRTVWR-563' into DRTVWR-559 2022-08-30 10:46:36 -05:00
Andrey Kleshchev 4cfa59d3f1 SL-17473 Viewer not clearing all Vertex Buffers in some cases
Image thread doesn't need mBuffer and buffer isn't thread safe so no point allocating it in an image thread.
2022-05-26 22:43:12 +03:00
Dave Parks 3400e5fd30 SL-17284 Reflection probe tuning and optimization take 1 2022-05-16 17:21:08 +00:00
Dave Parks 34e79c8f4e SL-17005 WIP Simplify what feeds texture loading bias to only pay attention to available memory according to OS and GL driver, not (broken) internal accounting (breaks intel GPUs, compatibility pass incoming). 2022-03-11 10:21:08 -06:00
Dave Parks f47730b92c SL-16418 Media texture update stall fix. Make media texture updates use LLImageGL thread to update, fix AMD sync issue on ImageGL thread and install debug callbacks on LLImageGL thread when debug gl enabled. 2022-02-14 18:07:24 +00:00
Runitai Linden 1a440be5e1 SL-16653 Fix for some textures having incorrect texel colors after the first row (and add more paranoia checks on texture data). 2022-01-19 10:35:58 -06:00
Ptolemy 206a8bb30f SL-16606: Add profiler category PIPELINE 2022-01-14 11:50:20 -08:00
Dave Parks e7830b39f0 SL-16436 and SL-16327 Fix for RenderDebugGL test failures and fix for grey textures 2021-12-03 15:07:31 +00:00
Andrey Kleshchev 7929230c04 mac build fix
remove unused variable
2021-12-02 01:19:40 +02:00
Dave Houlton 8b92652806 SL-16386 replace gutted LLRender::setAlphaRejectSettings() with explicit flush() 2021-11-30 17:04:35 -07:00
Dave Houlton 5fcea00c4f SL-16386 purge no-op fxn LLTexUnit::setTextureBlendType() 2021-11-30 17:04:35 -07:00
Dave Houlton 68e09edad0 SL-16386 remove references to (const true) LLGLSLShader::sNoFixedFunction 2021-11-30 17:04:35 -07:00
Dave Parks 28f9fb06a9 SL-16289 Rigged mesh rendering overhaul 2021-11-20 18:49:19 +00:00
Dave Parks e774bffb28 SL-16202 Fix for textures appearing black or flashing white due to optimization bugs. 2021-10-21 21:19:48 +00:00
Runitai Linden e7227afe02 SL-16166 Apply optimizations from pushBatch to other render call sites. Optimize out a map lookup in rigged face rendering. 2021-10-14 13:02:40 -05:00
Runitai Linden a1e6cbe4a8 SL-16166 Apply LLRenderPass::pushBatch optimizations to LLDrawPoolBump::pushBatch 2021-10-13 10:35:39 -05:00
Runitai Linden 52e1a45659 SL-16166 Optimization pass on LLRenderPass::pushBatch 2021-10-12 14:46:19 -05:00
Dave Parks d00272e0cc SL-16099 Multi-threaded OpenGL usage on Windows, enable Core Profile and VAOs by default. 2021-10-11 16:03:40 +00:00
Dave Parks 675514bdb3 SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging. 2021-09-27 23:56:06 +00:00
Andrey Lihatskiy fef6c1f51e Merge branch 'master' into DRTVWR-516-maint 2021-06-07 20:54:41 +03:00
Ptolemy a5aac89809 SL-14035: Don't use sRGB textures when not specified 2021-01-06 18:17:56 -08:00
Andrey Lihatskiy 83822fd199 Merge branch 'master' into DRTVWR-516-maint
# Conflicts:
#	indra/newview/llvocache.cpp
2020-09-28 22:39:06 +03:00
Andrey Kleshchev 177ad21ade SL-13729 Performance of LLUI and LLRender2D 2020-09-17 19:59:48 +03:00
Dave Houlton 92ee1be5cf SL-13521, clang-format LLRender::syncLightState() (whitespace) 2020-08-05 12:30:24 -06:00
Dave Houlton 8b314a646f SL-13521, stamp out some remaining hard-coded 8s 2020-08-05 12:05:23 -06:00
Dave Houlton 107a7fec34 SL-13521 add an avatar appearance light to deferred mode 2020-08-04 17:14:19 -06:00
Dave Houlton 84d3065596 SL-13281, add missing srgb->linear conversion for specular 2020-06-11 23:33:14 +03:00
Andrey Kleshchev abe5cc5787 Fix for 'release' configuration
llassert is not used in 'release' configuration and build fails due to unused tex_index
2020-04-21 10:32:45 +03:00
Andrey Kleshchev 278853824d Fixed merge conflict and restored SL-1130 2020-04-20 21:56:21 +03:00
Andrey Lihatskiy 7a311fe30e Merge branch 'master' into DRTVWR-497 2020-04-20 21:21:12 +03:00
Runitai Linden 3d22273726 Fix for bad fullbright shiny shininess values and inconsistency between materialF and fullbrightShinyF 2020-03-24 11:22:01 -05:00
andreykproductengine 74904f39e1 SL-1130 Prevent crash on mMatrix 2019-11-29 18:31:50 +02:00
Graham Linden e9dbee0026 SL-11238
Fix ambient light inputs to the renderer.

Fix 3rd sky shader w/ mistaken density mod conversion.

Make ambient clamp apply to all modes.

Tune ALM ambient clamp to match non-ALM.
2019-05-21 16:00:45 -07:00
Graham Linden a1e8042c1f SL-11055, SL-10966, SL-11087
Make haze look more like WL.

Make lack of sun and moon mean black and fixed dir to prevent spooky underlighting.
2019-05-07 15:36:43 -07:00