summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.cpp
AgeCommit message (Collapse)Author
2022-12-12Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2022-10-17SL-18221 Water texture does not load after clearing cacheAndrey Kleshchev
Water texture should load only after having caps. Prefetch textures should load only after having caps. Prefetch list is now per grid
2022-09-23SL-18221 Water texture does not load after clearing cacheAndrey Kleshchev
Water texture should load only after having caps. Prefetch textures should load only after having caps. Prefetch list is now per grid
2022-09-20SL-18065 Fix bake textures' fetch loopAndrey Kleshchev
2022-09-16SL-17723 Remove use of UDP image fetchMnikolenko Productengine
2022-08-30Merge remote-tracking branch 'remotes/origin/DRTVWR-563' into DRTVWR-559Dave Parks
2022-08-30SL-17997 Fix for crash on shutdownDave Parks
2022-07-13SL-17723 Remove use of UDP image fetchMnikolenko Productengine
2022-06-09SL-17483: Merge branch 'DRTVWR-563' of viewer into sl-17483Nat Goodspeed
2022-06-09SL-17483: Recast LLImageDecodeThread as a facade for ThreadPool.Nat Goodspeed
Remove all references to LLQueuedThread (but emulate a couple bits of its API such as handle_t and getPending()). Migrate ImageRequest into llimageworker.cpp. It has never been part of LLImageDecodeThread's public API. Remove ImageRequest tests. Remove all references to LLImageDecodeThread::pause(). The idea of pausing another thread is bizarre to me, and LLThreadPool has no such operation. Nor does it have an abortRequest().
2022-06-07Merged in SL-17489 (pull request #1010)Sabrina Shanman
SL-17489 Approved-by: Dave Parks
2022-06-07SL-17547 Fix for crash on shutdown introduced in last commit.Dave Parks
2022-06-07SL-17547 Fix for crash in getCurrentDiscardLevelForFetching (and add runtime ↵Dave Parks
check and assertion to avoid crash in production and detect crash in development).
2022-06-07SL-17489: Fix map tile log spam and resulting excessive invalid texture ↵Cosmic Linden
requests. This was affecting map tiles that the agent is not allowed to see (HTTP error: 403 forbidden). The URLs of these map tile requests were then getting cleared, so when these map tiles were re-requested (up to 10 times per second, from LLViewerFetchedTexture::updateFetch), the request would use the wrong URL and get a 404. Stay in DONE state if there is no new work to do, reducing unneeded requests for textures while leaving open the possibility to re-request a texture at different resolution. Alternatively, we could introduce a new FAILED state here. The current DONE state has nuance, and can either mean "texture loading failed" or "texture successfully loaded at a certain LOD." And a 4xx error is generally irrecoverable. Will strongly consider a FAILED state. Also, don't clear the map URL, so that any future network requests for the map textures request the correct resource.
2022-06-06SL-17489: Improve warning message for fetching texture with improper URLCosmic Linden
2022-06-02SL-17285 Add proper reflection probe support to LLVOVolume, LLPrimitive, and ↵Dave Parks
LLPanelVolume
2022-06-01SL-17485 Remove unused members to make mac build happy.Dave Parks
2022-05-31SL-17490 Only update a subset of textures each frame and remove dead debug code.Dave Parks
2022-05-10SL-17219: Delete some unused declarations.Nat Goodspeed
These trigger fatal warnings on Mac.
2022-05-10SL-17219: Fix bug: dangling pointer to destroyed std::string.Nat Goodspeed
2022-04-15SL-17219 WIP - Texture pipeline overhaulDave Parks
2022-03-01Merge branch 'master' (DRTVWR-557) into DRTVWR-546Andrey Kleshchev
# Conflicts: # autobuild.xml # doc/contributions.txt # indra/cmake/GLOD.cmake # indra/llcommon/tests/llprocess_test.cpp # indra/newview/VIEWER_VERSION.txt # indra/newview/lldrawpoolavatar.cpp # indra/newview/llfloatermodelpreview.cpp # indra/newview/llmodelpreview.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/llvovolume.cpp # indra/newview/viewer_manifest.py
2021-10-22mergeBrad Payne (Vir Linden)
2021-10-11SL-16099 Multi-threaded OpenGL usage on Windows, enable Core Profile and ↵Dave Parks
VAOs by default.
2021-09-28SL-15999 - noninteractive mode: create minimal objects,load no texturesBrad Payne (Vir Linden)
2021-04-29SL-15177 Added LLTextureFetchTester to log texture fetching state timersMnikolenko Productengine
2020-05-25SL-12889 Failed to cache image crashesAndrey Kleshchev
2019-05-29SL-11309 Crash on attempt to costruct singletoneandreykproductengine
2019-05-06SL-11074 FIXED "Cache Hit Rate" in Statistics is brokenmaxim_productengine
2019-04-02Merged in lindenlab/viewer-bearAndreyL ProductEngine
2019-01-14SL-10291 Replace apr_mutex with standard C++11 functionalityandreykproductengine
2018-06-27MergeGraham Linden
2018-05-18Merge 5.1.5Graham Linden graham@lindenlab.com
2018-04-11Add stats for tex cache read / decode / fetch latency for comparison of old ↵Graham Linden graham@lindenlab.com
cache code with TCO.
2018-01-30MAINT-8091 Removed deprecated and unused private memory poolingAndrey Kleshchev
2017-12-05MAINT-2124 Texture allocation issuesandreykproductengine
2017-10-12MAINT-7081 [FIXED] Access (write) violation / buffer overrun in ↵Kitty Barnett
LLTextureFetchWorker::doWork() The trouble lines are: U8 * buffer = (U8 *) ALLOCATE_MEM(LLImageBase::getPrivatePool(), total_size); if (cur_size > 0) { memcpy(buffer, mFormattedImage->getData(), cur_size); } If 'cur_size > mHttpReplyOffset + append_size' then 'total_size -= src_offset' will cause total_size to be smaller than cur_size causing a write access violation on the memcpy. Since the response is invalid it seemed best to make it follow the other failed partial condition. (transplanted from 737e28ec6b4d74f3ff915a4effc13d7b615a6a9b)
2017-10-18MAINT-7779 Logging updateandreykproductengine
2017-09-20SL-683 Fixed Logging parameters not taking effect immediatelyandreykproductengine
2017-05-09MAINT-7343 - improved error case handling and checking for unlikely cornersBrad Payne (Vir Linden)
2017-04-26MAINT-7343 - added periodic logging of state of the asset store.Brad Payne (Vir Linden)
2017-03-29MAINT-7166 - diagnostics for movementBrad Payne (Vir Linden)
2017-03-21SL-409 - added version field = 2 to asset stats, made viewer-side metrics ↵Brad Payne (Vir Linden)
files exactly match the payload sent to simulator.
2017-03-10SL-409 - fixes for viewer asset metrics. Copy and/or assignment of Recording ↵Brad Payne (Vir Linden)
objects is failing, changed to create LLSD blob earlier and just copy that.
2017-03-07SL-409 - added size stats to metrics for texturesBrad Payne (Vir Linden)
2017-03-06SL-409 - consolidated user of ViewerAsset cap for mesh and texture fetching ↵Brad Payne (Vir Linden)
as well.
2016-05-06merge 4.0.4-release and MAINT-5974Oz Linden
2016-04-04merge with 4.0.3-releaseOz Linden
2016-04-01Merged in lindenlab/viewer-bearAndreyL ProductEngine
2016-03-29MAINT-6257 Textures loading issues.andreykproductengine