summaryrefslogtreecommitdiff
path: root/indra/llrender
AgeCommit message (Collapse)Author
2024-11-06Re-introduction of the "smoothie" optimizationmobserveur
This commit replaces the LL optimizations for Macs with Apple gpus by the "Smoothie" optimizations, and replaces the tuning panel with a simple fps limiter panel. This should fix the crash occurring in extraFPS when the viewer goes in the background.
2024-10-31Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-28viewer#2883 Regenerate font's matrix and depth instead of loadingAndrey Kleshchev
to fix issues with nametags and window resizes
2024-10-28viewer#2883 Account for DPI changesAndrey Kleshchev
2024-10-21Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-20viewer#2741 Don't reallocate image conversion buffer all the timeAndrey Kleshchev
2024-10-19Further revert llrender to LL'sErik Kundiman
This might fix the black screen problem on Apple GPU.
2024-10-18Merge branch 'main' into 2024.09-ExtraFPSErik Kundiman
2024-10-18Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-18Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
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-10-05viewer#2741 Sligtly better logging for a crashAndrey Kleshchev
2024-10-03viewer#2709 Fix loose triangle #2Andrey Kleshchev
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-26viewer#2709 Fix loose triangleAndrey Kleshchev
2024-09-26#2411 Allow disabling and enabling LLFontVertexBufferAndrey Kleshchev
for testing purposes
2024-09-19Merge branch 'develop' into frame-profile-jsonNat Goodspeed
2024-09-19Reapply commit f4b6563 -- cherry-picking lost parts of it?!Nat Goodspeed
2024-09-19Expose LLVector4a in LLRenderAndrey Kleshchev
Avoid using a bunch of allocators. Make sure we use LLVector4a's SSE logic instead of LLVector3's. Some minor optimizations.
2024-09-18Give `LLGLSLShader::finishProfile()` a static default string param.Nat Goodspeed
`finishProfile()` is called at least once within a `__try` block. If we default its `report_name` parameter to a temporary `std::string`, that temporary must be destroyed when the stack is unwound, which `__try` forbids. (cherry picked from commit c6e6f44f50b4de391000c5b9f781a2f0a5024e76)
2024-09-18Make Develop->Render Tests->Frame Profile dump JSON to a file too.Nat Goodspeed
Make `LLGLSLShader::finishProfile()` accept a string pathname instead of a bool and, in addition to logging statistics to the viewer log, output statistics to that file as JSON. The calls that used to pass `emit_report=false` now pass `report_name=std::string()`. Make llviewerdisplay.cpp's `display()` function synthesize a profile filename in the viewer's logs directory, and pass that filename to `LLGLSLShader::finishProfile()`. (cherry picked from commit d5712689d36a1ee1af32242706901fde7229b08d)
2024-09-18Remove quads rendering mode entirely (#2593)Ansariel Hiller
2024-09-18More quad to triangle coverageAndrey Kleshchev
Quads are deprecated
2024-09-18Convert image drawing logic from quads to trianglesAndrey Kleshchev
2024-09-17#2590 Fix for horrible FPS on Intel Mac (#2591)Dave Parks
* Work around for GHA mac runners not playing nice with Tracy * Delay VBO deletion for a few frames * Enable multithreaded GL driver and multithreaded media textures on Apple silicon
2024-09-16Profile guided optimization pass (#2582)Dave Parks
- Tune up LLJointRiggingInfoTab - Visualize joint bounding boxes when visualizing joints - Use LLJointRiggingInfo to caclulate desired resolution of a texture - Throttle calls to calcPixelArea - Fetch MeshSkinInfo immediately when header is received
2024-09-13Clean up Windows build (#2562)Ansariel Hiller
* APR_DECLARE_STATIC and APU_DECLARE_STATIC gets already defined in APR.cmake * Move both _CRT_SECURE_NO_WARNINGS and _WINSOCK_DEPRECATED_NO_WARNINGS definitions to 00-Common.cmake * Always define WIN32_LEAN_AND_MEAN and include subset of Windows API by default * Remove llwin32headerslean.h and remove unnecessary WIN32_LEAN_AND_MEAN definition handling in llwin32headers.h * Clean up includes of Windows API headers * Get rid of workaround to link against IPHLPAPI.lib in lluuid.cpp - this seems to have been an issue in the past that has been fixed
2024-09-12Merge pull request #2557 from secondlife/davep-fix-mac-vbBrad Linden
OS X - Fix black screen and Tracy build
2024-09-12Replace glh_linear usage with GLM (#2554)Rye Mutt
2024-09-12Merge branch 'develop' into davep-fix-mac-vbDave Parks
2024-09-12Mac compatibility pass.Dave Parks
2024-09-12Fix warning spam from missing call to unmapBuffer introduced in #2544 (#2556)Rye Mutt
2024-09-10Profile guided optimizationsRunitaiLinden
2024-09-07Merge remote-tracking branch 'secondlife/release/2024.08-DeltaFPS' into ↵Erik Kundiman
2024.08-DeltaFPS
2024-09-05viewer#2411 Use font buffer in text segmentsAndrey Kleshchev
2024-09-04Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into developBrad Linden
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-04viewer#2411 Cleanup #2Andrey Kleshchev
2024-09-04viewer#2411 CleanupAndrey Kleshchev
2024-09-04viewer#2411 A bit more coverage for font bufferAndrey Kleshchev
2024-09-04viewer#2411 LLFontGL::render optimizations #3Andrey Kleshchev
2024-09-04viewer#2411 LLFontGL::render optimizations #2Andrey Kleshchev
2024-09-04viewer#2411 LLFontGL::render optimizationsAndrey Kleshchev
2024-09-01Merge remote-tracking branch 'secondlife/release/2024.08-DeltaFPS' into ↵Erik Kundiman
2024.08-DeltaFPS
2024-08-29Merge pull request #2466 from RyeMutt/smaaRye Mutt
Introduce SMAA and rework post process chain for better visual quality
2024-08-29Integrate SMAA and rework post process chain for better visual qualityRye Mutt
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-29Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into developBrad Linden
2024-08-29Remove dead texunit colorspace conversion codeRye Mutt