summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.cpp
AgeCommit message (Collapse)Author
2020-07-21Merge branch 'master' into DRTVWR-507-maintAndrey Lihatskiy
# Conflicts: # autobuild.xml
2020-05-06DRTVWR-476: Merge branch 'master' of lindenlab/viewer into DRTVWR-476-boost-1.72Nat Goodspeed
2020-04-29SL-13121 fixed typo errorMnikolenko Productengine
2020-03-26DRTVWR-440, make enabling GLdebug flag slightly less infinite-loopyDave Houlton
2020-03-25DRTVWR-476: Fix glVertexAttrib{IPointer,PointerARB}() OpenGL calls.Nat Goodspeed
VS 2017 complains about the same thing that clang does: casting S32 to GLvoid* can't possibly produce a valid pointer value because S32 can't fit a whole 64-bit pointer. To appease it, not only must we use reinterpret_cast, but we must first cast S32 to intptr_t and then reinterpret_cast THAT.
2019-07-29SL-11661 Backed out part of changeset 3a84abad1d46 to fix uploader crashandreykproductengine
2019-07-16SL-11605Graham Linden
Fix broken throttling of sky/envmap updates.
2019-07-16Add more asserts to try to catch 10761 before the driver kabooms.Graham Linden
2019-07-15SL-10761Graham Linden
Add code to force a usage hint when VBOs are disabled and make useBVOs reflect that as well.
2019-07-12SL-11109Graham Linden
Make shadowAlphaMask shader ignore vertex alpha before discards iff we're a fullbright object. Keep llappearance from stuffing dangling pointers into the alpha cache (crash iff you're using nSight debugging and disable readbacks).
2018-06-04MAINT-8686 Mode detailed VBO crash loggingandreykproductengine
2018-05-18Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2018-03-02Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2018-01-30Add construslantproductengine
2018-01-30MAINT-8091 Removed deprecated and unused private memory poolingAndrey Kleshchev
2018-01-17Merged in lindenlab/viewer-bearAndreyL ProductEngine
2018-01-17Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2018-01-12MAINT-7003 Crash in LLVBOPoolandreykproductengine
Error to help figuring out if error happens due to gl or memory issue
2017-12-18MAINT-8101 Added sanity check to confirm crash locationandreykproductengine
2017-11-29DRTVWR-418: Merge from latest viewer-releaseNat Goodspeed
2017-11-16MAINT-7228 Vertex buffer allocation failure handlingandreykproductengine
2017-11-03MAINT-7228 Substituted assert with errorandreykproductengine
2017-11-01MAINT-7228 Vertex buffer allocation failure handlingandreykproductengine
2017-11-22Merged in lindenlab/viewer-lynxAndreyL ProductEngine
2017-11-17MAINT-72 unmapBuffer crashandreykproductengine
2017-08-16merge changes for DRTVWR-439Oz Linden
2017-08-09MAINT-7652 Fix for crash in LLVertexBuffer::~LLVertexBuffer() destructorAndreyL ProductEngine
2016-12-15Backed out changeset: ebe10b4b1197AndreyL ProductEngine
2016-12-12MAINT-6125 - Mesh avatar deforms constantlyruslantproductengine
MAINT-6910 - [MAINT-RC] Some mesh turns invisible when camera is moved on the Maint-RC viewer only - caused by fix for MAINT-6125. Commulative fix. Fixed for booth ticket's in indra/newview/llvovolume.cpp Remained fixed, it's a small code improvements which is not related to MAINT-6125, MAINT-6910
2016-12-12MAINT-6125 - Mesh avatar deforms constantlyruslantproductengine
MAINT-6910 - [MAINT-RC] Some mesh turns invisible when camera is moved on the Maint-RC viewer only - caused by fix for MAINT-6125. Commulative fix. Fixed for booth ticket's in indra/newview/llvovolume.cpp Remained fixed, it's a small code improvements which is not related to MAINT-6125, MAINT-6910
2017-02-03Automated merge with ssh://bitbucket.org/lindenlab/viewer-releaseNat Goodspeed
2016-12-17DRTVWR-418: Merge backout of TYPE_INDEX / TYPE_MAX changeNat Goodspeed
2016-12-17Backed out changeset bb47510bda62: don't change TYPE_MAX.Nat Goodspeed
Ruslan points out that changing TYPE_MAX could lead to extra (useless) render passes. We will have to solve the TYPE_INDEX > TYPE_MAX problem another way.
2016-12-17DRTVWR-418: Update dubious llvertexbuffer.cpp cast comment.Nat Goodspeed
Ruslan assures me that in fact this usage is valid.
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