Graham Madarasz
e8b8a12b73
Mods to make compile on gcc 4.6.3 work mo betta
2013-03-12 10:48:05 -07:00
Graham Madarasz
1051220d4b
Merged vwr-cat..#$%$% whitespace diffs
2013-03-11 12:41:06 -07:00
Graham Madarasz
c04f4f66c8
Moved LLAlignedArray from llmath to llcommon and put template func impls in header to work around Mac 4.3.3 link issue.
2013-03-11 12:30:16 -07:00
Dave Parks
f8e059deee
MAINT-2371 Lat round of optimizations.
...
Reviewed by Graham
2013-03-08 17:11:30 -06:00
Graham Madarasz
1816582b92
Fix crashes from using single alloc for pos/norm/tc in volume face data fighting with old free call in model loading code
2013-03-06 09:09:07 -08:00
Dave Parks
586025bde5
Automated merge with https://bitbucket.org/lindenlab/viewer-cat
2013-03-04 18:06:29 -06:00
Dave Parks
609ed855e1
MAINT-2371 More optimizations.
...
Reviewed by Graham
2013-03-04 18:01:42 -06:00
Graham Madarasz (Graham)
4e81a84abd
Performance improvements. Faster threadsaferefcount, faster instancetracker, use hashtable and pre-hashed strings for GLSL uniform lookup, and use dup_handles curl interface to avoid re-initing ares resolvers expensively.
2013-03-04 08:57:58 -08:00
Dave Parks
f5e5396c3a
MAINT-2371 First set of profile guided optimizations.
...
Reviewed by Graham
2013-02-26 15:15:08 -06:00
Nyx Linden
11fe124ae9
merging in viewer-beta.
...
Most of the merge was clean, a couple conflicts.
Brought over a couple patches manually for llpolymesh.
2013-01-24 16:22:49 -05:00
prep
e0432f98ee
SH-3563. Pull and merge from viewer-development. Modest code changes to fix alignment issue in llAppearance.
2012-11-28 16:36:34 -05:00
Don Kjer
c06c35609c
Updating linux build to gcc4.6
2012-10-11 00:09:04 +00:00
Dave Parks
4127f3e7fc
reapply efcec3eb374f: MAINT-646 Factor std::vector out of lloctree
2012-09-20 09:48:56 -04:00
Dave Parks
cf98064700
reapply 52b6c9168974: MAINT-646 Factor std::set out of lloctree
2012-09-20 09:48:55 -04:00
Dave Parks
9ec263d2f1
MAINT-1503 Minimal set of changes needed to safely disable tcmalloc
2012-09-12 15:44:36 -05:00
Oz Linden
97d969a338
initial attempt to restore changes that make removing tcmalloc possible; not tested
2012-09-12 14:36:37 -04:00
William Todd Stinson
a766e26db4
Backing out the changes contributing to DRTVWR-167 and DRTVWR-179 from the repository.
2012-09-10 10:37:02 -07:00
Dave Parks
980d5a7555
MAINT-1503 Fix for ll_aligned_realloc returning non-aligned pointers on linux
2012-08-31 16:30:58 -05:00
simon@Simon-PC.lindenlab.com
173d0fa213
Pull in viewer-development because it's painful. Merge with runitai's help.
2012-07-11 16:15:23 -07:00
simon@Simon-PC.lindenlab.com
b7555a3309
Merge back viewer-lion, which has viewer-development and down-stream fixes
2012-08-01 14:07:24 -07:00
Dave Parks
4a5ad35793
MAINT-570 Remove unused memory tracking system LLMemType
2012-07-20 11:42:15 -05:00
Dave Parks
6dd3840b44
MAINT-646 Factor std::vector out of lloctree
2012-06-05 13:32:18 -05:00
Dave Parks
92ee373e45
MAINT-646 Factor std::set out of lloctree
2012-06-05 12:55:17 -05:00
Brad Payne (Vir Linden)
542975b4c6
merge
2012-06-04 16:19:18 -04:00
Brad Payne (Vir Linden)
635a264e6f
merge
2012-02-08 11:22:52 -05:00
Richard Linden
2ed1de224a
Automated merge with http://hg.secondlife.com/viewer-development
2012-02-06 15:28:45 -08:00
Brad Payne (Vir Linden)
b9376ab990
merge
2012-02-02 10:57:09 -05:00
Richard Linden
5a14a67e06
converted a bunch of narrowing implicit conversions to explicit
2012-02-01 13:03:46 -08:00
Dave Parks
18e7f1bffd
SH-2889 Add visual auto-muting controls
2012-01-20 16:42:57 -06:00
Brad Payne (Vir Linden)
c8682722ad
SH-2789 WIP - aligned alloc and realloc
2011-12-21 17:02:47 -05:00
Dave Parks
c0b4ec6fe7
SH-2694 Fix for FPS drop when mousing over flexi objects (don't use an octree for flexi raycast)
2011-12-16 17:43:30 -06:00
Brad Payne (Vir Linden)
e68d5e248f
SH-2789 WIP - add asserts to check object address alignment where needed
2011-12-14 16:18:19 -05:00
Dave Parks
76bd8cee11
SH-2644 Fix debug display that shows selection triangle count and streaming cost
2011-11-10 14:48:48 -06:00
Brad Payne (Vir Linden)
4b269f67ea
merge
2011-09-14 14:54:20 -04:00
Xiaohong Bao
8cef480b96
fix for SH-2311: crash at LLVOVolume::lineSegmentIntersect line 3435
...
and SH-2358: Crash in LLError::crashAndLoop: Invalid face index
2011-08-29 18:15:38 -06:00
Dave Parks
f7d17cad5c
SH-2188 Fix for generally bad vertex buffer updates for rigged attachments and fix for viewer always thinking meshes initially have 8 texture entries.
2011-08-17 12:55:32 -05:00
Dave Parks
5c0df02df5
SH-2147 Clarify and quiet log spam on mesh LoD unzip failure.
2011-08-15 12:18:06 -05:00
Leyla Farazha
10ec004912
merge from viewer-experience
2011-08-12 14:53:25 -07:00
Brad Payne (Vir Linden)
dd3069127b
merge
2011-07-13 14:57:23 -04:00
Oz Linden
8529c37dee
merge changes for storm-1488
2011-07-11 06:16:19 -04:00
Don Kjer
b9d6b5ef9a
Merge viewer-development -> mesh-development
2011-07-08 18:25:07 -07:00
Brad Payne (Vir Linden)
7541e6e31b
SH-2014 FIX
2011-07-08 14:45:02 -04:00
Dave Parks
d50093cb42
SH-1926 Fix for blocking legitimate sculpt maps with over-eager area check.
2011-07-05 11:51:32 -05:00
Xiaohong Bao
f83b08b69c
fix for SH-1878: Viewer hang in GLOD_Group::adaptTriangleBudget during LLModelPreview::genLODs;
...
SH-1891: viewer crashes while previewing "RYOMA 3D XML File.dae";
SH-1890: Crash loading palm tree
2011-06-24 15:09:10 -06:00
Nyx (Neal Orman)
7201d55396
BUILDFIX: linux build broken - abs() used instead of fabs()
...
linux caught the fact that we're using an integer absolute value function
when we should be using a floating-point version.
2011-06-20 17:18:43 -04:00
Dave Parks
15235061e8
SH-828 Fix for using uninitialized data when normals or texture coordinates are absent from collada file (can now upload meshes without normals or texture coordinates).
2011-06-18 01:02:03 -05:00
Dave Parks
91fe50ecc7
SH-1802 Fix for disappearing meshes under some circuimstances.
2011-06-09 17:03:53 -05:00
Dave Parks
75e366dd6f
merge
2011-06-09 00:29:37 -05:00
Dave Parks
b6e7d771da
SH-1696 Protect against sculpt triangle bombs by turning high-surface area sculpties into spheres.
2011-06-09 00:23:46 -05:00
Dave Parks
ca5a87b819
merge
2011-06-08 15:59:11 -05:00
Dave Parks
e135d4d629
SH-1767 Fix for crash when viewing assets uploaded by mesh-asset-deprecation viewers
2011-06-07 15:28:05 -05:00
Dave Parks
aa21ad59aa
Fix for crash when viewing asset with "NoGeometry"
2011-06-06 18:20:07 -05:00
Dave Parks
b77e027fcc
Remove some unused variables.
2011-06-02 23:46:26 -05:00
Dave Parks
de5f93ca52
SH-1732 Add streaming cost calculation for mesh objects.
2011-06-02 22:58:57 -05:00
Dave Parks
3a409e6edc
SH-1603 Replace every occurrence of "WTF" with something more appropriate.
2011-05-25 18:45:21 -05:00
Dave Parks
8017900e7f
merge
2011-05-12 18:50:22 -05:00
brad kittenbrink
2a843e9a6b
Fix up alignment problems for debug build.
...
reviewed by davep.
2011-05-12 16:09:42 -07:00
Dave Parks
56ba23d231
Use SSE for decoding texture coordinates.
2011-05-11 17:32:39 -05:00
Loren Shih
8b4b2e375d
Fix for line endings style (dos2unix).
...
Updated header blocks for llphysicsshapebuilderutil classes.
2011-05-03 15:31:30 -04:00
Dave Parks
1ff7968312
SH-1225 Add skinning info to import path of .slm files.
2011-03-28 23:50:23 -05:00
Dave Parks
6ff87e2840
SH-1169 Import from slm instead of dae when appropriate.
2011-03-22 17:23:48 -05:00
Dave Parks
a242129b57
SH-523 Fix for non-finite values in silhouette rendering resulting in silhouette segments pointing at center of screen.
2011-02-08 15:53:50 -06:00
Xiaohong Bao
d08372f71d
merge fix for SH-659 from v-d to mesh: small textures not loaded
2011-02-01 12:43:12 -07:00
Loren Shih
c7d0fab7b9
Fixes for merge up from viewer-development to mesh-development.
...
Backed out SH-659 since merge was messy; this will be merged in manually later.
2011-02-01 12:33:39 -05:00
Loren Shih
fbc6e5d639
Automated merge up from viewer-development into mesh-development
2011-02-01 11:28:22 -05:00
Dave Parks
f3493d4165
SH-822 Fix for crash in cacheOptimize (U16 should have been a U32)
2011-01-19 23:14:41 -06:00
Xiaohong Bao
c602fed9b7
fix for SH-659: small textures not loaded
2011-01-18 14:08:21 -07:00
Dave Parks
ce5dc4d42b
SH-762 Forsyth style vertex buffer optimization for meshes.
2011-01-07 13:47:50 -06:00
Dave Parks
e9d21ba941
Fix for windows build. Reviewed by Nyx.
2010-12-20 15:09:15 -06:00
Boroondas Gupte
8edd7e94b1
merged CTS-323: Don't cast pointers to U32
2010-11-23 01:52:11 +01:00
Dave Parks
c149a0020b
Get rid of pointless redirection and malloc/free.
2010-11-21 03:06:47 -06:00
JonathanLinden
ffb8b78ae9
Reverting fix for SH-391 until it works for all use cases
2010-11-03 17:11:08 -07:00
JonathanLinden
117af7e7e3
Fix for SH-391 'Viewer crash when enabling align planar faces on a mesh object'. Paired with Runitai
2010-11-03 13:23:53 -07:00
Dave Parks
ed29cac3a1
SH-92 Fix for busted bounding boxes for mirrored meshes.
2010-10-29 16:10:17 -05:00
Dave Parks
78e62d0030
Fix for bad normals on some prim faces.
2010-10-29 12:06:20 -05:00
Dave Parks
da04af47cc
Fix for bad binormals.
2010-10-26 16:19:24 -05:00
Boroondas Gupte
4f388eacf6
merged CTS-323: Don't cast pointers to U32
2010-10-24 16:13:31 +02:00
Boroondas Gupte
32b0747e33
CTS-323: (part 2 of 2) Don't cast pointers to U32
2010-10-24 16:07:43 +02:00
Oz Linden
a5619d16f7
correct licenses (fix problem with license change merge)
2010-10-13 07:24:37 -04:00
Dave Parks
478e0927c8
Interface/state for rendering convex hull physics shapes. Still need to implement gMeshRepo.buildHull
2010-10-04 09:48:05 -05:00
Dave Parks
11fce20134
Add llhysicsshapebuilderutil
2010-10-01 13:33:14 -05:00
Matthew Breindel (Falcon)
569f3f4b06
Merge
2010-09-22 13:04:53 -07:00
Jonathan Wolk
6d8e9cd8bd
Commenting out unused variables to help mac build
2010-09-22 11:22:50 -07:00
Dave Parks
cf09d6c58a
Remove LL_MESH_ENABLED macros (fixes drag and drop). Add mesh stitching type back into tools floater.
2010-09-22 03:04:21 -05:00
Dave Parks
7d625ef060
merge
2010-09-22 01:44:44 -05:00
Dave Parks
d40db3d8e1
SH-100, SH-111 Fix for generate normals stalling/crashing.
...
Switch from "new" to "malloc" in llvolume.cpp aligned arrays so "realloc" can be used to avoid copies.
2010-09-22 01:43:17 -05:00
Brad Payne (Vir Linden)
90e3d83a5c
Fix for build failures - disabling tcmalloc for now
2010-09-21 13:26:52 -04:00
Dave Parks
c42ed54b0a
Stop using ll_aligned_malloc/free in llvolume.
...
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-20 18:45:56 -05:00
Dave Parks
90da6d6fdc
Raycasting for rigged attachments now works for your own attachments while in edit mode.
2010-09-19 23:07:15 -05:00
Dave Parks
3cda760638
Added test code for volume raycast octree and fixed a crash in render cost calculation when selecting trees/grass. Reviewed by jwolk.
2010-09-10 14:08:12 -05:00
Dave Parks
1c286f6b0b
Merge cleanup.
2010-08-31 18:10:02 -05:00
Dave Parks
e68f9e566b
merge
2010-08-31 16:37:40 -05:00
Tofu Linden
e416840f85
Backed out changeset c3d41f18ce2b
...
back-out the back-out for this branch. yay.
2010-08-24 19:22:00 +01:00
Tofu Linden
98cc236503
Backed out changeset a62bf7c0af21
...
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden
6ba23344c9
merge heads. whew.
2010-08-24 18:37:53 +01:00
Dave Parks
2fea1d5d33
Integrate SIMD API from oreh/server-trunk-oreh
2010-08-19 12:25:15 -05:00
Oz Linden
06b0d72efa
Change license from GPL to LGPL (version 2.1)
2010-08-13 07:24:57 -04:00
Dave Parks
129e31373e
Better < operator for LLVolumeFace::VertexData
2010-08-06 11:57:03 -05:00
Dave Parks
93ea3d2850
Merge cleanup.
2010-07-15 14:17:51 -05:00
Dave Parks
13202e744c
merge
2010-07-14 11:11:31 -05:00
Dave Parks
2dd3a6be72
Fix for mesh upload, consolidate generating bad indices, and normal generation.
2010-07-13 12:02:14 -05:00
Dave Parks
46768c3c6c
Merge?
2010-07-12 07:39:23 -05:00
Dave Parks
66e353812f
Get meshes working post-SSE pass.
2010-06-15 19:16:39 -05:00
Dave Parks
1b7b8aa00e
merge
2010-06-14 23:14:14 -05:00
Dave Parks
6e37ec08f6
Builds with LLConvexDecompInter as a static lib.
2010-06-14 23:13:10 -05:00
Dave Parks
2ff888d2bc
Unused variable.
2010-06-10 21:47:49 -05:00
Dave Parks
1061c640d3
merge
2010-06-10 15:04:34 -05:00
Dave Parks
d2d49e3d84
Fix for memcpyNonAliased16 issues.
2010-06-10 15:02:41 -05:00
Dave Parks
9440f84dca
Potential fix for busted binormals on cubes.
2010-06-10 14:58:02 -05:00
Dave Parks
f9b13d8f85
Add "LL_MESH_ENABLED" preprocessor flag for toggling mesh code. Couple of merge fixes.
2010-06-10 00:45:48 -05:00
Dave Parks
9faf00b40f
merge
2010-06-04 12:08:16 -05:00
Dave Parks
a8f0e47fd5
Normal debug display and fix for bad bump mapping and planar texture coordinates.
2010-06-04 12:07:55 -05:00
Tofu Linden
6ca40c7afb
more needed #includes
2010-06-04 09:10:00 +01:00
Tofu Linden
dc2f50642b
lots of _mm_malloc and _mm_free -> ll_aligned_malloc_16 and ll_aligned_free_16
...
more to come.
2010-06-04 08:54:03 +01:00
Tofu Linden
087b749908
fix scoping issues for gcc
2010-06-04 08:46:00 +01:00
Dave Parks
26ba00b555
Vectorized octree and much of llspatialpartition and lldrawable.
...
Octree driven raycast.
2010-06-03 12:52:28 -05:00
Dave Parks
9a869d6301
Octree triven raycast works, time to profile.
2010-05-29 19:55:13 -05:00
Dave Parks
0e7f4dc5ce
Octree per LLVolumeFace WIP
2010-05-29 05:37:38 -05:00
Dave Parks
c98b1b3fd9
Fully aligned llvolume
2010-05-26 03:29:19 -05:00
Dave Parks
e6fe3b1f1a
Better vectorization of various things. Turn off debug gl by default.
2010-05-25 03:55:01 -05:00
Dave Parks
c0b654dd4b
Fix for bad feeding of vectorized raycast.
2010-05-24 17:33:41 -05:00
Matthew Breindel (Falcon)
52134bdc81
Merge
2010-05-24 13:38:16 -07:00
Matthew Breindel (Falcon)
a2eb86b009
Ack. Fixed a bunch of stupid type mistakes in llvector4a.
2010-05-24 13:37:59 -07:00
Dave Parks
8c32e3bf29
Fix for bad indexes on cube faces.
...
Extra validation on vertex buffers.
2010-05-24 14:03:10 -05:00
Dave Parks
d7cab99ba7
Fix for a couple dumb mistakes.
2010-05-22 12:37:53 -05:00
Dave Parks
4d57cb3c09
Vectorize/memory align buffers in llvolumeface WIP
2010-05-22 04:35:02 -05:00
Dave Parks
8919f4811a
blah
2010-05-21 23:55:18 -05:00
Dave Parks
b740924c9d
Make LLVolume::createSide a little faster.
...
(transplanted from 4d43e3b83ccffd725ec6cb234ddcfa0833f17a9f)
2010-04-28 02:53:12 -05:00
Dave Parks
4a501bb437
Make LLVolume::createSide a little faster.
...
(transplanted from 4d43e3b83ccffd725ec6cb234ddcfa0833f17a9f)
2010-04-28 02:53:12 -05:00
Dave Parks
d71716aa6d
Make LLVolume::createSide a little faster.
2010-04-28 02:53:12 -05:00
Dave Parks
07c0389f50
Proper byte ordering when decoding skin weights.
2010-04-27 01:50:06 -05:00
Dave Parks
47ffcdb93d
Rigged attachments (almost works).
2010-04-06 16:24:08 -05:00
Dave Parks
807d835c2b
First draft of skin weights in .mesh asset
2010-04-02 14:43:05 -05:00
Dave Parks
71d11af310
Mesh cache. Has a bug.
2010-03-13 17:39:32 -06:00
Dave Parks
4c0e2f7921
"Generate Normals" is less busted now.
2010-03-11 12:02:37 -06:00
Dave Parks
d60f5e937f
Tool tips for model preview. Rename "Impostor" to "Lowest"
2010-03-09 14:28:06 -06:00
Dave Parks
3c78771ace
Removed scale from model importer.
...
Removed support for scale entry in mesh assets.
Fixed MeshMaxConcurrentRequests being ignored.
Added mesh download queue debug text.
2010-02-24 22:02:01 -06:00
Dave Parks
066f9de07e
Fix for normals getting squished on consolidation.
...
Replaced some magic numbers with constants.
Switched up throttling of mesh upload HTTP posts to prevent overloading one capability at a time.
Added some feedback on upload progress via debug text.
Made debug text move with side panel (keep debug text from rendering on top of side panel).
2010-02-23 16:57:06 -06:00
Dave Parks
ee80367128
16-bit limit awareness when consolidating models.
2010-02-17 18:08:00 -06:00
Dave Parks
3bca0fceb2
merge
2010-02-17 11:33:47 -06:00
Dave Parks
ffcbbf4aaa
Multi-threaded asset uploading with proper ordering first draft.
2010-02-11 18:00:00 -06:00
Tofu Linden
44cfa948c7
merge.
2010-02-11 11:19:51 +00:00
Tofu Linden
792ebb1936
CID-423
...
Checker: UNINIT
Function: LLVolume::cleanupTriangleData(int, const std::vector<LLVolume::Point, std::allocator<LLVolume::Point>> &, int, int *, int &, LLVector3 **, int &, int **)
File: /indra/llmath/llvolume.cpp
The code looks right, I'm just adding an llassert().
2010-02-10 16:49:56 +00:00
Dave Parks
bf087b74d3
merge
2010-02-09 12:28:31 -06:00
Dave Parks
2cb5b0b66e
consolidate button work in progress
2010-02-09 12:26:09 -06:00
davep@billy.gateway.2wire.net
6d4b4762d1
merge
2010-02-09 11:23:33 -06:00
Palmer Truelson
bd10ded1da
index off for tristrip fix on davep's tristrip optimization
2010-02-23 18:03:37 -08:00
Dave Parks
42df75bafe
Enable FBO multisampling for OSX.
...
Fix bad triangle in prim caps.
2010-02-08 10:14:11 -06:00
Dave Parks
adf601ef1f
Draw prims using triangle strips instead of triangle lists.
2010-02-06 17:33:12 -06:00
Dave Parks
095a5e8440
Draw prims using triangle strips instead of triangle lists.
2010-02-06 17:33:12 -06:00