summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerjointmesh.cpp
AgeCommit message (Collapse)Author
2024-06-20Merge remote-tracking branch 'secondlife/release/maint-b' into maint-bErik Kundiman
2024-06-06Change LL_FREEBSD to already existing __FreeBSD__Erik Kundiman
So we don't need to have a custom environment -DLL_FREEBSD=1 setting.
2024-05-16Merge tag '7.1.7-release'Erik Kundiman
source for viewer 7.1.7.8974243247
2024-05-15Merge branch 'main' into marchcat/x-b-mergeAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/cmake/ConfigurePkgConfig.cmake # indra/cmake/ICU4C.cmake # indra/media_plugins/gstreamer010/llmediaimplgstreamer_syms.cpp # indra/media_plugins/gstreamer010/llmediaimplgstreamer_syms.h # indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h # indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.cpp # indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.h # indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp # indra/newview/llappviewerlinux_api.h # indra/newview/llappviewerlinux_api_dbus.cpp # indra/newview/llappviewerlinux_api_dbus.h # indra/newview/llfloateremojipicker.cpp # indra/newview/lloutfitslist.cpp
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2024-04-12Fix ASAN errors from LLVector4a::memcpyNonAliased16Nicky
Found by running with -fsanitze=thread Suggestion to avoid accessing invalid memory: In both cases memory will be allocated by can be accessed beyond bounds. In LLPolyMesh it can be off by at least one (+x%2). Though I am not even sure if even in best case it always will be a multiple of 16. In LLViewerJointMesh::updateFaceData the code tries to account for padding by, but the allocation in LLPolyMeshSharedData::allocateVertexData is done without any padding. Thus the sizes must not match. Replacing the calls with memcpy as a quick fix to see if the error goes away fixed address sanitzer complaining. It is up to debate if memcpy is a good replacement. LLVector4a::memcpyNonAliased16 was invented for performance. But on the other hand one could argue that nowadays every stdlib maintainer will very heavily optmize functions like memcpy themselves and could take advantage of CPU features the old LL implementation does not take into account. AVX comes to mind. In any case did I not measure any of this.
2023-09-10Merge branch 'main' into DRTVWR-559Erik Kundiman
2023-09-10Preprocess non portable OpenGL codeErik Kundiman
2023-09-05Exclude FBSD from more GL function redefinitionsErik Kundiman
at the same time revert to less difference from upstream.
2023-05-16DRTVWR-559 Decruft deprecated OpenGL flags.RunitaiLinden
2023-05-01SL-19656 Rewrite avatar and attachment render metrics to not interfere with ↵RunitaiLinden
render pipe and be representative of actual render cost instead of driver synchronization time. * SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time. * SL-19656 Remove now dead code (trackAttachments et al). * SL-19656 Fix for crash on GL <= 3.2
2023-04-26Merge remote-tracking branch 'origin/DRTVWR-539' into DRTVWR-559-merge-539Brad Linden
2023-01-19Optimizations, decruft, and intel compatibility pass (#53)RunitaiLinden
SL-18869, SL-18772 Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2022-09-21SL-18202 WIP merging autotune contribution and updating UIMnikolenko Productengine
2021-11-30SL-16386 purge no-op fxn LLTexUnit::setTextureColorBlend()Dave Houlton
2021-11-30SL-16386 purge no-op fxn LLTexUnit::setTextureBlendType()Dave Houlton
2021-11-30SL-16386 remove references to (const true) LLGLSLShader::sNoFixedFunctionDave Houlton
2021-10-28SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove ↵Dave Parks
LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton
2020-10-08DRTVWR-510 remove all LL_SOLARIS conditionalsDave Houlton
2020-07-02SL-11625 Fix for skewed baked texture offset valuesAndrey Lihatskiy
2018-12-06De-duplicate deferred gbuffer access for getPosition/getNorm.Graham Linden
De-duplicate ambient occlusion shader code and move to new aoUtil.glsl Split shared shadow tap funcs into shadowUtil.glsl
2016-05-21merged jelly-doll viewer-release into bentoBrad Payne (Vir Linden)
2016-02-26SL-109 WIP - minor code cleanupBrad Payne (Vir Linden)
2016-02-26SL-287 - default avatar handles position changes caused by extra spine jointsBrad Payne (Vir Linden)
2016-02-23SL-287 WIP - fixed default avatar crash caused by added spine joints. Still ↵Brad Payne (Vir Linden)
renders distorted.
2015-11-10remove execute permission from many files that should not have itOz Linden
2013-10-15renamed TimeBlock to BlockTimerStatHandleRichard Linden
2013-09-05changed fast timer over to using macroRichard Linden
another attempt to move mem stat into base class
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-11mergeprep
2012-09-09Fixed crashes on login. Moved most of the remaining character/skeleton ↵Don Kjer
generation code into llappearance. Moved non-rendering related LLViewerJoint functionality into LLAvatarJoint.
2012-09-07SH-3264 Porting over the XML loading of the avatar structure to llappearanceNyx (Neal Orman)
Moved over the necessary classes to llappearance to support the loading of the avatar's structure & params from file.
2012-09-04Split LLTexLayerSetBuffer into llappearance portion, and viewer-specific ↵Don Kjer
LLViewerTexLayerSetBuffer
2012-09-03Extracted texture baking system into llappearance library.Don Kjer
2012-07-30mergeBrad Payne (Vir Linden)
2012-07-11Pull in viewer-development because it's painful. Merge with runitai's help.simon@Simon-PC.lindenlab.com
2012-06-22mergeBrad Payne (Vir Linden)
2012-06-04mergeBrad Payne (Vir Linden)
2012-05-25Merge pull from lindenlab/viewer-development as requested by Oz for DRTVWR-148simon@Simon-PC.lindenlab.com
2012-05-02merge viewer-release to dranoBrad Payne (Vir Linden)
2012-02-27SH-2689 WIP - tracking cloud/gray/textured state for avs, display with ↵Brad Payne (Vir Linden)
rendering cost
2012-01-25SH-2565 Move resetVertexBuffer operation to a consistent location (also ↵Dave Parks
avoid redundant resetting of vertex buffers on detail switches). Change assertion to a warning with count info. Fix bytes pooled debug display. Remove unused static vertex buffer.
2012-01-04SH-2789 WIP - stricter calling of memcpyNonAliased16Brad Payne (Vir Linden)
2011-11-09SH-24114 Remove unused variablesDave Parks
2011-11-08SH-24114 Remove unused vectorization code (outdated/unused with SSE2 ↵Dave Parks
requirement and llvetor4a et al)
2011-10-04SH-2447, SH-2525, SH-2276 Strip out defunct global illumination code, add ↵Dave Parks
accounting for how much memory is taken up by LLRenderTarget, fix crash on login in bindGLIndices (work around driver bug that doesn't respect VAO state WRT to index buffers), remove some unused render targets, remove some unused shaders, make it possible to run a fullscreen session
2011-09-23SH-2244 Better VAO support -- still slower than non-VAO implementation for ↵Dave Parks
some reason