Commit Graph

46265 Commits (1a437cbedf94de90d749f426dde09f2466693de2)

Author SHA1 Message Date
Brad Kittenbrink 5b76111b27 tinygltf updated with new public build for SL-17214 2022-06-09 10:02:49 -07:00
Nat Goodspeed 50dca86f64 SL-17483: Recast LLImageDecodeThread as a facade for ThreadPool.
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-09 12:06:23 -04:00
Dave Parks 125b099298 VS2019 build fix 2022-06-09 11:02:21 -05:00
Nat Goodspeed 0bf91fc141 SL-17483: Merge branch 'track-threadpools' into sl-17483.
This picks up ThreadPoolSizes override logic embedded in ThreadPool's
constructor, plus the new static ThreadPool::getConfiguredWidth() and
getWidth() methods.
2022-06-09 11:22:01 -04:00
Nat Goodspeed 1ff79a430d SL-17483: Fix ThreadPool::getConfiguredWidth() compile error.
Log ThreadPoolSizes at DEBUG level, not INFO.
2022-06-09 11:19:21 -04:00
Nat Goodspeed 276647789a SL-17483: Simplify ThreadPool instantiations.
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-09 10:36:13 -04:00
Nat Goodspeed ac99e979f4 SL-17483: Make it possible to override width of any ThreadPool.
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-09 10:18:29 -04:00
Cosmic Linden ef87eb7fa8 SL-17483: Make ThreadPool inherit LLInstanceTracker
(cherry picked from commit 41d6a0e222241606c317281e2f0b211e16813dd5)
2022-06-09 09:54:39 -04:00
Dave Parks d8ffaf20be Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-06-08 17:49:20 -05:00
Dave Parks 5f606069e2 SL-17285 Fix for probe influence volume combo box not applying. 2022-06-08 17:48:58 -05:00
Dave Parks da069765b1 SL-17005 Tweak target VRAM usage and add some log spam to help zero in on good targets. 2022-06-08 16:24:03 -05:00
Andrey Kleshchev ababcc700c SL-17532 Ability to pick inventory image as a profile image 2022-06-09 00:22:02 +03:00
Euclid Linden 4ee387f971 Merged in euclid-gltf-17214 (pull request #1013)
Add tinygltf import library, and partial gltf loader implementation.

Approved-by: Brad Kittenbrink
2022-06-08 20:46:33 +00:00
Dave Houlton d3219f57c1 SL-17214 remove some dae clutter from gltf header 2022-06-08 13:33:59 -06:00
Dave Houlton 2dc376aa53 SL-17214 add 3p-tinygltf dependency to autobuild.xml 2022-06-08 13:33:59 -06:00
Dave Houlton c9ebb970ee SL-17214 re-work gltf data organization 2022-06-08 13:33:59 -06:00
Dave Houlton adaaccd3d7 SL-17214 additional glTF validation, remove dead code from DAE loader 2022-06-08 13:33:59 -06:00
Dave Houlton 8c0163bcb4 SL-17214 initial loader class skeleton 2022-06-08 13:33:59 -06:00
Andrey Kleshchev 2efd6727c1 SL-17546 Fix 'release' configuration build tests 2022-06-08 19:47:37 +03:00
Andrey Kleshchev 8ef8497add SL-17532 Cap image size for profile image preview 2022-06-08 19:36:29 +03:00
Andrey Kleshchev 96d717d17b SL-17532 Make names selectable 2022-06-08 19:17:19 +03:00
Michael Pohoreski d385c73b6e Merged in ptolemy_fix_fullbright_shiny (pull request #1011)
DRTVWR-559: Fix fullbrightShiny not compiling on AMD due to type mismatch

Approved-by: Dave Parks
2022-06-07 23:17:49 +00:00
Ptolemy 0837b65fdd DRTVWR-559: Fix fullbrightShiny not compiling on AMD due to type mismatch 2022-06-07 16:14:54 -07:00
Dave Parks b879c6f3f1 Merge branch 'DRTVWR-563' of bitbucket.org:lindenlab/viewer into DRTVWR-563 2022-06-07 17:27:47 -05:00
Dave Parks 039c6689c9 SL-17547 Fix for crash on shutdown cleaning up LLLFSThread 2022-06-07 17:27:29 -05:00
Sabrina Shanman a4fc01f410 Merged in SL-17489 (pull request #1010)
SL-17489

Approved-by: Dave Parks
2022-06-07 21:19:57 +00:00
Dave Parks 99189ff2d5 SL-17547 Fix for crash on shutdown introduced in last commit. 2022-06-07 15:24:40 -05:00
Dave Parks 197baebc62 SL-17547 Fix for crash in getCurrentDiscardLevelForFetching (and add runtime check and assertion to avoid crash in production and detect crash in development). 2022-06-07 15:12:58 -05:00
Andrey Kleshchev 314d086814 SL-17546 Do not launch updater for a non-interactible instance 2022-06-07 22:21:07 +03:00
Cosmic Linden 7908ae701f SL-17489: Fix map tile log spam and resulting excessive invalid texture 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-07 12:17:15 -07:00
Andrey Kleshchev 206892fe9e SL-17532 Apply padding after 'partner' 2022-06-07 21:00:56 +03:00
Andrey Kleshchev 537941a812 SL-15312 Mac build fix 2022-06-07 16:53:34 +03:00
Dave Parks 5259fa811c SL-17486 Force desired discard level to 0 for high boosted textures (fix for fuzzy terrain textures etc). 2022-06-06 21:12:48 -05:00
Andrey Kleshchev 111d1d7c94 SL-15312 Fixed group names not having padding
Plus some focus and interactibility fixes
2022-06-07 02:18:22 +03:00
Cosmic Linden a562f6fe51 SL-17489: Improve warning message for fetching texture with improper URL 2022-06-06 14:59:29 -07:00
Andrey Kleshchev 0c6afa58de SL-15312 Larger image preview
At the moment without cursor handling
2022-06-06 18:55:33 +03:00
Andrey Kleshchev c4aa8b1636 SL-15312 Header fixes
fixed 'remove_proto' being active even if there is no photo.
2022-06-06 18:52:45 +03:00
Andrey Kleshchev c88e30736b SL-15312 Updated sl bio layout 2022-06-04 23:33:18 +03:00
Andrey Kleshchev 4f92a3222e SL-15312 Updated picks's layout
- better emphasis onto saving
- better resize logic
- ability to discard changes
2022-06-04 22:27:04 +03:00
Andrey Kleshchev 3f51644466 SL-15312 Updated classified's layout
- better emphasis onto publsihing/saving button
- better resize logic
2022-06-03 20:30:39 +03:00
Dave Parks a185fae28d SL-17285 Build fix take two. 2022-06-03 11:36:37 -05:00
Dave Parks 619fb2eed5 SL-17285 Build fix (coding policy needs last line to be blank). 2022-06-03 10:14:45 -05:00
Mnikolenko Productengine ff65e23f20 SL-17515 FIXED Extreme Mouse Sensitivity for Certain Actions 2022-06-03 14:08:04 +03:00
Dave Parks 78f966b5db Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-06-02 18:43:06 -05:00
Dave Parks 220afbcda0 SL-17285 Add proper reflection probe support to LLVOVolume, LLPrimitive, and LLPanelVolume 2022-06-02 18:42:38 -05:00
Andrey Kleshchev 6354a053e3 SL-15312 Show user's sl birthday 2022-06-03 02:10:30 +03:00
Andrey Kleshchev 90e8cc630d SL-17505 Preview should be displaying rigged attachments only 2022-06-02 22:21:44 +03:00
Andrey Kleshchev 3efe64619b SL-15312 Confirm usaved changes dialog when closing floater 2022-06-02 00:20:30 +03:00
Andrey Kleshchev d7459d87e0 SL-15312 Reverted accidentally deleted slurl handling 2022-06-02 00:20:30 +03:00
Dave Parks f4473528eb SL-17485 Remove unused members to make mac build happy. 2022-06-01 11:31:45 -05:00