Commit Graph

1505 Commits

Author SHA1 Message Date
Shyotl
ca99f5d2e5 Adding cached-control callbacks to the front of the controlgroups signal. It was possible for cachedcontrols to register themselves before settings_setup_listeners, etc, register their own callbacks. If those callbacks ever referenced the setting via cached control then the value in the cachedcontrol would be stale. 2011-08-16 02:39:32 -05:00
Shyotl
20ef149dcb Added test setting 'ShyotlUseLegacyTextureBatching' to disable new texture indexing. The new indexing method requires heavy branching in shaders, which some hardware may not perfom well with. 2011-08-16 02:37:18 -05:00
Shyotl
7f0662a1ac Forgot to add a 'take off' button to the physics wearable edit panel, so I'm adding it now. 2011-08-14 23:50:50 -05:00
Shyotl
978424ced0 Cleanup. Also made it so LLModel::setVolumeFaceData hopefully wont explode if it's ever utilized by future code. 2011-08-14 03:56:54 -05:00
Shyotl
1c38d016d5 Removed old RLV code. Plugged holes with RLVa. 2011-08-14 02:33:57 -05:00
Shyotl
88df625096 Occluding voidwater again, as not doing such drastically lowers peak framerates. (100+ to ~50 on my hardware) 2011-08-13 03:30:51 -05:00
Shyotl
3213170d32 featuretable fudgery 2011-08-12 19:20:22 -05:00
Shyotl
f551294e66 Alphamasking migrated to shaders instead of using fixed-function. Very early code. Hasn't even made it into viewer-development yet. 2011-08-12 19:20:11 -05:00
Shyotl
8e1c70dcaa Oopsies. Don't cast a LLStrider<> element to LLVector4a. The array itself is aligned, but not necessarily the individual elements(eg: if in strided/interleaved mode!) 2011-08-11 03:35:20 -05:00
Shyotl
8d242f24dd LLWorld::getAvatars didn't make much sense. What's with that break in the old code? Anyhow, VOAvatar position should override regionlist, probably. 2011-08-11 03:17:55 -05:00
Shyotl
c9860f7b66 Massive deferred update...
Plus renamed setupViewport to setup[2|3]DViewport.
Migrated mWindowRect to mWindowRectRaw, mVirtualWindowRect to mWindowRectScaled.
Slowly updating getwindow/getworldview calls to new v2 variants as I run across them.
Cleaned up ascent-related code in llmanip.cpp.
Impostor update tweaks.
Edgepatch water occlusion changes. (no patch flickering on edges of screen while moving camera)
2011-08-11 03:16:17 -05:00
Shyotl
ca328aec72 Replaced some opengl fixed functions with shaders. Temporary ShyotlUseLegacyRenderPath setting to debug if this change actually improves framerate at all (setting not tied to callbacks. Have to toggle shaders to have stuff pick up the setting change) 2011-08-10 03:53:49 -05:00
Shyotl
896b7146e7 Fixed vertex corruption if avatar shaders are off and jointmesh is not vectorized. Also, now preventing usage of unsupported vectorization paths. 2011-08-10 02:01:53 -05:00
Shyotl
c918384805 Tempfix for curl locking mutexes for too long 2011-08-09 20:57:16 -05:00
Shyotl
bff63ac682 Parammanagers are really not done well. Added manager-specific shader lists instead of just having them dig down the global list every update. 2011-08-09 04:30:35 -05:00
Shyotl
04ea6a967e Removed dead code related to 'RenderForSelect'. 2011-08-09 02:11:10 -05:00
Shyotl
9bda97786f Batch indexing/no-fixed-function WIP. 2011-08-09 01:11:05 -05:00
Shyotl
1e7415095c mCurlGetRequest->process() kersploded. Debugger is being dumb, so adding an assertion for now. 2011-08-06 18:17:55 -05:00
Shyotl
a5f38565fa Henri-inspired tweakage. 2011-08-06 18:14:54 -05:00
Shyotl
9aa26648c9 Added CurlUseMultipleThreads (requires restart to change) 2011-08-06 02:29:04 -05:00
Shyotl
f1759e0a96 Old-code related to sim-quota cleaned up. 2011-08-06 02:27:06 -05:00
Shyotl
f9bcbab5f3 Win compile fix. Including stdint.h explodes in vc2010, so #if'd it out for windows. 2011-08-05 21:39:43 -05:00
Shyotl
4dd888353d Merge branch 'future' of git://github.com/siana/SingularityViewer.git into V2Mesh 2011-08-05 20:12:59 -05:00
Shyotl
550fa0a160 Merge branch 'future' of https://github.com/AlericInglewood/SingularityViewer.git into V2Mesh
Conflicts:
	indra/newview/llspatialpartition.cpp
2011-08-05 19:40:35 -05:00
Shyotl
7bcd259821 Added ShyotlRenderVBOStrideMode to toggle between strided and unstrided VBOs. 2011-08-05 19:24:17 -05:00
Shyotl
9cc398e939 Occlusion now using LLVertexbuffer class. 2011-08-05 02:55:13 -05:00
Shyotl
b75a28ec15 Cleanup. Applied http://hg.secondlife.com/mesh-development/changeset/3031f266784a 2011-08-05 01:18:27 -05:00
Shyotl
2c489d7741 Cleaned up polymesh (mesh vectors/normals size match VBO vectors/normals size to allow memcpy). Prep for vbo testing. 2011-08-04 01:38:56 -05:00
Siana Gearz
87070be7e3 Merge branch 'master' of github-siana:siana/SingularityViewer into future 2011-08-03 01:01:00 +02:00
Shyotl
4f8186b17e Debug symbols for llcommon.dll on windows. 2011-08-02 16:21:44 -05:00
Siana Gearz
82fc160abe Look and criticize, Aleric 2011-08-02 02:16:31 +02:00
Siana Gearz
3b97a575d1 Merge branch 'V2Mesh' of https://github.com/Shyotl/SingularityViewer into future 2011-08-02 01:25:46 +02:00
Shyotl
f5915ab83c Some fixes and cleanup for strided vbos. Added LLStrider::assignArray to clean up some loops, as well as replace LLVector4a::memcpyNonAliased16. Works with both unstrided and strided vbo elements, and alignment padding (LLVec4->LLVec3,etc) 2011-08-01 18:19:08 -05:00
Siana Gearz
04b507d286 Merge branch 'future' of git://github.com/AlericInglewood/SingularityViewer into future 2011-08-02 01:14:28 +02:00
Siana Gearz
45c87257ed Debug build fixes, linux32 2011-08-02 01:13:53 +02:00
Aleric Inglewood
ef6737d0cd Shorten the time between freeing the lock and setting mStatus to STOPPED. 2011-08-02 00:05:14 +02:00
Aleric Inglewood
13be594651 Add proper locking around between threads shared variables and the calls to signal() and wait(). 2011-08-01 23:46:54 +02:00
Aleric Inglewood
313e008f61 Compile fixes to compile LL_DEBUG, and missing header (for linux?) 2011-08-01 23:33:56 +02:00
Siana Gearz
6cfaecf972 GCC buildfixes 2011-08-01 20:42:06 +02:00
Siana Gearz
aa469d860f Merge branch 'V2Mesh' of https://github.com/Shyotl/SingularityViewer into future 2011-08-01 19:56:33 +02:00
Siana Gearz
fcd37f3a45 Linuxy fixes 2011-08-01 19:55:57 +02:00
Shyotl
0bd444de5f A few more rigging related things added in. Also fixed vertex weights 2011-08-01 03:53:25 -05:00
Shyotl
2aa4aa78e2 Added physics settings to object features panel. Brought in mesh 'prim cost' fetching and now display cost in edit floater if mesh is enabled. 2011-08-01 01:33:07 -05:00
Shyotl
5e9cec2cc5 LLTextParser now a singleton. 2011-07-31 19:09:47 -05:00
Shyotl
3c244e6df0 Added new setCommitCallback and setValidateCallback to LLUICtrl, using boost::signals2. Kept legacy variants for now since they are just used too frequently to remove right now. 2011-07-31 19:08:08 -05:00
Shyotl
17bb0799e0 Added LLAgentUI. Includes improved buildLocationString. 2011-07-31 19:05:53 -05:00
Shyotl
40d644e432 Object edit subpanel now recognizes meshes and disables stitching and block-type dropdowns. 2011-07-31 19:03:25 -05:00
Shyotl
e21c9637ae Added some glFlushes to lessen framestalls 2011-07-31 19:01:59 -05:00
Shyotl
fd50e54a7d Fixed rigged shaders not loading under certain scenarios. 2011-07-31 19:00:58 -05:00
Shyotl
28568add4c Threaded cURL. Consider experimental (what in this branch isn't?), however it drastically reduces hitching for me... so yup. 2011-07-31 02:53:26 -05:00