RunitaiLinden
cde5d29faf
Profile guided optimizations
2024-09-10 18:27:45 -05:00
Andrey Kleshchev
238a2a64b3
viewer#2411 Use font buffer in text segments
2024-09-05 06:55:53 +03:00
Brad Linden
49abe2c8bc
Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into develop
2024-09-04 12:51:24 -07:00
Dave Parks
cb9f3dcfe9
#2482 Low end NVIDIA compatibility pass ( #2486 )
...
- 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-04 11:34:44 -05:00
Andrey Kleshchev
2fc8d5ff3c
viewer#2411 Cleanup #2
2024-09-04 10:16:46 +03:00
Andrey Kleshchev
4cc0edb189
viewer#2411 Cleanup
2024-09-04 10:16:46 +03:00
Andrey Kleshchev
57ab1a410f
viewer#2411 A bit more coverage for font buffer
2024-09-04 10:16:46 +03:00
Andrey Kleshchev
5c64e5e13d
viewer#2411 LLFontGL::render optimizations #3
2024-09-04 10:16:46 +03:00
Andrey Kleshchev
a638d9610d
viewer#2411 LLFontGL::render optimizations #2
2024-09-04 10:16:46 +03:00
Andrey Kleshchev
4ae1de1f8a
viewer#2411 LLFontGL::render optimizations
2024-09-04 10:16:46 +03:00
Rye Mutt
7e58f089a8
Merge pull request #2466 from RyeMutt/smaa
...
Introduce SMAA and rework post process chain for better visual quality
2024-08-29 16:29:36 -07:00
Rye Mutt
958afaa7a7
Integrate SMAA and rework post process chain for better visual quality
...
Add SMAA buffer generation passes
Add quality levels for both FXAA and SMAA
Separate gamma correction and tonemapping for effects that require linear-but-tonemapped inputs
Move application of noise to final render pass to screen to avoid damaging other post process effects
2024-08-29 17:24:50 -04:00
Brad Linden
ecf3002a46
Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into develop
2024-08-29 13:32:34 -07:00
Rye Mutt
3a73748929
Remove dead texunit colorspace conversion code
2024-08-29 16:32:15 -04:00
Dave Parks
f8d48f6a29
#2432 Restore default nametag behavior. ( #2444 )
...
After instrumenting nametags some more, really UI rendering performance improvements should just focus on LLFontGL::render
2024-08-28 14:49:13 -05:00
Dave Parks
8406d1052c
#2428 Fix for crash when applying PBR material ( #2430 )
...
Also attempt to fix some occasional bad texture memory tracking.
2024-08-27 09:53:54 -07:00
Rye Cogtail
436e986893
Fix mac crash on startup due to missing types from enum
2024-08-24 00:55:34 -04:00
Rye Cogtail
2ca193ce46
Improve FXAA quality and performance when GL version is greater then 4
...
Adds gather4 support under GLSL 4.0+
2024-08-24 00:55:34 -04:00
Rye Mutt
cbca178256
Add Contrast Adaptive Sharpening post process effect( #2399 )
2024-08-24 00:55:32 -04:00
Alexander Gavriliuk
1cc1872c76
#2393 BugSplat Crash #1504586 : LLRenderTarget::getTexture(483)
2024-08-22 18:47:44 +02:00
Rye Mutt
28331b2385
Do deprecated texture swizzle on GPU using GL texture swizzling functions ( #2389 )
...
* Use GL texture swizzling instead of scratch buffer for deprecated formats when GL 3.3 is available
Fix crash when GL texture compression is enabled
* Fix UI font atlas being eligible for texture compression
2024-08-22 10:25:25 -05:00
Dave Parks
0e59ed204f
Fix crash on Intel GPUs (or anywhere OpenGL compatibility profile is used). ( #2387 )
2024-08-21 14:36:18 -05:00
Rye Mutt
db84bf9567
Improve accuracy of texture memory tracking ( #2371 )
...
* Fix alloc_tex_image to account for more missing texture memory
Change alloc_tex_image calls to pass internal format to properly account for used image type
* Fix scaleDown passing primary format in place of internal format to glTexImage2D
* Make texture debug view and texture bias calculation consistent and remove double accounting for render target textures
2024-08-21 09:47:31 -05:00
Dave Parks
ed6732eda8
#2315 Ensure textures are deleted when they are no longer referenced. ( #2343 )
...
* #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-20 06:59:07 -05:00
cosmic-linden
d696010cea
Merge pull request #2210 from secondlife/v-1883
...
secondlife/viewer#1883 : Local-only PBR terrain paintmap with developer tools
2024-08-13 10:34:35 -07:00
Alexander Gavriliuk
17f7b439d6
#1922 Make PBR scale and offset crosshair work like Texture crosshair do
2024-08-08 13:40:23 +02:00
Cosmic Linden
6aa9110b2a
secondlife/viewer#1883 : Local-only PBR terrain paintmap with developer tools
2024-08-06 16:28:47 -07:00
Rye Mutt
75455d101c
Convert LLUI and LLRender2D to LLSimpleton to reduce overhead during ui draw ( #2202 )
2024-08-06 16:21:19 +03:00
Rye Mutt
604cb4cb4d
Reduce utf8 to wstring conversion and llwstring temporaries during text draw ( #2115 )
2024-07-26 13:19:34 +03:00
Rye Mutt
e101d1aa28
Fix excessive clearing of shader cache when toggling mirrors ( #1950 )
2024-07-09 19:51:02 -05:00
Rye Mutt
2a7030992f
Update tracy profiler to 0.10 ( #1946 )
2024-07-09 16:53:43 -05:00
Andrey Lihatskiy
f56ef28ccf
Merge pull request #1944 from Ansariel/develop_c4244
...
Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now
2024-07-09 00:42:36 +03:00
Ansariel
9fdca96f8b
Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now
2024-07-08 20:27:14 +02:00
Alexander Gavriliuk
d0173ac7fc
#1931 Terminate AppViewer immediately in case of initialization failed
2024-07-08 12:16:32 +02:00
Alexander Gavriliuk
9ddf64c651
#1931 BugSplat Crash: SecondLifeViewer!LLRenderTarget::release(387)
2024-07-06 08:38:17 +02:00
Dave Parks
08b933a0c6
#1870 Tune up for better experience on integrated intel with low memory ( #1872 )
...
* More deterministic vsize calculation. Add control for choosing downscale method.
* Quick hack to make GLTF preview work again
2024-07-03 17:42:24 -05:00
Dave Parks
ab87978cbc
1836 dont store texture in system memory unless absolutely necessary ( #1843 )
...
* #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-27 13:12:43 -05:00
Dave Parks
80ea30af1a
#1769 gltf optimization pass ( #1816 )
...
#1814 and #1517 Fix mirror update rate and occlusion culling
2024-06-21 13:13:08 -05:00
Brad Linden
4e593dcded
Merge pull request #1797 from secondlife/release/maint-a
...
merge release/maint-a into develop and close maint-a
2024-06-18 11:48:37 -07:00
Dave Parks
375555012f
1736 audit texture image unit usage on os x ( #1739 )
...
* #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-14 17:06:07 -05:00
Ansariel
15b3c9f164
Fix a few merge issues
2024-06-13 02:22:03 +02:00
Brad Linden
8444cd9562
Fix whitespace pre-commit hook failures
2024-06-12 13:51:21 -07:00
Brad Linden
d12c897bfc
Merge remote-tracking branch 'origin/project/gltf_development' into brad/maint-a-merge-to-gltf-dev
...
# Conflicts:
# indra/newview/gltf/primitive.cpp
2024-06-12 10:31:27 -07:00
Andrey Kleshchev
148786999d
viewer#1698 Uniform being out of range shouldn't crash viewer
2024-06-12 18:12:35 +03:00
Dave Parks
f40fbdf4ad
#1718 Add GLTF support for multiple texcoords ( #1720 )
...
* Fix for GLTF MeshPrimitiveModes test
2024-06-11 17:10:13 -05:00
Dave Parks
429c92ad75
#1687 Add support for KHR_texture_transform ( #1717 )
2024-06-11 13:27:54 -05:00
Ansariel
1ebf62e102
Clean up line endings that got mangled up during last merge
2024-06-11 15:40:09 +02:00
Ansariel
d9789bfaf2
Merge branch 'main' of https://github.com/secondlife/viewer into 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
2024-06-11 13:38:43 +02:00
Brad Linden
7c42711ca3
Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into project/gltf_development
2024-06-10 16:22:12 -07:00
Andrey Lihatskiy
c95b4bf3ea
Post-merge - trim trailing whitespace
2024-06-10 20:45:59 +03:00