summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-11SL-17005: (WIP) (Debug) Add logging and debug settings to assist in ↵Cosmic Linden
understanding Windows 8 failure modes. Most of this should be removed later
2022-08-09SL-17005: (WIP) (DEBUG) Add logging for graphics adaptersCosmic Linden
2022-08-09SL-17005: Fix crash in initDX when no factoryCosmic Linden
2022-06-18Merged in SL-17485-b (pull request #1023)Howard Stearns
Make teamcity builds happy by not referencing a newview global from an llcommon file
2022-06-17SL-17485-b - Attempt to make teamcity builds happy by not referencing a ↵Howard Stearns
newview global from an llcommon file.
2022-06-17Merged in SL-17485-a (pull request #1021)Howard Stearns
SL-17485-a - remove xcode compiler flag not supported on current teamcity build host
2022-06-17SL-17485-a - remove xcode compiler flag not supported on current teamcity ↵Howard Stearns
build host
2022-06-17Merged in SL-17485 (pull request #1016)Howard Stearns
SL-17485 - MacOS memory accounting Approved-by: Dave Parks
2022-06-13Merge branch 'DRTVWR-564' of bitbucket.org:lindenlab/viewer into SL-17485Howard Stearns
2022-06-13SL-17485 - Make mac compiler happier.Howard Stearns
2022-06-13SL-17485 - Provide corrected missing memory data on mac: ↵Howard Stearns
sAllocatedPageSizeInKB, sAllocatedMemInKB, sAvailPhysicalMemInKB, sMaxPhysicalMemInKB
2022-06-13SL-17485 - mac getVramSize should return all vram, not just ↵Howard Stearns
texture-specific, and use to compute getAvailableVRAMMegabytes.
2022-06-13Merged in sl-17483 (pull request #1014)Nat Linden
SL-17483: Make LLImageDecodeThread a facade for LL::ThreadPool. Approved-by: Dave Parks
2022-06-13SL-17483: Per review feedback, avoid LLPointer refcount twiddlingNat Goodspeed
when passing LLPointers into functions. Only increment the refcount when storing in new ImageRequest.
2022-06-09SL-17483: Add integration test for CommonControlNat Goodspeed
and for LLViewerControlListener, to which it talks. Fix glitches detected by the tests.
2022-06-09SL-17483: Let one override keyword into your class...Nat Goodspeed
and all the rest require it, too.
2022-06-09SL-17483: Merge branch 'DRTVWR-563' of viewer into sl-17483Nat Goodspeed
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-08SL-17005 Tweak target VRAM usage and add some log spam to help zero in on ↵Dave Parks
good targets.
2022-06-07Merge branch 'DRTVWR-563' of bitbucket.org:lindenlab/viewer into DRTVWR-563Dave Parks
2022-06-07SL-17547 Fix for crash on shutdown cleaning up LLLFSThreadDave Parks
2022-06-07Merged in SL-17489 (pull request #1010)Sabrina Shanman
SL-17489 Approved-by: Dave Parks
2022-06-07SL-17547 Fix for crash on shutdown introduced in last commit.Dave Parks
2022-06-07SL-17547 Fix for crash in getCurrentDiscardLevelForFetching (and add runtime ↵Dave Parks
check and assertion to avoid crash in production and detect crash in development).
2022-06-07SL-17489: Fix map tile log spam and resulting excessive invalid texture ↵Cosmic Linden
requests. This was affecting map tiles that the agent is not allowed to see (HTTP error: 403 forbidden). The URLs of these map tile requests were then getting cleared, so when these map tiles were re-requested (up to 10 times per second, from LLViewerFetchedTexture::updateFetch), the request would use the wrong URL and get a 404. Stay in DONE state if there is no new work to do, reducing unneeded requests for textures while leaving open the possibility to re-request a texture at different resolution. Alternatively, we could introduce a new FAILED state here. The current DONE state has nuance, and can either mean "texture loading failed" or "texture successfully loaded at a certain LOD." And a 4xx error is generally irrecoverable. Will strongly consider a FAILED state. Also, don't clear the map URL, so that any future network requests for the map textures request the correct resource.
2022-06-06SL-17486 Force desired discard level to 0 for high boosted textures (fix for ↵Dave Parks
fuzzy terrain textures etc).
2022-06-06SL-17489: Improve warning message for fetching texture with improper URLCosmic Linden
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