Andrey Kleshchev
ecac92c60c
#3627 Warn user about low memory on bad_alloc
2025-02-27 17:43:16 +02:00
Ansariel
9fdca96f8b
Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now
2024-07-08 20:27:14 +02:00
Ansariel
e2e37cced8
Fix line endlings
2024-05-22 22:40:26 +03:00
Ansariel
1b67dd855c
Merge remote-tracking branch 'origin/main' into DRTVWR-600-maint-A
...
# Conflicts:
# autobuild.xml
# indra/cmake/CMakeLists.txt
# indra/cmake/GoogleMock.cmake
# indra/llaudio/llaudioengine_fmodstudio.cpp
# indra/llaudio/llaudioengine_fmodstudio.h
# indra/llaudio/lllistener_fmodstudio.cpp
# indra/llaudio/lllistener_fmodstudio.h
# indra/llaudio/llstreamingaudio_fmodstudio.cpp
# indra/llaudio/llstreamingaudio_fmodstudio.h
# indra/llcharacter/llmultigesture.cpp
# indra/llcharacter/llmultigesture.h
# indra/llimage/llimage.cpp
# indra/llimage/llimagepng.cpp
# indra/llimage/llimageworker.cpp
# indra/llimage/tests/llimageworker_test.cpp
# indra/llmessage/tests/llmockhttpclient.h
# indra/llprimitive/llgltfmaterial.h
# indra/llrender/llfontfreetype.cpp
# indra/llui/llcombobox.cpp
# indra/llui/llfolderview.cpp
# indra/llui/llfolderviewmodel.h
# indra/llui/lllineeditor.cpp
# indra/llui/lllineeditor.h
# indra/llui/lltextbase.cpp
# indra/llui/lltextbase.h
# indra/llui/lltexteditor.cpp
# indra/llui/lltextvalidate.cpp
# indra/llui/lltextvalidate.h
# indra/llui/lluictrl.h
# indra/llui/llview.cpp
# indra/llwindow/llwindowmacosx.cpp
# indra/newview/app_settings/settings.xml
# indra/newview/llappearancemgr.cpp
# indra/newview/llappearancemgr.h
# indra/newview/llavatarpropertiesprocessor.cpp
# indra/newview/llavatarpropertiesprocessor.h
# indra/newview/llbreadcrumbview.cpp
# indra/newview/llbreadcrumbview.h
# indra/newview/llbreastmotion.cpp
# indra/newview/llbreastmotion.h
# indra/newview/llconversationmodel.h
# indra/newview/lldensityctrl.cpp
# indra/newview/lldensityctrl.h
# indra/newview/llface.inl
# indra/newview/llfloatereditsky.cpp
# indra/newview/llfloatereditwater.cpp
# indra/newview/llfloateremojipicker.h
# indra/newview/llfloaterimsessiontab.cpp
# indra/newview/llfloaterprofiletexture.cpp
# indra/newview/llfloaterprofiletexture.h
# indra/newview/llgesturemgr.cpp
# indra/newview/llgesturemgr.h
# indra/newview/llimpanel.cpp
# indra/newview/llimpanel.h
# indra/newview/llinventorybridge.cpp
# indra/newview/llinventorybridge.h
# indra/newview/llinventoryclipboard.cpp
# indra/newview/llinventoryclipboard.h
# indra/newview/llinventoryfunctions.cpp
# indra/newview/llinventoryfunctions.h
# indra/newview/llinventorygallery.cpp
# indra/newview/lllistbrowser.cpp
# indra/newview/lllistbrowser.h
# indra/newview/llpanelobjectinventory.cpp
# indra/newview/llpanelprofile.cpp
# indra/newview/llpanelprofile.h
# indra/newview/llpreviewgesture.cpp
# indra/newview/llsavedsettingsglue.cpp
# indra/newview/llsavedsettingsglue.h
# indra/newview/lltooldraganddrop.cpp
# indra/newview/llurllineeditorctrl.cpp
# indra/newview/llvectorperfoptions.cpp
# indra/newview/llvectorperfoptions.h
# indra/newview/llviewerparceloverlay.cpp
# indra/newview/llviewertexlayer.cpp
# indra/newview/llviewertexturelist.cpp
# indra/newview/macmain.h
# indra/test/test.cpp
2024-05-22 19:04:52 +02:00
Andrey Lihatskiy
1b68f71348
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
2024-04-29 07:56:09 +03:00
Ansariel
60d3dd98a4
Convert remaining BOOL to bool
2024-02-21 23:14:31 +02:00
Ansariel
b2c2713672
Convert BOOL to bool in llrender
2024-02-20 02:14:01 +02:00
Alexander Gavriliuk
74c8b028d4
SL-20743 Use LLMutex in LLImageBase for internal data thread-safety
2023-12-21 19:12:52 +01:00
RunitaiLinden
6f5f16e031
SL-19655 Remove concept of "low priority" updates (RenderDebugGLSession assertion stomping pass). Remove a couple unused debug settings and related code.
2023-05-17 13:40:33 -05:00
Dave Parks
830cb6b665
SL-19148 Decruft some forward shaders and drawpools. Fix HUDs being in wrong color space.
2023-02-03 17:18:39 -06:00
Brad Linden
5fabfa50d7
Merge remote-tracking branch 'origin/main' into DRTVWR-559
2023-02-02 12:11:40 -08:00
RunitaiLinden
7bd9d21e19
Optimizations, decruft, and intel compatibility pass ( #53 )
...
SL-18869, SL-18772 Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2023-01-19 09:13:45 -06:00
Dave Parks
03da83f235
SL-18788 Fix for legacy shiny not working until after restart when reflections probes are disabled.
2022-12-06 10:18:46 -06:00
Dave Parks
e2d1af5c4f
SL-18154 Profile guided optimizations -- remove some unneeded operations and make LLDrawPoolMaterials less branchy.
2022-11-17 13:35:39 -06:00
Dave Parks
8dc59e5ef3
SL-18128 Clear out much OpenGL cruft and switch to core profile on AMD
2022-09-16 16:25:26 -05:00
Howard Stearns
01d03edd85
SL-17967 - _ARB constant removal
2022-09-01 13:38:22 -07:00
ZiRee
94cb1ba16c
GCC11.1 does not like these being floats, so cast them to U32 before using them as array size: error: expression in new-declarator must have integral or enumeration type
2022-07-28 16:18:30 +00:00
Andrey Lihatskiy
3da7a50b71
Merge branch 'master' into DRTVWR-543-maint
...
# Conflicts:
# autobuild.xml
# indra/cmake/LLCommon.cmake
# indra/llcommon/CMakeLists.txt
# indra/llrender/llgl.cpp
# indra/newview/llappviewer.cpp
# indra/newview/llface.cpp
# indra/newview/llflexibleobject.cpp
# indra/newview/llvovolume.cpp
2022-05-27 02:51:33 +03:00
Nicky
84ca1a3c7a
Do not bit blast 0 into a non POD struct to zero it, rather use the default constructor.
...
There is a few peculiar differences in default member initializationn namely:
gamma > 1.0f; sun_norm > 0.0f, 1.0f, 0.0f, 1.0f; cloud_shadow > 1.0f; dome_radius > 1.0f; dome_offset > 1.0f
Which probably made the original memset produce the wrong result anyway as it differs from the value the
LLVOSky set (the default ctor of AtmosphericsVars) vs what the memset would produce in case of a force update (all 0s).
2022-02-12 18:47:31 +01:00
Ptolemy
2178d9fa57
SL-16606: Add profiler category ENVIRONMENT
2022-01-14 11:50:19 -08:00
Ptolemy
352b820258
SL-16606: Add profiler category DRAWABLE
2022-01-14 11:50:19 -08:00
Ptolemy
1be8a8d10b
Fix merge conflict
2021-10-29 15:11:42 -07:00
Dave Parks
8d20480c5f
SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton
2021-10-28 18:06:21 +00:00
Ptolemy
ad91d0fd92
SL-16127: Make another pass removing redundant LLSD op [] calls, unused vars, and use atmospheric already calculated
2021-10-27 10:05:13 -07:00
Ptolemy
4463d01aa9
SL-16127: More cleanup
2021-10-21 18:46:55 -07:00
Ptolemy
de3568f1fd
SL-16127: Cleanup consts
2021-10-21 18:46:31 -07:00
Ptolemy
de2c682607
SL-16127: Fix bug in int() not calling getDistanceMultiplier(), calc() not calling getTotalDensity()
2021-10-21 18:43:35 -07:00
Ptolemy
94d08a13d5
SL-16127: Use cached sky
2021-10-21 18:40:24 -07:00
Ptolemy
ee724fecdc
SL-16127: Cleanup indentation and whitespace to match coding style
2021-10-21 17:11:42 -07:00
Ptolemy
76487ce707
SL-16127: Use cache psky when possible
2021-10-21 17:10:51 -07:00
Ptolemy
6339eb7393
SL-16127: Cleanup trailing whitespace
2021-10-21 16:50:09 -07:00
Ptolemy
b58c15b1bd
SL-15096: Merge SovereignEngineer's fix for SL-14035 regression
2021-04-16 15:34:41 -07:00
maxim_productengine
edb4373f7d
SL-9775 FIXED EEP viewer crash when looking at the sun (which is playing parcel media)
2020-03-05 14:13:39 +02:00
Ptolemy
d87cc68a72
SL-12574 Cleanup inconsistent indentation
2020-02-25 13:25:15 -08:00
Ptolemy
b71e33b48c
SL-12574 Cleanup unused argument
2020-02-25 13:25:15 -08:00
Graham Linden
3609eabe54
Merge viewer-release 6.3.2
2019-09-10 12:07:01 -07:00
AndreyL ProductEngine
e8194e6aba
SL-11856 Backed out SL-11012
...
changeset: 0d43d9754b79
2019-09-03 00:25:07 +03:00
Graham Linden
c5724023dd
Work around issue with friend ops not accepting default params on Clang.
2019-08-28 15:27:23 -07:00
andreykproductengine
fd4a90858c
SL-11776 [EEP] Reduced frequency of sky updates by comparing data fuzzily
2019-08-28 21:51:22 +03:00
Graham Linden
a645648ffc
Remove unused vars to appease Clang.
2019-08-23 09:04:28 -07:00
Graham Linden
6932fa60d6
Best of both worlds for 11776.
2019-08-22 15:25:07 -07:00
Graham Linden
1acb59c8f5
SL-11776
...
Merge both solutions preserving the simpler of the two. Will revisit to catch the new code for timeslicing updates once it is debugged.
2019-08-22 14:57:33 -07:00
andreykproductengine
413884dfc5
SL-11776 Fixed moon's comparison condition
2019-08-22 21:48:20 +03:00
Graham Linden
8960a56f53
SL-11776
...
Fix false alarming sky updates and doing expensive CPU work for same sky pixels.
2019-08-22 11:19:04 -07:00
andreykproductengine
be74485334
SL-11776 Compensate freeze by spreading calculations
2019-08-22 20:33:34 +03:00
Graham Linden
5937a42224
SL-10566, SL-10677
...
Make sky updates only occur if the input atmospherics values have actually changed (perf optimization).
Make water rendering use specular color for coloring spec.
2019-08-12 14:25:35 -07:00
Graham Linden
41c7523e08
SL-11676
...
Make sun/moon textures render on Low/Low-Mid again.
Fix solar additive being present when moon was only heavenly body in sky.
2019-08-12 13:44:59 -07:00
Graham Linden
00590defe4
SL-11605
...
Fix broken throttling of sky/envmap updates.
2019-07-16 10:40:01 -07:00
Graham Linden
695ec5229f
Fix knock-on from touching the sky tex gen which also generated the shiny env map.
2019-07-11 08:33:41 -07:00
Graham Linden
d23bf2c16e
SL-11541 WIP
...
Make LLSettingsSky::gammaCorrect work like the soft scale clip and gamma correct from release.
Add transmittance effects to the low-end sky tex gen.
2019-07-10 13:02:09 -07:00