Commit Graph

374 Commits (fe253e6ec6f77a7967cadd6efd76b2fbbef4e2da)

Author SHA1 Message Date
Dave Parks 875d36b083 merge 2011-01-05 01:23:37 -06:00
Dave Parks 1e647e2cd2 Faster occlusion queries (take advantage of GL_ARB_occlusion_query2 where available and don't read back result if it will block). 2010-12-31 18:41:54 -06:00
Roxie Linden 57153cf0f1 SH-655 - Project mesh viewer crashes on exit.
A copy constructor was implemented which did a memcpy,
which included the vtable pointer which was to another object of another
class (same child though).  This resulted in the wrong destructor
being called.
The reason for the memcpy was for alignment purposes.

The solution was to move to LLVector4a, which is intrinsicly aligned.

Also, did some performance optimizations based on the LLVector4a optimizations.


The solution was to re-implement the
2010-12-23 01:48:44 -08:00
Dave Parks 03fa20eb0e merge 2010-12-10 15:27:04 -06:00
Dave Parks 0ae6e2b451 Reskin model importer according to latest spec, add extra LoD decimation parameters. 2010-12-10 15:18:26 -06:00
Roxie Linden 06cf9d0820 Fixes for OSX 10.5 SDK builds 2010-12-09 17:46:51 -08:00
Dave Parks 3daaf4597d Add extern declarations of GL_ARB_framebuffer_object to glheades.h 2010-12-03 03:54:24 -06:00
Dave Parks 48b107ac97 Apparently the new standard is to NOT suffix ARB extension function pointers with ARB. 2010-12-03 02:37:14 -06:00
Dave Parks 0be7fcf2a9 SH-373 Update glext.h, disable anti-aliasing on ATI when rendering deferred. Get rid of RenderUseFBO debug setting (only use FBO when rendering deferred). Use GL_ARB_framebuffer_objects instead of GL_EXT_... 2010-12-02 21:33:03 -06:00
Loren Shih a5e63b1dc0 Merge 2010-11-08 12:57:26 -05:00
Dave Parks cae0544519 merge 2010-10-28 17:43:39 -05:00
Dave Parks 798ba26952 More aggressive management of FBOs. Allocate as few FBOs as possible, assert when FBOs are destroyed out of order. 2010-10-28 17:39:45 -05:00
Dave Parks 90c2c4a9bc SH-392 Port over fix from mesh-development for FBOs on OSX 2010-10-27 16:19:18 -05:00
Loren Shih 639bb11eef Automated merge from viewer-development-shining 2010-10-27 16:19:18 -04:00
Loren Shih 225ffbba20 Automated merge up from viewer-development 2010-10-27 15:08:21 -04:00
Merov Linden ebce1a4ea8 STORM-416 : merge with viewer-development 2010-10-26 10:59:37 -07:00
Dave Parks b3c06e6a74 Fix for crash when toggling anisotropic filtering. 2010-10-21 14:24:49 -05:00
Dave Parks 2504824d59 Fix for crash when toggling anisotropic filtering. 2010-10-21 14:24:49 -05:00
Dave Parks ad181dcaac Fix for crash when toggling anisotropic filtering. 2010-10-21 14:24:03 -05:00
Dave Parks 450c28e02b Fix for crash when toggling anisotropic filtering. 2010-10-21 14:24:03 -05:00
Xiaohong Bao 219cd6ecda more debug code for SH-207: viewer crash in LLVertexBuffer::mapBuffer. 2010-10-14 21:23:23 -06:00
Xiaohong Bao e403f402e9 some debug code for SH-288: [crashhunters] LLImageGL::setSubImageFromFrameBuffer 2010-10-13 19:33:36 -06:00
Oz Linden a5619d16f7 correct licenses (fix problem with license change merge) 2010-10-13 07:24:37 -04:00
Dave Parks 4fc7a221e1 Disable uniform map checking for now (breaks on several valid edge cases). 2010-10-12 17:04:41 -05:00
Xiaohong Bao c3764eaf87 add debug code for SH-207: viewer crash in LLVertexBuffer::mapBuffer 2010-10-12 15:38:52 -06:00
Xiaohong Bao 4809142acc add a debug function to output gl error information to the log file without crashing the viewer.
No need to test because there are no negative effects.
2010-10-12 15:35:39 -06:00
Dave Parks 21b1b91c44 ATI compatibility pass 2010-10-06 12:53:26 -05:00
Loren Shih d65e512fa3 Automated merge up from viewer-development 2010-10-04 11:21:18 -04:00
Merov Linden c7b6ebaf76 Port of SNOW-643 : Water flicker at high altitude. This doesn't fix the low altitude flicker though (STORM-306) 2010-09-30 22:57:05 -07:00
Dave Parks d43aef498b Enable FBO on OSX 2010-09-28 14:43:52 -05:00
Dave Parks 7c2b9221d6 merge 2010-09-27 15:20:27 -05:00
Dave Parks 7d625ef060 merge 2010-09-22 01:44:44 -05:00
Dave Parks 61257991ba Stop using aligned malloc in llvertexbuffer (tcmalloc is automagically aligned). 2010-09-22 01:43:22 -05:00
Brad Payne (Vir Linden) 90e3d83a5c Fix for build failures - disabling tcmalloc for now 2010-09-21 13:26:52 -04:00
Xiaohong Bao 85053e53b6 fix for VWR-22811: crash at LLImageGL::createGLTexture(int,unsigned char const *,int,int) [secondlife-bin llimagegl.cpp] line 1259 2010-09-10 10:26:42 -06:00
Loren Shih 704405903f pull from viewer-development 2010-08-31 19:55:19 -04:00
Dave Parks e68f9e566b merge 2010-08-31 16:37:40 -05:00
Xiaohong Bao 2969599880 a try to fix EXT-6791: [crashhunters] Intel 965 Crash in glCopyTexSubImage2D 2010-08-30 18:06:45 -06:00
Richard Linden 1911993cc7 merge 2010-09-16 19:45:57 -07:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Dave Parks e41525cac4 Fix for crash when rendering translation handles. 2010-08-26 17:06:34 -05:00
Richard Linden 093e83386d merge 2010-08-26 12:49:00 -07:00
Dave Parks 2f012dd34f merge 2010-08-25 14:48:18 -05:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Tofu Linden ce1a0c6baf Final(???) merge from viewer-release to viewer-public. 2010-08-24 14:52:05 +01:00
Tofu Linden 6fbc79d5e8 Final(???) merge from viewer-release to viewer-public. 2010-08-24 14:52:05 +01:00
Xiaohong Bao 17553add7c added a toggle "LLGLManager::mDebugGPU" for debugging certain CPUs.
added more debug code for EXT-6791: [crashhunters] Intel 965 Crash in glCopyTexSubImage2D
2010-08-23 11:32:58 -06:00
Xiaohong Bao f263ee0444 added a toggle "LLGLManager::mDebugGPU" for debugging certain CPUs.
added more debug code for EXT-6791: [crashhunters] Intel 965 Crash in glCopyTexSubImage2D
2010-08-23 11:32:58 -06:00
Richard Linden 45b6098477 EXT-8525 FIX ellipsis are broken on the Favorites bar (trunk) 2010-08-19 17:35:08 -07:00
Richard Linden 4075efaf0d EXT-8525 FIX ellipsis are broken on the Favorites bar (trunk) 2010-08-19 17:35:08 -07:00