summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
AgeCommit message (Collapse)Author
2010-09-27mergeDave Parks
2010-09-24Added support for joint offsetsprep linden
2010-09-22SH-93 Disable mirror/invert check boxes when sculpt type is set to mesh. ↵Dave Parks
Also fixed a crash when switching sculpt type from mesh to sphere.
2010-09-22Commenting out unused variables to help mac buildJonathan Wolk
2010-09-22Remove LL_MESH_ENABLED macros (fixes drag and drop). Add mesh stitching ↵Dave Parks
type back into tools floater.
2010-09-21Fix for build failures - disabling tcmalloc for nowBrad Payne (Vir Linden)
2010-09-20Stop using ll_aligned_malloc/free in llvolume.Dave Parks
Fix for garbage data in vertex weight array crashing software skinning. Proper integration of picking for rigged attachhments. Optimization in LLDrawable::updateDistance (don't call updateRelativeXform, just use spatial group position).
2010-09-19Raycasting for rigged attachments now works for your own attachments while ↵Dave Parks
in edit mode.
2010-09-01CTS-231 WIP new ARC algorithmNyx (Neal Orman)
tweaked some numbers that were incorrect when I originally wrote the algorithm deminimis change, no review
2010-09-01CTS-231 WIP create new ARC algorithm to be more accurate and account for meshesNyx (Neal Orman)
First pass - uses the new algorithm to hopefully be more accurate of render load on low-end machines. Also accounts for mesh complexity, including if a mesh is weighted or non-weighted. Code reviewed by davep
2010-08-25mergeDave Parks
2010-08-24Backed out changeset c3d41f18ce2bTofu Linden
back-out the back-out for this branch. yay.
2010-08-24Backed out changeset a62bf7c0af21Tofu Linden
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24merge heads. whew.Tofu Linden
2010-08-19Integrate SIMD API from oreh/server-trunk-orehDave Parks
2010-08-13Better support for curious mixtures fullbright/shiny/water with rigged ↵Dave Parks
attachments, deferred rendering, and not.
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-08-12Vertex buffer cleanup, adding water shader to simple rigged attachments.Dave Parks
Reviewed by Nyx.
2010-07-30Fix for EXT-8339Monroe Linden
Added a couple of new nav states to LLViewerMediaImpl: MEDIANAVSTATE_FIRST_LOCATION_CHANGED_SPURIOUS and MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED_SPURIOUS. These behave just like the corresponding states without the _SPURIOUS suffix, but will be used if the new navigate doesn't change the current URL of the impl. This allows us to catch cases like the repro of this issue and discard the spurious navigate events.
2010-07-30Fix for EXT-8339Monroe Linden
Added a couple of new nav states to LLViewerMediaImpl: MEDIANAVSTATE_FIRST_LOCATION_CHANGED_SPURIOUS and MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED_SPURIOUS. These behave just like the corresponding states without the _SPURIOUS suffix, but will be used if the new navigate doesn't change the current URL of the impl. This allows us to catch cases like the repro of this issue and discard the spurious navigate events.
2010-07-29Yet more cleanup around llmediadataclient.Monroe Linden
In LLVOVolume, added a count of LLMediaDataClientObjectImpl objects referencing each LLVOVolume object. This allows LLVOVolume::markDead() to skip the relatively expensive calls to removeFromQueue() when the LLVOVolume is known to have no active references. Refactored LLMediaDataClient and its two child classes so that only LLObjectMediaDataClient has the round-robin queue (LLObjectMediaNavigateClient doesn't need it), and cleaned up some of the virtual function hierarchy around queue processing. In LLMediaDataClient, added tracking for requests that aren't currently in a queue (i.e. requests that are in flight or waiting for retries) so they can be found when their objects are marked dead. LLMediaDataClient::Request now directly keeps track of the object ID and face associated with the request. Removed the "markedSent" concept from requests. Requests that have been sent are no longer kept in a queue. The Retry timer now references the Request object instead of the Responder. Replaced LLMediaDataClient::findOrRemove() with separate template functions for find and remove.
2010-07-29Yet more cleanup around llmediadataclient.Monroe Linden
In LLVOVolume, added a count of LLMediaDataClientObjectImpl objects referencing each LLVOVolume object. This allows LLVOVolume::markDead() to skip the relatively expensive calls to removeFromQueue() when the LLVOVolume is known to have no active references. Refactored LLMediaDataClient and its two child classes so that only LLObjectMediaDataClient has the round-robin queue (LLObjectMediaNavigateClient doesn't need it), and cleaned up some of the virtual function hierarchy around queue processing. In LLMediaDataClient, added tracking for requests that aren't currently in a queue (i.e. requests that are in flight or waiting for retries) so they can be found when their objects are marked dead. LLMediaDataClient::Request now directly keeps track of the object ID and face associated with the request. Removed the "markedSent" concept from requests. Requests that have been sent are no longer kept in a queue. The Retry timer now references the Request object instead of the Responder. Replaced LLMediaDataClient::findOrRemove() with separate template functions for find and remove.
2010-07-21Miscellaneous cleanup in and around llmediadataclient.Monroe Linden
Added tags to some media-related logging in LLVOVolume. Made LLMediaDataClient::Responder do most of its work in tick() instead of its destructor. Added a comment to llmediadataclient.cpp that explains the idea behind the two-queue system. Made LLMediaDataClient::sortQueue() remove requests from the queue that hold references to dead items. This should make teleporting away solve many of the pathological queueing cases. Updated llmediadataclient test cases to reflect the change in behavior in sortQueue(). Removed some unnecessary const-ness in LLMediaDataClient::enqueue, which caused it to have to use const_cast.
2010-07-21Miscellaneous cleanup in and around llmediadataclient.Monroe Linden
Added tags to some media-related logging in LLVOVolume. Made LLMediaDataClient::Responder do most of its work in tick() instead of its destructor. Added a comment to llmediadataclient.cpp that explains the idea behind the two-queue system. Made LLMediaDataClient::sortQueue() remove requests from the queue that hold references to dead items. This should make teleporting away solve many of the pathological queueing cases. Updated llmediadataclient test cases to reflect the change in behavior in sortQueue(). Removed some unnecessary const-ness in LLMediaDataClient::enqueue, which caused it to have to use const_cast.
2010-07-17Fix for rigged attachments disappearing when toggling lighting and shadows.Dave Parks
2010-07-15Merge cleanup.Dave Parks
2010-07-14mergeDave Parks
2010-06-21Merge from ssh://hg.lindenlab.com/dessie/viewer-releaseLeyla Farazha
2010-06-21Merge from ssh://hg.lindenlab.com/dessie/viewer-releaseLeyla Farazha
2010-06-17EXT-6957 Media Navigation & Interaction does not work for "Group" if ↵Leyla Farazha
"Anyone" is disabled. reviewed by richard cc#216
2010-06-14mergeDave Parks
2010-06-14Builds with LLConvexDecompInter as a static lib.Dave Parks
2010-06-10Unused variable/functionDave Parks
2010-06-10Add "LL_MESH_ENABLED" preprocessor flag for toggling mesh code. Couple of ↵Dave Parks
merge fixes.
2010-06-03Vectorized octree and much of llspatialpartition and lldrawable.Dave Parks
Octree driven raycast.
2010-05-26Faster index buffer copying.Dave Parks
2010-05-26Fully aligned llvolumeDave Parks
2010-05-25Better vectorization of various things. Turn off debug gl by default.Dave Parks
2010-05-24Fix for bad indexes on cube faces.Dave Parks
Extra validation on vertex buffers.
2010-05-22Vectorize/memory align buffers in llvolumeface WIPDave Parks
2010-05-18mergeDave Parks
2010-05-18Take a stab at baked sunlight to help low end hardware.Dave Parks
2010-05-14merge from viewer-publicTofu Linden
2010-05-14merge from viewer-publicTofu Linden
2010-05-13EXT-7327: FIXED: viewer crash in LLVOVolume::syncMediaData on Meshopotamia 1Xiaohong Bao
(transplanted from 8be9afe40b24ddde1ad5f93e3a6554519acc7dc7)
2010-05-13EXT-7327: FIXED: viewer crash in LLVOVolume::syncMediaData on Meshopotamia 1Xiaohong Bao
2010-05-12Fix for fullbright bump not working in deferred render.Dave Parks
Fix for shadow artifacts around split frusta. Tweak for shadow aliasing with projectors. Fix for crash on exit in mesh thread. (transplanted from 6dcf09cd3e524016c8130a0c8af3d9fc95f2d411)
2010-05-12Fix for fullbright bump not working in deferred render.Dave Parks
Fix for shadow artifacts around split frusta. Tweak for shadow aliasing with projectors. Fix for crash on exit in mesh thread. (transplanted from 6dcf09cd3e524016c8130a0c8af3d9fc95f2d411)
2010-05-12Fix for fullbright bump not working in deferred render.Dave Parks
Fix for shadow artifacts around split frusta. Tweak for shadow aliasing with projectors. Fix for crash on exit in mesh thread.
2010-05-04mergeDave Parks