summaryrefslogtreecommitdiff
path: root/indra/llrender
AgeCommit message (Collapse)Author
2024-10-12No samples_passed when there's no GL_SAMPLES_PASSEDErik Kundiman
cause it relies on querying mSamplesQuery, which would only have a value if it could run glBeginQuery(GL_SAMPLES_PASSED, mSamplesQuery).
2024-10-12Preprocess eTextureType like sGLTextureTypeErik Kundiman
(cause eTextureType seems to have been designed to mirror sGLTextureType) otherwise you'd get a GL error of invalid enum of the first argument for glTexImage2D.
2024-09-27Use the more portable glDrawBuffersErik Kundiman
Also renamed the draw buffers to avoid risking the previously defined draw buffers with the same variable name.
2024-09-27Preprocess glGetTexImageErik Kundiman
so it doesn't get compiled on non OpenGL 1.3 implementors.
2024-09-07Merge remote-tracking branch 'secondlife/release/2024.08-DeltaFPS' into ↵Erik Kundiman
2024.08-DeltaFPS
2024-09-04#2482 Low end NVIDIA compatibility pass (#2486)Dave Parks
- Use GL_NVX_gpu_memory_info when available - Disable transparent water on Mid+ and lower - Adjust GPU benchmark to better tell the truth - Texture bias tune up - viewer-private/#277 - Report foreground_time in viewer stats
2024-09-01Merge remote-tracking branch 'secondlife/release/2024.08-DeltaFPS' into ↵Erik Kundiman
2024.08-DeltaFPS
2024-08-27#2428 Fix for crash when applying PBR material (#2430)Dave Parks
Also attempt to fix some occasional bad texture memory tracking.
2024-08-20#2315 Ensure textures are deleted when they are no longer referenced. (#2343)Dave Parks
* #2315 WIP -- Clean up deletion rules in texture list. Incidental decruft. * Touch up assertions. * Move mLastReferencedTimer to LLViewerMediaTexture since it's no longer used by LLViewerTexture
2024-08-19Merge branch 'webrtc-voice' into 2024.06-atlasaurusErik Kundiman
2024-08-13Merge pull request #2210 from secondlife/v-1883cosmic-linden
secondlife/viewer#1883: Local-only PBR terrain paintmap with developer tools
2024-08-08#1922 Make PBR scale and offset crosshair work like Texture crosshair doAlexander Gavriliuk
2024-08-08Fix glext header inclusion on macOSErik Kundiman
Somehow it hasn't led to an error on my and observeur's systems. It should have had, really.
2024-08-07megapahit tuning : return of the smoothiemobserveur
This commit reintroduces the meapahit specic optimisations while maintaining an option for the LL vertex buffer optimisation mode.
2024-08-06secondlife/viewer#1883: Local-only PBR terrain paintmap with developer toolsCosmic Linden
2024-08-06Convert LLUI and LLRender2D to LLSimpleton to reduce overhead during ui draw ↵Rye Mutt
(#2202)
2024-07-31Revert "Remove double macro conditions in GL headers"Erik Kundiman
This reverts commit 591ecf748a620f7528d498e576271a33df5366ee. Unnecessarily including GLX headers in llglheaders.h would cause a conflict with some Boost 1.81 JSON header on Debian bookworm.
2024-07-28Merge remote-tracking branch 'secondlife/release/2024.06-atlasaurus' into ↵Erik Kundiman
2024.06-atlasaurus
2024-07-26Remove double macro conditions in GL headersErik Kundiman
I just noticed LL_LINUX got its own scope just below LL_MESA. We're minimising difference from upstream Maintenance-B.
2024-07-26Reduce utf8 to wstring conversion and llwstring temporaries during text draw ↵Rye Mutt
(#2115)
2024-07-23Apple gpu optimisations based on LL workmobserveur
This commit replaces our former optimisations with LL develop branch work and some tweaks.
2024-07-15Merge branch 'main' into maint-bErik Kundiman
2024-07-14Performance and tuningmobserveur
Performance and tuning floater updated including fixes
2024-07-09Fix excessive clearing of shader cache when toggling mirrors (#1950)Rye Mutt
2024-07-09Update tracy profiler to 0.10 (#1946)Rye Mutt
2024-07-09Merge pull request #1944 from Ansariel/develop_c4244Andrey Lihatskiy
Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now
2024-07-08Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h ↵Ansariel
and llunittype.h for now
2024-07-08#1931 Terminate AppViewer immediately in case of initialization failedAlexander Gavriliuk
2024-07-06#1931 BugSplat Crash: SecondLifeViewer!LLRenderTarget::release(387)Alexander Gavriliuk
2024-07-06Merge branch 'main' into maint-bErik Kundiman
2024-07-05Tuning floater and buffer mapping improvementsmobserveur
This commit adds the tuning floater accessible via the fps button, and improvements to the buffer mapping optimisation modes.
2024-07-03#1870 Tune up for better experience on integrated intel with low memory (#1872)Dave Parks
* More deterministic vsize calculation. Add control for choosing downscale method. * Quick hack to make GLTF preview work again
2024-07-01Merge branch 'main' into maint-bErik Kundiman
2024-06-29vertex buffer optimisations for Apple GPUmobserveur
The vertex buffer will use the original mapping for non Apple GPUs and the new optimized mapping for Apple GPUs. It needs the Apple gpu detection in the gl manager
2024-06-29Apple GPU Detection and Apple GPU performance optimisationsmobserveur
This commit adds a mIsApple member to the gl manager and refines the buffers optimisations for Apple GPU in llvertexbuffer.cpp
2024-06-28Apple GPU Optimisationsmobserveur
This commit massively improves 2D UI, 3D UI and 3D world rendering performance and smoothness.
2024-06-271836 dont store texture in system memory unless absolutely necessary (#1843)Dave Parks
* #1836 Texture memory usage overhaul. Much decrufting - don't keep a copy of textures in system memory - use GPU to downrez textures instead of reloading from cache - use GPU to generate brightness/darkness bumpmaps
2024-06-21#1769 gltf optimization pass (#1816)Dave Parks
#1814 and #1517 Fix mirror update rate and occlusion culling
2024-06-20Merge remote-tracking branch 'secondlife/release/maint-b' into maint-bErik Kundiman
2024-06-18Merge pull request #1797 from secondlife/release/maint-aBrad Linden
merge release/maint-a into develop and close maint-a
2024-06-141736 audit texture image unit usage on os x (#1739)Dave Parks
* #1736 Remove some unused samplers from glsl files and refactor shader manager to assume 16 texture image units and 4 indexed texture units all the time.
2024-06-14Merge branch 'release/maint-b' into marchcat/b-mergeAndrey Lihatskiy
# Conflicts: # .github/workflows/build.yaml # indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl # indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl # indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl # indra/newview/llfilepicker.cpp
2024-06-13Fix a few merge issuesAnsariel
2024-06-12Fix whitespace pre-commit hook failuresBrad Linden
2024-06-12Merge remote-tracking branch 'origin/project/gltf_development' into ↵Brad Linden
brad/maint-a-merge-to-gltf-dev # Conflicts: # indra/newview/gltf/primitive.cpp
2024-06-12viewer#1698 Uniform being out of range shouldn't crash viewerAndrey Kleshchev
2024-06-11#1718 Add GLTF support for multiple texcoords (#1720)Dave Parks
* Fix for GLTF MeshPrimitiveModes test
2024-06-11#1687 Add support for KHR_texture_transform (#1717)Dave Parks
2024-06-11Clean up line endings that got mangled up during last mergeAnsariel
2024-06-11Merge branch 'main' of https://github.com/secondlife/viewer into ↵Ansariel
DRTVWR-600-maint-A # Conflicts: # indra/llappearance/llavatarappearance.h # indra/llimage/llimage.cpp # indra/llmath/llvolume.cpp # indra/llmath/llvolume.h # indra/llprimitive/llgltfmaterial.h # indra/llrender/llrendertarget.cpp # indra/llrender/llshadermgr.cpp # indra/newview/lldynamictexture.cpp # indra/newview/llenvironment.cpp # indra/newview/llfetchedgltfmaterial.cpp # indra/newview/llfloaterimagepreview.cpp # indra/newview/llfloaterimagepreview.h # indra/newview/llfloaterregioninfo.cpp # indra/newview/llfloaterregioninfo.h # indra/newview/llmaniprotate.cpp # indra/newview/llmaniptranslate.cpp # indra/newview/llpanelvolume.cpp # indra/newview/llselectmgr.cpp # indra/newview/llselectmgr.h # indra/newview/llsurface.cpp # indra/newview/llsurface.h # indra/newview/llsurfacepatch.cpp # indra/newview/lltexturectrl.cpp # indra/newview/lltexturectrl.h # indra/newview/lltinygltfhelper.cpp # indra/newview/llviewertexture.cpp # indra/newview/llviewerwindow.cpp # indra/newview/llviewerwindow.h # indra/newview/llvlcomposition.cpp # indra/newview/llvlcomposition.h # indra/newview/llvocache.cpp # indra/newview/llvovolume.cpp # indra/newview/pipeline.cpp