summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorAndrew Meadows <leviathan@lindenlab.com>2025-02-26 10:24:19 -0800
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-02-27 19:50:17 +0200
commitb52842ee2a328d80834f9a62c1b130ec757b9a03 (patch)
treeb2327dcd08fa4701fab7a76fffffaf6e8ec5264a /indra/newview/llappviewer.cpp
parent100861aec17239543b21b3356ed2d8d009ba77ac (diff)
theoretical earlier start to asset downloads during startup (#3589)
* process UDP packets earlier in startup sequence * call lazyAttach() when nonzero pending attachments
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 241dbeaae5..18ad19f6bc 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -349,8 +349,6 @@ std::string gLastVersionChannel;
LLVector3 gWindVec(3.0, 3.0, 0.0);
LLVector3 gRelativeWindVec(0.0, 0.0, 0.0);
-U32 gPacketsIn = 0;
-
bool gRandomizeFramerate = false;
bool gPeriodicSlowFrame = false;
@@ -359,6 +357,7 @@ bool gLLErrorActivated = false;
bool gLogoutInProgress = false;
bool gSimulateMemLeak = false;
+bool gDoDisconnect = false;
// We don't want anyone, especially threads working on the graphics pipeline,
// to have to block due to this WorkQueue being full.
@@ -372,7 +371,6 @@ const std::string MARKER_FILE_NAME("SecondLife.exec_marker");
const std::string START_MARKER_FILE_NAME("SecondLife.start_marker");
const std::string ERROR_MARKER_FILE_NAME("SecondLife.error_marker");
const std::string LOGOUT_MARKER_FILE_NAME("SecondLife.logout_marker");
-static bool gDoDisconnect = false;
static std::string gLaunchFileOnQuit;
// Used on Win32 for other apps to identify our window (eg, win_setup)
@@ -5393,7 +5391,6 @@ void LLAppViewer::idleNetwork()
}
total_decoded++;
- gPacketsIn++;
if (total_decoded > MESSAGE_MAX_PER_FRAME)
{