summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-09SL-17483: Recast LLImageDecodeThread as a facade for ThreadPool.Nat Goodspeed
Remove all references to LLQueuedThread (but emulate a couple bits of its API such as handle_t and getPending()). Migrate ImageRequest into llimageworker.cpp. It has never been part of LLImageDecodeThread's public API. Remove ImageRequest tests. Remove all references to LLImageDecodeThread::pause(). The idea of pausing another thread is bizarre to me, and LLThreadPool has no such operation. Nor does it have an abortRequest().
2022-06-09SL-17483: Merge branch 'track-threadpools' into sl-17483.Nat Goodspeed
This picks up ThreadPoolSizes override logic embedded in ThreadPool's constructor, plus the new static ThreadPool::getConfiguredWidth() and getWidth() methods.
2022-06-09SL-17483: Fix ThreadPool::getConfiguredWidth() compile error.Nat Goodspeed
Log ThreadPoolSizes at DEBUG level, not INFO.
2022-06-09SL-17483: Simplify ThreadPool instantiations.Nat Goodspeed
Now that LL::ThreadPool's constructor has subsumed the work of discovering a runtime override width, LLAppViewer::initGeneralThread() can simply pass the compile-time default width instead of redundantly checking ThreadPoolSizes. Also the default ThreadPool capacity has been bumped up to what "General" and "LLImageGL" were requesting, so they need not pass that explicitly or explain in comments why they're doing it. But until we start throwing work at the "General" ThreadPool, configure it down to 1 thread in settings.xml.
2022-06-09SL-17483: Make it possible to override width of any ThreadPool.Nat Goodspeed
Introduce CommonControl, which in a running viewer (or any program containing an LLViewerControlListener instance) gives access to LLViewerControl functionality, e.g. getting, setting or enumerating control variables -- without introducing a link dependency on newview. Make ThreadPool's constructor consult CommonControl to check for an override for the width of the new ThreadPool in the Global (i.e. gSavedSettings) setting ThreadPoolSizes, and honor that if found. Introduce static ThreadPool methods getConfiguredWidth(), to query for such an override on any particular ThreadPool name; and getWidth(), to ask for the width of an instance if that instance already exists, else the width with which it *would* be instantiated.
2022-06-09SL-17483: Make ThreadPool inherit LLInstanceTrackerCosmic Linden
(cherry picked from commit 41d6a0e222241606c317281e2f0b211e16813dd5)
2022-06-01SL-17485 Remove unused members to make mac build happy.Dave Parks
2022-06-01SL-17485 Add texture memory accounting for OS XDave Parks
2022-06-01SL-17484 More unit test pruning. Fix for crash when deleting textures.Dave Parks
2022-05-31SL-17484 Fix for unit tests. Deprecate non-threaded LLQueuedThread and make ↵Dave Parks
lllfsthread threaded.
2022-05-31SL-17490 Only update a subset of textures each frame and remove dead debug code.Dave Parks
2022-05-31SL-17490 Update TracyDave Parks
2022-05-25Increment viewer version to 6.6.1Nat Goodspeed
following promotion of DRTVWR-546
2022-05-24SL-17484 Unit test build fix (remove priority parameters).Dave Parks
2022-05-24SL-17486 Fix for many texture types failing to load.Dave Parks
2022-05-24SL-17484 Build fix.Dave Parks
2022-05-24Merged in SL-17219 (pull request #992)Dave Parks
SL-17219
2022-05-24Merged DRTVWR-563 into SL-17219Dave Parks
2022-05-19SL-17451 Fix for erroneous attempt to apply vertex color alpha to texture ↵Dave Parks
before alpha masking (we don't actually support this and the vertex color alpha is sometimes zero when you think it ought not be).
2022-05-18SL-17449 Fix for Alexa's hairDave Parks
2022-05-18SL-17417 Fix for incorrect reflection orientation on fullbright prims.Dave Parks
2022-05-18SL-17219: Merge 'DRTVWR-546' of lindenlab/viewer into SL-17219Nat Goodspeed
Update task branch from main project branch.
2022-05-17Merge branch 'DRTVWR-546' of ssh://bitbucket.org/lindenlab/viewer into ↵Dave Parks
DRTVWR-546
2022-05-17SL-17421 Fix for fullbright alpha mask shader ignoring vertex alphaDave Parks
2022-05-17SL-17415 Movement of scripted attached objects is no longer interpolated.Andrey Kleshchev
2022-05-16SL-17417 Fix for incorrect reflection orientation on some moving child prims.Dave Parks
2022-05-11SL-17356 Viewer changes for Premium Plus supportAndrey Lihatskiy
2022-05-10SL-17219: Delete some unused declarations.Nat Goodspeed
These trigger fatal warnings on Mac.
2022-05-10SL-17219: Fix bug: dangling pointer to destroyed std::string.Nat Goodspeed
2022-05-10SL-17219: Mark LLWindowHeadless virtual overrides 'override'.Nat Goodspeed
Also LLSplashScreenHeadless methods. Without this Mac builds fail.
2022-05-10SL-17219: LLWindowMacOSX needs getAvailableVRAMMegabytes().Nat Goodspeed
This is just a placeholder, but without it the viewer won't even build on Mac.
2022-05-10SL-17219: WorkQueue::tryPost() must call ThreadSafeSchedule::tryPush().Nat Goodspeed
We inadvertently changed tryPost() to call ThreadSafeSchedule::tryPost(), which doesn't exist.
2022-05-10SL-17376 Do not fail build if vcruntime140_1 is missingAndrey Kleshchev
If there is no vcruntime140_1 in the build system, it is likely that file is not required for the viewer to run.
2022-05-09SL-17376 Fix viewer failing due to missing vcruntime140_1Andrey Kleshchev
2022-05-06SL-17375 Crash at LLViewerOctreeEntry::getSpatialExtents()Andrey Kleshchev
access violation, 'this' was null
2022-05-05SL-17244 Fix 'empty leaf' crashesAndrey Kleshchev
2022-05-04Merge branch master (D550) into DRTVWR-546Andrey Kleshchev
# Conflicts: # indra/newview/llappviewer.h
2022-05-04Increment viewer version to 6.5.6Nat Goodspeed
following promotion of DRTVWR-550
2022-05-02SL-17321 Fix for some particle systems with custom blend functions not ↵Dave Parks
rendering.
2022-04-29SL-17124 make sure window thread wakes up to proces 'quit' messageAndrey Kleshchev
2022-04-29SL-17124 switchContext and loadShaderFile crashesAndrey Kleshchev
- Do not try initializing shaders if requirements are not met or if window does not exist - Warn user before closing window. Situation is unexpected, there is chance of more issues, like a freeze or a crash on close() - mHasMultitexture is a solid requirement, if it is not present, we won't be able to run
2022-04-28SL-16721 Crash at LLVOAvatar::idleUpdateMiscAndrey Kleshchev
2022-04-28SL-17301 FIXED Friends are not showing in friendslistMnikolenko Productengine
2022-04-26SL-17276 Potential fix for crash on shutdown on mac.Dave Parks
2022-04-26SL-17086 Fix for bad lighting in upload preview render.Dave Parks
2022-04-25SL-17239 Override face bounding box with avatar bounding box for rigged ↵Dave Parks
meshes when calculating virtual size.
2022-04-25SL-17223 fix unit tests with new method stub implementationBrad Kittenbrink
2022-04-25SL-17236 For real this time, maintain legacy draw order of alpha rigged ↵Dave Parks
meshes, batching be damned.
2022-04-25Fix for SL-17223 save mfa_hash protected store immediately so it doesn't get ↵Brad Kittenbrink
lost in case of crash
2022-04-21SL-17040 Crash due to LLWord not existingAndrey Kleshchev
LLWord should persist till the end due to wide usage.