summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.h
AgeCommit message (Collapse)Author
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-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.
2015-11-10remove execute permission from many files that should not have itOz Linden
2013-10-21MergeXiaohong Bao
2013-10-10MAINT-2968 Fix for crash on AMD hardware running current drivers.Dave Parks
2013-10-08merge from 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-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-06-21Automated merge with file:///F:%5Cviewer-bearDave Parks
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-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-04MAINT-2371 More optimizations.Dave Parks
Reviewed by Graham
2013-02-26MAINT-2371 First set of profile guided optimizations.Dave Parks
Reviewed by Graham
2012-05-21MAINT-616 Factor out calls to glGenFoo where possible, add setting to ↵Dave Parks
control synchronizing strategy WRT occlusion queries, add experimental transform feedback driven LoD update
2012-05-15MAINT-616 Different VBO Pooling scheme -- populate VBO pool with buffers ↵Dave Parks
that are likely to be requested, but never reuse a previously used buffer.
2012-04-26Automated merge with http://hg.secondlife.com/viewer-releaseNat Goodspeed
2012-03-13MAINT-708 Reduce amount of video memory consumed by vertex buffer objects.Dave Parks
2012-02-06SH-2794, resolved merge conflict and corrected logic in ↵Leslie Linden
LLVertexBuffer::determineUsage() to work the way it used to.
2012-02-06merge, conflicts in llvertexbuffer.{h,cpp}Brad Payne (Vir Linden)
2012-01-26Fix for windows buildDave Parks
2012-01-26* Fixed up shader compilation errors to get lighting and shadows working ↵Leslie Linden
again on Mac. * Cleaned up vertex buffer allocation to guarantee allocation and deallocation using the same allocation methods from the same pools. * Added new shader feature for atmospheric helpers in the absence of lighting. Reviewed by davep.
2012-01-19SH-2794 Fix for bad textures on some hardware when vbo mapping disabled ↵Dave Parks
(always use GL_STREAM_DRAW as the usage hint when mapping is disabled as geometry will be uploaded again and again)
2012-01-18SH-2794 Map buffer now performs as well as buffersubdataDave Parks
2011-12-21SH-2794 WIP -- work on getting glMapBuffer and friends to behaveDave Parks
2011-10-13SH-1650 Mitigate memory fragmentation by holding onto and reusing VBOsDave Parks
2011-10-04SH-2428 Make GCC 4.4 happy by using LLVector4a striders with LLAlphaObject ↵Dave Parks
subclasses -- also vectorize particle VBO updates
2011-09-26SH-2244 changes to run in a core context on AMD hardware without generating ↵Dave Parks
deprecation or performance warnings
2011-09-23SH-2244 Vertex buffer cleanup, fix for bad vertices in rigged attachments, ↵Dave Parks
added "RenderUseVAO" debug setting to control whether or not to use VAO's in non-core GL profiles.
2011-09-23SH-2244 Better VAO support -- still slower than non-VAO implementation for ↵Dave Parks
some reason
2011-09-22SH-2244 Fix "RenderGLCoreProfile" actually make a core profile context and ↵Dave Parks
modify viewer to run under said context without generating errors.
2011-09-13mergeDave Parks
2011-08-31MergeXiaohong Bao
2011-08-10SH-2238, SH-2223, SH-SH-2242 glVertexAttrib throughout main render pipeline ↵Dave Parks
complete, preview renders and debug displays still pending. Also fixed a render glitch and a crash (JIRAs listed).
2011-08-08SH-2242 Work in progress migrating to glVertexAttrib everywhereDave Parks
2011-07-15Merge from viewer-developmentXiaohong Bao
2011-07-10SH-2038 Fix for some compiler errors from the apple tweaks -- also add a ↵Dave Parks
fence API (disabled for now).
2011-06-01SH-1682 Use GL_ARB_map_buffer_range to mitigate impact of mapping larger ↵Dave Parks
vertex buffer objects. Limit number of textures per batch to 6 (prevents frame stalls on NVIDIA).
2011-05-29SH-1682 Work in progress on using texture indexes to improve batch size ↵Dave Parks
(wow, super fast so far)
2011-04-15SH-1301 Add some extra asserts around VBO usage to try and narrow down a crash.Dave Parks
2011-03-29SH-1225 Import convex hull data from .slmDave Parks
2011-02-24MergeXiaohong Bao
2011-02-23apply private pool to VBOXiaohong Bao
2011-02-23Merge: Backed out changes for STORM-336 for merge due to complexity, will ↵Loren Shih
need to apply these manually.
2011-02-23separate vertex buffer and index buffer when map/unmap VBO. can be treated ↵Xiaohong Bao
as part of STORM-1011. reviewed by davep.
2011-02-23Automated merge up from viewer-development into mesh-developmentLoren Shih
2011-02-22SH-874 Better VBO usage hints, most notably don't use VBOs for occlusion ↵Dave Parks
queries if GL is set to not use VBOs for stream draw.