summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.cpp
AgeCommit message (Collapse)Author
2016-12-16DRTVWR-418: Work around dubious cast from S32 to GLvoid*Nat Goodspeed
when passing -- something -- to glVertexAttribPointerARB() in LLVertexBuffer::setupVertexArray().
2016-12-16DRTVWR-418: Put TYPE_INDEX within TYPE_MAX: stop undefined indexing.Nat Goodspeed
LLVertexBuffer::TYPE_INDEX was past TYPE_MAX, which is used to set the maximum sizes of various (scattered) arrays, bleh. The alarm bells that this SHOULD set off are indeed correct: TYPE_INDEX was being used to index at least one of those arrays, meaning we've been indexing past the end of that array, meaning undefined behavior. The enum that defines both TYPE_INDEX and TYPE_MAX provides a helpful comment indicating what things must be updated when modifying the enum. (Far better to define things centrally in a single place... but another time.) Update the designated arrays to include a final TYPE_INDEX entry. Contents of those entries are wild guesses -- but even wild guesses are better than completely indeterminate data.
2016-08-05MAINT-5018 crashing when touching meshruslantproductengine
Fix #1 Disable FSAA for drawing selected objects (it help to avoid crash on old ATI cards (in my case it's a HD3800)).
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-11-17Attempt wider disable of using profile API when timer query is not presentGraham Linden
2013-10-21MergeXiaohong Bao
2013-10-15renamed TimeBlock to BlockTimerStatHandleRichard Linden
2013-10-14changed ll_aligned_(malloc|free) to take alignment size as a template argumentRichard Linden
2013-10-10MAINT-2968 Fix for crash on AMD hardware running current drivers.Dave Parks
2013-10-08merge from viewer-releaseRichard Linden
2013-10-03added initial memory usage tracking for lltraceRichard Linden
2013-10-01Automated merge with http://bitbucket.org/lindenlab/viewer-releaseRichard Linden
2013-10-01changed over to manual naming of MemTrackable statsRichard Linden
changed claimMem and disclaimMem behavior to not pass through argument added more mem tracking stats to floater_stats
2013-09-18The unbearable lightness of being norspecGraham Linden
2013-09-05changed fast timer over to using macroRichard Linden
another attempt to move mem stat into base class
2013-08-19Fix merge regressions from missed changes to LoD updatesGraham Linden
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30NORSPEC-314 cleanup debug-only code...seems to fix NORSPEC-328 as well somehowGraham Linden
2013-07-29NORSPEC-314 WIP fix srgb_mac use and issues found with RenderDebugGL on MacGraham Madarasz (Graham Linden)
2013-07-16Add info to vert buffer warnings to track down fullbright alpha mask crasherGraham Linden
2013-06-21Automated merge with file:///F:%5Cviewer-bearDave Parks
2013-06-20merge with releaseRichard Linden
2013-06-05merge with viewer-releaseRichard Linden
2013-06-03NORSPEC-229 Fix for bad binormals on mirrored surfaces (use tangent ↵Dave Parks
calculator instead of binormal calculator, convert binormal centric code to tangent centric)
2013-05-09Merge downstream code and viewer-betasimon
2013-04-25Merge 3.5.1 into MaterialsGraham Madarasz
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-04-17NORSPEC-59 and NORSPEC-133 work-around crash with RenderDebugGL on and fix ↵Graham Madarasz
breakage in shaders from Mac changes
2013-04-15NORSPEC-49 Add shader profiler, add support for ARB_depth_clamp where availableDave Parks
2013-04-11Merge in downstream code (chui fixes, materials)simon
2013-04-02NORSPEC-74 Fix for assert when Debug GL enabled when rendering materials.Dave Parks
2013-03-29NORSPEC-65 Hook up texture offset/scale/rotation for normal and specular maps.Dave Parks
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-13MergeDave Parks
2013-03-13MAINT-2410 Extra Particle Parameters -- viewer implementationDave Parks
Reviewed by Kelly and Graham
2013-03-12Merge pragma warning hack to fix linux buildGraham Madarasz (Graham Linden)
2013-03-04MAINT-2371 More optimizations.Dave Parks
Reviewed by Graham
2013-02-26MAINT-2371 First set of profile guided optimizations.Dave Parks
Reviewed by Graham
2013-01-24merging in viewer-beta.Nyx Linden
Most of the merge was clean, a couple conflicts. Brought over a couple patches manually for llpolymesh.
2012-12-04Pull and merge viewer-developmentsimon@Simon-PC.lindenlab.com
2012-11-28SH-3563. Pull and merge from viewer-development. Modest code changes to fix ↵prep
alignment issue in llAppearance.
2012-11-20Automated merge with https://bitbucket.org/lindenlab/viewer-developmentDave Parks
2012-11-19merge with viewer-developmentRichard Linden
2012-11-14SH-3406 WIP convert fast timers to lltrace systemRichard Linden
cleaning up build moved most includes of windows.h to llwin32headers.h to disable min/max macros, etc streamlined Time class and consolidated functionality in BlockTimer class llfasttimer is no longer included via llstring.h, so had to add it manually in several places
2012-10-15Merge in viewer-development code and fix buildsimon@Simon-PC.lindenlab.com
2012-10-11Updating linux build to gcc4.6Don Kjer
2012-10-06Added fast timers for baked texture rendering. Updated appearance utilityDon Kjer
2012-09-20Pull and merge from ↵William Todd Stinson
ssh://hg@bitbucket.org/stinson_linden/viewer-beta-drtvwr-179.
2012-09-19BUILDFIX: enabling the building of the viewer/appearance backend with ↵Nyx Linden
headless mesa
2012-09-10Backing out the changes contributing to DRTVWR-167 and DRTVWR-179 from the ↵William Todd Stinson
repository.