Commit Graph

483 Commits (bd008a170898e69beeb8bc0481b4bfd94de86c55)

Author SHA1 Message Date
Nat Goodspeed 218c0a1d4f Automated merge with ssh://bitbucket.org/nat_linden/viewer-llsingleton 2019-12-13 13:20:21 -05:00
AndreyL ProductEngine cd895d6e58 Merged in lindenlab/viewer-bear 2019-09-05 21:55:56 +03:00
Nat Goodspeed ff60e1049d Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2019-08-26 15:34:47 -04:00
andreykproductengine 87be5f7997 SL-4150 Rename htonmemcpy 2019-07-24 16:58:24 +03:00
Anchor 2c2bdcf348 [DRTVWR-476] - fix compiler errors 32 bit windows build 2019-06-10 15:56:44 -07:00
Nat Goodspeed ebcfbf277e Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2019-06-05 14:15:15 -04:00
Anchor 504a138cb1 Merge 2019-05-10 12:22:29 -06:00
Anchor 4b1c786c6e Merge 2019-04-10 11:47:57 -07:00
AndreyL ProductEngine 1470e82c89 Merged in lindenlab/viewer-release 2019-04-02 21:51:54 +03:00
Nat Goodspeed d2c581c344 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2018-12-28 14:46:49 -05:00
maxim_productengine 0acab8ba2d SL-10283 Allow changing "Repeats per meter" on face 6 of hollowed cube 2018-12-24 15:57:04 +02:00
andreykproductengine d9fdb948d9 SL-9747 [Mesh Uploader] Remove confusing model_metric from upload 2018-11-29 21:04:35 +02:00
Anchor 014480a79b Merge 2018-11-28 15:16:01 -08:00
AndreyL ProductEngine c21396181b Merged in lindenlab/viewer-release 2018-11-14 22:47:31 +02:00
Graham Linden 3237923e10 MAINT-3699 new shaders supporting alpha blend/mask rigged content.
Make shader loading debug logging of uniforms use ShaderUniform to make supression simpler.
2018-08-16 00:31:39 +01:00
Brad Payne (Vir Linden) 791979c553 SL-928 - in mesh upload, warn if bind shape is non-identity and skin weights are enabled. 2018-08-08 13:34:02 +01:00
Graham Linden 60d256e80f MAINT-8915
Fix sync of material rotation and offset values when using aligned planar faces.

Make it possible to set a specific TE's normal/spec offset/rotation values.

Eliminate redundant conversions in LLSD -> struct handler.
2018-07-30 22:38:30 +01:00
Graham Linden ba31900ea8 MAINT-8891 viewer-side fix for redundant setting of specular offset in LLSD to struct translation 2018-07-20 19:17:59 +01:00
Brad Payne (Vir Linden) 73c76fdccf MAINT-8863 - more diagnostics and possible fix 2018-07-13 18:56:08 +01:00
Graham Linden 3008962f0c Convert tabs to spaces in llprimitive/llmaterial.* for sanity 2018-06-29 21:21:46 +01:00
Graham Linden 82a097b06f MAINT-8676 modify XUI to allow negative offsets again and fix up material handling of normal/specular offsets 2018-06-29 00:47:13 +01:00
Anchor Linden f848271c28 fix line endings 2018-06-19 23:04:29 +05:30
Brad Payne (Vir Linden) edf6795eda SL-915, MAINT-8554 - cleanup/reorg, added encroachment fix info to DebugAnimatedObjects output 2018-06-13 21:49:24 +01:00
Anchor Linden 7abb0c99be [DRTVWR-476] - add universal head,upper,lower tattoos 2018-06-13 01:09:27 +05:30
Brad Payne (Vir Linden) 6862190500 SL-915 - face-level caching, bug fix 2018-06-08 19:56:34 +01:00
Brad Payne (Vir Linden) 2a2046fd07 merge 2018-06-05 22:44:04 +01:00
Anchor Linden 6e1cbd04b4 Merge 2018-06-05 23:21:30 +05:30
Brad Payne (Vir Linden) e86839fac1 SL-915 - WIP on dynamic joint box tracking 2018-06-01 15:08:59 +01:00
Anchor Linden f277aed218 [DRTVWR-455] - add new bake testure and tattoo slots 2018-05-24 01:17:07 -07:00
Nat Goodspeed 26570cfd67 SL-793: Use Boost.Fiber instead of the "dcoroutine" library.
Longtime fans will remember that the "dcoroutine" library is a Google Summer
of Code project by Giovanni P. Deretta. He originally called it
"Boost.Coroutine," and we originally added it to our 3p-boost autobuild
package as such. But when the official Boost.Coroutine library came along
(with a very different API), and we still needed the API of the GSoC project,
we renamed the unofficial one "dcoroutine" to allow coexistence.

The "dcoroutine" library had an internal low-level API more or less analogous
to Boost.Context. We later introduced an implementation of that internal API
based on Boost.Context, a step towards eliminating the GSoC code in favor of
official, supported Boost code.

However, recent versions of Boost.Context no longer support the API on which
we built the shim for "dcoroutine." We started down the path of reimplementing
that shim using the current Boost.Context API -- then realized that it's time
to bite the bullet and replace the "dcoroutine" API with the Boost.Fiber API,
which we've been itching to do for literally years now.

Naturally, most of the heavy lifting is in llcoros.{h,cpp} and
lleventcoro.{h,cpp} -- which is good: the LLCoros layer abstracts away most of
the differences between "dcoroutine" and Boost.Fiber.

The one feature Boost.Fiber does not provide is the ability to forcibly
terminate some other fiber. Accordingly, disable LLCoros::kill() and
LLCoprocedureManager::shutdown(). The only known shutdown() call was in
LLCoprocedurePool's destructor.

We also took the opportunity to remove postAndSuspend2() and its associated
machinery: FutureListener2, LLErrorEvent, errorException(), errorLog(),
LLCoroEventPumps. All that dual-LLEventPump stuff was introduced at a time
when the Responder pattern was king, and we assumed we'd want to listen on one
LLEventPump with the success handler and on another with the error handler. We
have never actually used that in practice. Remove associated tests, of course.

There is one other semantic difference that necessitates patching a number of
tests: with "dcoroutine," fulfilling a future IMMEDIATELY resumes the waiting
coroutine. With Boost.Fiber, fulfilling a future merely marks the fiber as
ready to resume next time the scheduler gets around to it. To observe the test
side effects, we've inserted a number of llcoro::suspend() calls -- also in
the main loop.

For a long time we retained a single unit test exercising the raw "dcoroutine"
API. Remove that.

Eliminate llcoro_get_id.{h,cpp}, which provided llcoro::get_id(), which was a
hack to emulate fiber-local variables. Since Boost.Fiber has an actual API for
that, remove the hack.

In fact, use (new alias) LLCoros::local_ptr for LLSingleton's dependency
tracking in place of llcoro::get_id().

In CMake land, replace BOOST_COROUTINE_LIBRARY with BOOST_FIBER_LIBRARY. We
don't actually use the Boost.Coroutine for anything (though there exist
plausible use cases).
2018-05-10 21:46:07 -04:00
Brad Payne (Vir Linden) 9f8c6ace4a merge 2018-03-02 13:00:18 +00:00
AndreyL ProductEngine af9069edbf Merged in lindenlab/viewer-release 2018-03-02 00:47:08 +02:00
Brad Payne (Vir Linden) 3f9b3e01b9 MAINT-8264 - prevent at least some cases of LODs getting stuck at too-low values. 2018-02-21 22:02:34 +00:00
ruslantproductengine 84e5dc37b6 MAINT-7847 The presence of certain Avatars stops local specular textures from "sticking". Yes really.
FIXED. Allows set material explicitly to material manager.
2018-02-14 20:52:31 +02:00
maxim_productengine 750d90cf59 MAINT-8208 [Mac] Viewer crashes when uploading certain mesh model after enabling "Include skin weight" 2018-01-22 18:11:12 +02:00
andreykproductengine c56298d4ba MAINT-8022 Make unzip silent yet include failure reason into output 2018-01-03 16:30:57 +02:00
AndreyL ProductEngine 9fe126e7e5 Backed out changeset: 761e890970b2 2017-12-20 22:03:06 +02:00
Brad Payne (Vir Linden) 5c7f27562d merge 2017-11-29 23:40:12 +00:00
ruslantproductengine 68200703f2 MAINT-6645 - Improvement - Agents that render as jelly dolls should have their attachments render at 0 LoD to prevent loading higher LoD complexity in memory thus deterring crashes.
Stability improve. (viewer x64)
2017-12-14 20:30:40 +02:00
andreykproductengine c8c8005e2f MAINT-2161 Fixed dae parsing issue - dae expects escaped names 2017-10-31 16:41:39 +02:00
andreykproductengine 9de2af8b2d MAINT-7847 Remake of 'white alpfa' fix 2017-11-13 14:26:15 +02:00
AndreyL ProductEngine 65bf63c973 Merged in lindenlab/viewer-bear 2019-04-02 22:12:55 +03:00
Brad Payne (Vir Linden) 4d68945595 SL-694 - UI initialization, set mType in LLExtendedMeshParams constructor 2017-05-30 15:59:23 +01:00
Brad Payne (Vir Linden) 7691780825 SL-694 - Added extra param field for flags related to extended mesh functionality. Currently this is just one bit to flag an object as able to animate 2017-05-25 11:11:02 +01:00
andreykproductengine 5ddac01ef2 MAINT-7058 Fixed missing extents for generated (split) faces 2017-04-14 17:13:57 +03:00
andreykproductengine 084f7cf44a MAINT-7257 Added null check for volume manager 2017-03-28 16:24:50 +03:00
ruslantproductengine 6770c27321 MAINT-6645 - Improvement - Agents that render as jelly dolls should have their attachments render at 0 LoD to prevent loading higher LoD complexity in memory thus deterring crashes.
Comments:
- Fix based on "RenderAutoMuteByteLimit" setting.
- File indra/llxml/llcontrol.h - add all signals to 0 group.
  It garanty that handlers (in indra/newview/llviewercontrol.cpp) will be called last.
2017-01-24 15:56:25 +02:00
andreykproductengine 4fc012fbfa Reverted changeset 409b67af8faf (MAINT-6901) 2016-12-23 15:16:50 +02:00
AndreyL ProductEngine 2abd0eef41 Merged in lindenlab/viewer-release
DRTVWR-412 Bento (avatar skeleton extensions)
2016-12-05 21:51:29 +02:00
andreykproductengine 416a46711d MAINT-6901 safety checks fix 2016-11-21 22:58:07 +02:00