summaryrefslogtreecommitdiff
path: root/indra/llrender
AgeCommit message (Collapse)Author
2022-12-09SL-18809: Merge 'DRTVWR-559' of secondlife/viewer into sl-18809Nat Goodspeed
2022-12-09SL-18809: Add WorkSchedule; remove timestamps from WorkQueue.Nat Goodspeed
For work queues that don't need timestamped tasks, eliminate the overhead of a priority queue ordered by timestamp. Timestamped task support moves to WorkSchedule. WorkQueue is a simpler queue that just waits for work. Both WorkQueue and WorkSchedule can be accessed via new WorkQueueBase API. Of course the WorkQueueBase API doesn't deal with timestamps, but a WorkSchedule can be accessed directly to post timestamped tasks and then handled normally (e.g. by ThreadPool) to run them. Most ThreadPool functionality migrates to new ThreadPoolBase class, with template subclass ThreadPoolUsing<WorkQueue> or ThreadPoolUsing<WorkSchedule> depending on need. ThreadPool is now an alias for ThreadPoolUsing<WorkQueue>. Importantly, ThreadPoolUsing::getQueue() delivers a reference to the specific queue subclass type, so you can post timestamped tasks on a queue retrieved from ThreadPoolUsing<WorkSchedule>::getQueue(). Since ThreadPool is no longer a simple class but an alias for a particular template specialization, introduce threadpool_fwd.h to forward-declare it. Recast workqueue_test.cpp to exercise WorkSchedule, since some of the tests are time-based. A future todo would be to exercise each applicable test with both WorkQueue and WorkSchedule.
2022-12-06SL-18785 Fix for corrupt reflection probes on various preference changes. ↵Dave Parks
Add UI for Screen Space Reflections.
2022-11-28Merge remote-tracking branch 'origin/DRTVWR-528' into DRTVWR-559Brad Kittenbrink
2022-11-28Merge remote-tracking branch 'origin/main' into DRTVWR-528Brad Kittenbrink
2022-11-18SL-18669 Fix for broken lighting on transparent faces. Optimize handling of ↵Dave Parks
"bindDeferredShader" and shadow map setup.
2022-11-17SL-18154 Profile guided optimizations -- remove some unneeded operations and ↵Dave Parks
make LLDrawPoolMaterials less branchy.
2022-11-16SL-18154 Profile guided optimizations vs release viewer. Trim some unused ↵Dave Parks
abilities and remove some more fast timers.
2022-11-14Merged in SL-18332 (pull request #1194)Jonathan Goodman
First pass of Screen Space Reflections Approved-by: Dave Parks
2022-11-14SL-18485 Cleanup -- remove unused GLTF specific vertex attributes from ↵Dave Parks
LLVertexBuffer (blows past 16-attribute limit)
2022-11-02SL-18485: Render GLTF materials with extension KHR_texture_transform with ↵Cosmic Linden
approprate texture transforms
2022-10-31SL-18483 Work around for crash on AMD when using glGenerateMipmap on cubemap ↵Dave Parks
array.
2022-10-21Merge branch 'master' (DRTVWR-548) into DRTVWR-559Andrey Kleshchev
# 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-12SL-18190 Remove water reflection detail combo box and reimplement ↵Dave Parks
"Transparent Water" checkbox.
2022-10-11SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), ↵Dave Parks
remove some unused glsl files.
2022-10-10Merged DRTVWR-559 into SL-18290Jonathan Goodman
2022-10-06SL-18190 Water shader WIP. Better parallax correction for sphere probes. ↵Dave Parks
Reduce probe memory footprint. Remove framebuffer copies and move to deprecate stencil buffer usage.
2022-10-06Merged DRTVWR-559 into SL-18290Jonathan Goodman
2022-10-06Switch away from std::stringGeenz Linden
API expects const char* anyways.
2022-10-05Initial pass at adding KHR_debug supportGeenz
This still needs some work - I'm not super satisfied with the overall structure of the code. Will continue to iterate as I add in proper RenderDoc support.
2022-10-05SL-18190 WIP - Add refraction to water without splitting scene between above ↵Dave Parks
and below water
2022-10-04SL-18293, SL-18190 -- Fix for debug displays not showing up (wireframe still ↵Dave Parks
busted). WIP on reflection probe/PBR driven water shader.
2022-09-29SL-18190 Fix for haze color being completely wrong (now it's just half wrong).Dave Parks
2022-09-28SL-18190 Prune srgb_to_linear from atmosphericsFuncs.glslDave Parks
2022-09-27SL-18190 WIP -- Take 2 on linear space windlight (more methodical approach ↵Dave Parks
-- make desired interface but brute force color conversions). Placeholder PBR water and move to deprecate forward rendering shaders.
2022-09-23SL-18190 Reduce banding - experiment with RGB16F reflection probesDave Parks
2022-09-22SL-17705 Backwards compatibility pass. Support OpenGL pre-4.0 by disabling ↵Dave Parks
reflection probes and anti-aliasing. Get render parity with current release viewer when reflection probes are disabled.
2022-09-20SL-18190 Reduce banding (stay in linear space as much as possible, increase ↵Dave Parks
precision of reflection probes). Faster radiance and irradiance map generation.
2022-09-20SL-18190 Don't allocate mips for irradiance maps because they're never ↵Dave Parks
generated. Disable OpenGL core profile on Intel by default.
2022-09-19Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into ↵Dave Parks
DRTVWR-559
2022-09-19SL-18190 Faster better stronger radiance/irradiance mapsDave Parks
2022-09-19SL-18128, SL-18128 - No glerror on Mac!Howard (Aech Linden) Stearns
2022-09-17WIP - switch PBR implementationsDave Parks
2022-09-16Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into ↵Dave Parks
DRTVWR-559
2022-09-16SL-18128 Clear out much OpenGL cruft and switch to core profile on AMDDave Parks
2022-09-16Merge branch master (DRTVWR-571) into DRTVWR-559Andrey Kleshchev
# Conflicts: # indra/newview/llpanelface.cpp # indra/newview/llpanelface.h
2022-09-15Merge branch 'master' into DRTVWR-548-maint-NAndrey Lihatskiy
# Conflicts: # indra/newview/llmodelpreview.h
2022-09-14SL-17701 Fix for crash on AMD WHQL drivers.Dave Parks
2022-09-13SL-17701 WIP -- Parity for point lights between opaque and transparent PBR ↵Dave Parks
materials
2022-09-06SL-17967 - remove some debug/devel codeHoward Stearns
2022-09-02SL-17967 Fix for confounding program and shader objects when fetching logs ↵Dave Parks
and fix for gl errors on AMD windows
2022-09-02Merge branch 'SL-17967' of ssh://bitbucket.org/lindenlab/viewer into SL-17967Dave Parks
2022-09-02SL-17967 Purge OpenGL extensions (use core API only)Dave Parks
2022-09-02SL-17967 - bad copypastaHoward Stearns
2022-09-02SL-17967 - slightly more meaningful ogl error reportingHoward Stearns
2022-09-01SL-17967 - block layout binding acceptable to appleHoward Stearns
2022-09-01SL-17967 - _ARB constant removalHoward Stearns
2022-09-01SL-17967 - Git rid of ARB that is in coreHoward Stearns
2022-08-30Merge branch 'DRTVWR-559' of bitbucket.org:lindenlab/viewer into initscapadeHoward Stearns
2022-08-30Merge remote-tracking branch 'remotes/origin/DRTVWR-563' into DRTVWR-559Dave Parks