Commit Graph

204 Commits (cdc9852f052d804f8b25564ab7d90eb2b79cddd4)

Author SHA1 Message Date
RunitaiLinden cdc9852f05 SL-19709 Fix for fullbright shiny not factoring out exposure and flickering fullbright alpha. Incidental decruft. 2023-05-15 11:01:24 -05:00
cosmic-linden 06be53fef7
Merge pull request #206 from secondlife/SL-19644
SL-19644: De-virtualize pushBatch
2023-05-08 11:05:24 -07:00
Cosmic Linden 307d31116d SL-19644: De-virtualize pushBatch
Bump still uses its own pushBumpBatch function - OK, works the same as
before.
2023-05-05 11:32:56 -07:00
RunitaiLinden 334d71e910
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 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-05-01 17:05:09 -05:00
Cosmic Linden 6b83fabf72 SL-19644: Move GLTF transform reset out of pushBatch 2023-04-28 10:36:26 -07:00
Brad Linden e2dc40a76e SL-19656 disabling trackAttachments() code after DRTVWR-559 & DRTVWR-539 merge 2023-04-26 17:19:29 -07:00
Brad Linden 369945b45d Merge remote-tracking branch 'origin/DRTVWR-539' into DRTVWR-559-merge-539 2023-04-26 15:38:47 -07:00
Cosmic Linden 005a5fa207 SL-19606: Fix missing GLTF texture transforms in PBR alpha mask/alpha blend shadows 2023-04-21 15:10:05 -07:00
cosmic-linden d6d634d29f
SL-19331: Move media updates off-thread on select hardware (#153)
* SL-19331: Have media updates on the LLImageGL thread even when texture updates are on the main thread. Add config.

Off-thread media updates seem work best performance-wise when using glTexImage2D, not sub_image_lines. Otherwise, there are lots of main thread stalls.

* SL-19331: Bump featuretable

* SL-19331: Cleanup, annotate comment
2023-04-05 11:55:33 -05:00
Mnikolenko Productengine 41d24952ff Merge branch 'main' into DRTVWR-539
# Conflicts:
#	indra/integration_tests/llui_libtest/CMakeLists.txt
#	indra/newview/llfloateravatarrendersettings.cpp
2023-03-31 17:17:21 +03:00
Brad Linden a548c16989 Merge remote-tracking branch 'origin/main' into DRTVWR-559 2023-03-29 14:54:06 -07: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
Dave Parks 6f136d403b SL-19000 Fix various 3D UI components not respecting depth buffer. Incidental decruft. Do I get a prize for 1000th jira? 2023-02-01 17:09:34 -06:00
Dave Parks c9d56e212a SL-19015 Balance sun/sky ambiance with punctual light ambiance. Prevent irradiance maps from being brighter than the environment. 2023-01-31 15:01:05 -06: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
Andrey Lihatskiy f9866a3543 Merge branch 'main' into DRTVWR-573-maint-R
# Conflicts:
#	autobuild.xml
#	indra/newview/llagent.cpp
#	indra/newview/llimview.cpp
#	indra/newview/llimview.h
#	indra/newview/llinventoryfunctions.cpp
#	indra/newview/llpanelmediasettingsgeneral.cpp
#	indra/newview/pipeline.cpp
2023-01-12 04:37:42 +02:00
Dave Parks a710bf9067 SL-18869 Optimizations -- Use _mm_prefetch to cut down on cache misses when iterating over render batches. 2023-01-09 15:18:57 -06:00
Mnikolenko Productengine 553a98723b Merge branch 'main' into DRTVWR-539
# Conflicts:
#	doc/contributions.txt
#	indra/newview/llappviewer.cpp
#	indra/newview/skins/default/colors.xml
2022-12-13 08:05:03 +02: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
Andrey Kleshchev 7ceb266604 SL-18565 Built-in bump maps and some environment textures fail to load
Due to udp texture fetching no longer being present
2022-12-03 00:24:04 +02:00
Dave Parks e46323b0b9 SL-18682 WIP -- Clear BOOST_SELECTED as needed. GL 3.2 compatibility pass. Fix for stack underflow when reflection probes disabled. 2022-11-29 10:50:25 -06:00
Dave Parks dfa76a56e3 SL-18700 Fix for shiny fullbright objects not rendering. 2022-11-22 16:47:15 -06:00
Andrey Kleshchev 45b26b2444 SL-18565 restoreGL should re-add bumpmaps 2022-11-21 20:22:47 +02:00
Henri Beauchamp 9c5043d8c6 Fix a thread safety issue in the GL image worker.
LLViewerTexture::mNeedsCreateTexture needs to be an attomic bool since
it is written both in the main thread and in the GL image worker thread.

We can now enable threaded bump maps creation as a result of this fix.

I have read the CLA Document and I hereby sign the CLA
2022-11-19 21:42:41 +01:00
Dave Parks 8d2ac419b2 SL-18154 Profile guided optimizations vs release viewer. Trim some unused abilities and remove some more fast timers. 2022-11-16 14:49:17 -06:00
Andrey Kleshchev 6a6b10020e SL-18565 Built-in bump maps and some environment textures fail to load
Due to udp texture fetching no longer being present
2022-11-03 23:51:05 +02:00
Dave Parks 9448db5d4a SL-18190 Water shader WIP. Better parallax correction for sphere probes. Reduce probe memory footprint. Remove framebuffer copies and move to deprecate stencil buffer usage. 2022-10-06 18:40:01 -05:00
Dave Parks e5d463ca20 SL-17705 Backwards compatibility pass. Support OpenGL pre-4.0 by disabling reflection probes and anti-aliasing. Get render parity with current release viewer when reflection probes are disabled. 2022-09-22 17:27:18 -05:00
Mnikolenko Productengine b66f2e7da7 SL-18202 WIP merging autotune contribution and updating UI 2022-09-21 21:19:17 +03:00
Dave Parks 963566821d SL-17927 Keep people from shooting themselves in the foot by twiddling deprecated settings. 2022-08-08 14:55:15 -05:00
Dave Houlton 78c6c341c5 Merge master v 6.6.1 into DRTVWR-559 2022-05-26 16:16:47 -06:00
Dave Parks 3564b24e2a SL-17286 Reflection probe alpha/fullbright support. 2022-05-19 22:24:41 -05:00
Dave Parks c1deab5ba7 SL-17417 Fix for incorrect reflection orientation on fullbright prims. 2022-05-18 15:55:24 -05:00
Dave Parks c7ddba7eb4 SL-17417 Fix for incorrect reflection orientation on some moving child prims. 2022-05-16 16:02:38 -05:00
Dave Parks 3400e5fd30 SL-17284 Reflection probe tuning and optimization take 1 2022-05-16 17:21:08 +00:00
Dave Parks 9dc8fee0f5 SL-16928 Fix for broken bumpmaps on Intel GPUs 2022-03-04 17:05:05 -06:00
Dave Parks d9a68339d5 SL-16815 and SL-16906 Avoid redundant bumpmap generation, add some assertions around ref counting and (hack) fix crash on shutdown from dangling texture reference (reduced to 1 dangling texture from several hundred, can't find the remaining reference). 2022-02-23 16:51:33 -06:00
Dave Parks 8ffe3b7b30 Fix for mac build 2022-02-23 16:04:31 -06:00
Dave Parks 74641a1213 SL-16815 Cleanup -- disable multithreaded bumpmap generation while tracking down loading issues, fix sync issue in single threaded mode in media textures, restore LL_IMAGEGL_THREAD_CHECK functionality 2022-02-22 19:48:01 -06:00
Dave Parks 1c5c45f273 SL-16815 Fix for broken media texture updates when multithreaded GL is disabled. 2022-02-22 14:58:50 -06:00
Dave Parks 1461e4d437 SL-16815 Fix for crash when disabling ALM. 2022-02-18 15:52:24 -06:00
Dave Parks 0d6aa3c0fe SL-16815 Remove frame stalls from occlusion queries, bumpmap updates, and querying for available video memory. 2022-02-17 22:52:23 +00:00
Ptolemy cfd39c3663 SL-16606: Add profiler category DRAWPOOL 2022-01-14 11:50:19 -08:00
Dave Parks 511de439a3 SL-16405 Remove “pass == <magic number>” anti-pattern from various drawpools. 2021-12-02 20:11:43 +00:00
Dave Houlton 7a5ef999d0 SL-16386 consolidate all VertexShader capability checks to a single LLPipeline::shadersLoaded() 2021-11-30 17:04:35 -07:00
Dave Houlton 4d6963bd81 SL-16386 purge write-only state member LLCubeMap::mTextureCoordStage 2021-11-30 17:04:35 -07:00
Dave Houlton fab60f242e SL-16386 purge no-op fxn LLTexUnit::setTextureAlphaBlend() 2021-11-30 17:04:35 -07:00
Dave Houlton 3d1901dd4c SL-16386 purge no-op fxn LLTexUnit::setTextureColorBlend() 2021-11-30 17:04:35 -07:00
Dave Houlton 5fcea00c4f SL-16386 purge no-op fxn LLTexUnit::setTextureBlendType() 2021-11-30 17:04:35 -07:00
Dave Houlton 68e09edad0 SL-16386 remove references to (const true) LLGLSLShader::sNoFixedFunction 2021-11-30 17:04:35 -07:00