Jonathan "Geenz" Goodman
f5a25a9d6a
Add RenderTextureVRAMDivisor ( #3648 )
...
#3647 Add texture VRAM use divisor.
2025-03-05 19:06:01 -05:00
Rye
81a2813bf5
Fix media failing to function on PBR materials ( #3445 )
2025-02-03 14:49:14 -05:00
Andrey Kleshchev
783365d331
Small cleanup
2025-01-23 19:26:02 +02:00
Andrey Kleshchev
5af750a130
#3450 Crash at LLViewerMediaTexture::setPlaying
2025-01-22 16:06:30 +02:00
Andrey Kleshchev
9159922bdf
#3371 Texture resolution cap #2
2025-01-21 18:52:18 +02:00
Andrey Kleshchev
c85880aca9
#3371 Texture resolution cap
2025-01-21 18:52:18 +02:00
Andrey Kleshchev
6dc819e22a
#3364 Fix update rate being stuck high due to bias
...
if bias stays unchanged at 4.f, there is no reason to keep refreshing
at high rate.
2025-01-16 10:02:54 +02:00
Andrey Kleshchev
203ef2f8d8
#3364 Decrement bias only if there is 10prcnt free space
...
Instead of when there is any space.
2025-01-11 00:20:15 +02:00
Brad Linden
412b3db5a8
Remove unwanted notification for texture downrezing behavior ( #3233 )
...
secondlife/viewer#2549
2024-12-06 16:35:47 -08:00
Dave Parks
1120a7ccb9
#3210 Fix for "Texture will be downscaled" happening too often. ( #3212 )
2024-12-05 13:52:03 -06:00
Dave Parks
4b5d4be5a8
#3106 Lower maximum texture bias back to 4, reintroduce camera importance texture scaling ( #3207 )
2024-12-04 12:33:04 -06:00
Andrey Kleshchev
9cc343b5eb
#3093 #3055 World Map tiles are blurry #2
2024-12-03 23:33:28 +02:00
Andrey Kleshchev
79fe883ab6
viewer#3147 Thumbnail picker's image is grey #2
...
Apparently made a blunder in previous commit since I missed mFetchState
being reset each run
2024-11-27 18:29:46 +02:00
Andrey Kleshchev
38845a1e05
viewer#3147 Thumbnail picker's image is grey
...
when both thumnail and normal image attempt to fetch, one creates a
fetcher, another fails, since fetcher is already there, potentially in a
transitional state, so it thinks fetch failed.
2024-11-27 00:43:10 +02:00
Andrey Kleshchev
2d82fa2bc5
viewer#3055 Fix texture fetch being stuck
...
destroyRawImage is the only function that calls saveRawImage(), not
calling it results in fetcher thinking that it still needs data to do
the saving and looping back to trying to fetch.
2024-11-22 20:58:50 +02:00
Maxim Nikolenko
6c6b38821e
#3093 World Map tiles are blurry
2024-11-20 01:08:35 +02:00
Dave Parks
2b255535ef
2590 mac intel and radeon pro 5300m horrible fps 2 ( #3030 )
...
* OpenGL 3.3 compatibility pass. Fix for FBO driven downscaling corrupting textures.
* Increase maximum texture bias, immediately scale down when textures are loaded higher resolution than desired
* #2590 Fix for some frame stalls on Intel Macs
2024-11-12 15:26:38 -08:00
Andrey Kleshchev
8dfc1d0447
viewer#2653 LOD textures weren't taking callback discard into account
2024-10-31 14:08:35 +02:00
Brad Linden
74b0c86e48
Merge brad/2549-downrez-controls into release/2024.09-ExtraFPS ( #2864 )
2024-10-29 15:43:21 -07:00
Rye
9598e2f4ce
Fix texture discard bias not incrementing correctly due to being limited by frame interval and a timer at the same time
2024-10-29 10:16:53 -07:00
Rye
7827f66cae
Add handling for downrezzing textures when viewer is minimized, fix downrezzing textures when minimized due to texture system not processesing
2024-10-29 02:30:52 -07:00
Andrey Kleshchev
fa5aba2b67
viewer#2875 Proportionally agressive vram cleanup
2024-10-25 13:53:11 +03:00
Brad Linden
32d766cb3a
Provide affordances to disable automatic downrezing of textures when SL is in background
...
secondlife/viewer#2549
2024-10-15 16:08:58 -07:00
Andrey Kleshchev
64c055f9be
viewer#2653 fix texture readback not being called and not setting values properly
...
Ex: Saving textures to hard drive sometimes fails
2024-09-27 19:37:02 +03:00
RunitaiLinden
cde5d29faf
Profile guided optimizations
2024-09-10 18:27:45 -05:00
Brad Linden
33116ea35e
Merge pull request #2530 from secondlife/release/2024.08-DeltaFPS
...
Release/2024.08 delta fps
2024-09-09 10:28:57 -07:00
Dave Parks
1f754e5090
#2467 Fix for sim surrounds not fully loading ( #2524 )
...
Also fixes some sculpts getting wrong LoD
2024-09-06 16:39:58 -05: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
RunitaiLinden
feecf09573
#2431 Fix for redundant searching for pixeismall.j2c causing frame stalls
2024-08-27 15:59:41 -05:00
Brad Linden
124f0711af
Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into develop
2024-08-26 17:28:34 -07:00
Dave Parks
0edf6e230e
#2388 Texture downrezzing tune up. ( #2414 )
...
- Hold onto unreferenced textures for 30 seconds.
- Don't downres unless memory is low
- Downres when viewer is backgrounded.
2024-08-23 16:35:52 -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
Brad Linden
68f712615f
Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into develop
...
# Conflicts:
# autobuild.xml
# indra/newview/llvoicewebrtc.cpp
2024-08-20 09:44:14 -07: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
Brad Linden
5f26ba8014
Merge remote-tracking branch 'origin/release/webrtc-voice' into release/2024.06-atlasaurus
...
# Conflicts:
# indra/newview/llpanelpeople.cpp
2024-08-15 09:41:54 -07:00
Alexander Gavriliuk
3ca4bb6bf7
#2307 BugSplat Crash #1504734 : LLViewerTexture::getNumFaces()
2024-08-15 16:56:21 +02: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
Cosmic Linden
6aa9110b2a
secondlife/viewer#1883 : Local-only PBR terrain paintmap with developer tools
2024-08-06 16:28:47 -07:00
Andrey Kleshchev
793f5ac341
Crash at LLViewerTexture::updateClass()
2024-08-02 12:21:11 +03:00
Ansariel Hiller
47e2cc271a
Remove orphaned constants gMinVideoRam and gMaxVideoRam ( #1970 )
2024-07-10 14:02:52 +03:00
Dave Parks
e6e41e71b7
#1943 make sys free in texture console llmemorysavailphysicalmeminkb tell the truth ( #1966 )
...
* Also fix for crash when applying MoaP to PBR material
2024-07-09 15:54:18 -05: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
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
Ansariel
8804c019a8
Increase texture discard bias if system memory gets low
2024-06-26 20:38:51 +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
Ansariel
13b08c8ae1
Add more missing type casts
2024-06-10 17:17:50 +02:00
Ansariel
c0fad3028f
Re-enable compiler warnings C4018, C4100, C4231 and C4506
2024-06-10 16:42:43 +02:00
Ansariel
b42f9d836b
Re-enable a lot of compiler warnings for MSVC and address the C4267 "possible loss of precision" warnings
2024-06-01 15:49:26 +02:00