summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/lldiskcache.cpp
AgeCommit message (Collapse)Author
2024-05-20#1392 GLTF Upload (#1394)Dave Parks
* #1392 WIP -- Functional texture upload, stubbed out .bin upload. * #1392 GLTF Upload WIP -- Emulates successful upload Successfully uploads texture Emulates successful .gltf and .bin upload by injecting into local asset cache. Emulates rez from inventory by setting sculpt ID of selected object Currently fails in tinygltf parsing due to missing .bin * Add missing notification * Build fix * #1392 Add boost::json .gltf reading support. * #1392 boost::json GLTF writing prototype * Create gltf/README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * #1392 Add ability to render directly from LL::GLTF::Material * Fix for mac build * Mac build fix * #1392 AssetType and Inventory Type plumbing * #1392 More sane error handling and scheduling of uploads. * #1392 Actually attempt to upload glbin * Mac build fix, upload nudge * Mac build fix * Fix glTF asset uploads to server * Mac build fix (inline not static) * More consistent inline * Add glm, mac nudge. * #1392 For consistency with spec, start using glm over glh:: and LLFoo * Another attempt at placating Mac builds * Another Mac nudge * Mac build take 23 * #1392 Prune LLMatrix4a from GLTF namespace. * #1392 Fix for orientation being off (glm::quat is wxyz, not xyzw) * #1392 WIP -- Actually send the sculpt type and id, nudge readme and alpha rendering * #1392 Working download! * #1394 Add support for GLTFEnabled SimulatorFeature * #1392 Review feedback --------- Co-authored-by: Pepper Linden <3782201+rohvani@users.noreply.github.com>
2023-03-29Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2023-01-18SL-18773 Crash incrementing directory_iteratorAndrey Kleshchev
make_iterator_range doesn't verify errors, replaced with basic increments
2022-10-21Merge branch 'master' (DRTVWR-548) into DRTVWR-559Andrey Kleshchev
# Conflicts: # indra/llrender/llgl.cpp # indra/llrender/llrendertarget.cpp # indra/newview/VIEWER_VERSION.txt # indra/newview/app_settings/shaders/class1/deferred/materialF.glsl # indra/newview/llfloaterpreference.cpp # indra/newview/llviewercontrol.cpp # indra/newview/llviewermenu.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/llvovolume.cpp
2022-09-16Merge branch master (DRTVWR-571) into DRTVWR-559Andrey Kleshchev
# Conflicts: # indra/newview/llpanelface.cpp # indra/newview/llpanelface.h
2022-09-15Merge branch 'master' into DRTVWR-548-maint-NAndrey Lihatskiy
# Conflicts: # indra/newview/llmodelpreview.h
2022-06-28SL-17379 More complete integration of material asset typeDave Parks
2022-06-24SL-17329: Remove unused extra variable initializationCosmic Linden
2022-06-22SL-17329: Do logging of individual files after the disk cache purge finishes ↵Cosmic Linden
so it doesn't affect the time measurement. The time resolution of the debug log is in seconds, so it's not particularly useful. Arguably, one could remove this fine logging in favor of Tracy markers. Or have both. Depends on the use case.
2022-01-11SL-15083 Remove old vfs filesMnikolenko Productengine
2021-06-11boost::filesystem::directory_iterator uses throw-behavior by default as wellAnsariel
2021-06-11Change all remaining boost::filesystem methods to their non-throwing overloadsAnsariel
2021-06-10Fix more crashes in disk cache due to boost error handlingAnsariel
2021-05-18SL-15200: LLPurgeDiskCacheThread's CHECK_INTERVAL is secs.Nat Goodspeed
2021-05-17SL-15200: Use new LLApp::sleep() in LLPurgeDiskCacheThread::run().Nat Goodspeed
2021-05-17SL-15200: Explain why purge() is called on another thread.Nat Goodspeed
Also add Ansariel's explanation for why interaction through the filesystem itself should be safe.
2021-05-17BUG-230673: Add warning that LLDiskCache::purge() is also called from ↵Ansariel
outside the main thread
2021-05-12BUG-230673: Trim asset disk cache regularlyAnsariel
2021-05-11Merge branch 'DRTVWR-519' of https://bitbucket.org/lindenlab/viewer into ↵Callum Prentice
DRTVWR-519
2021-05-11Fix for SL-15226 Simple cache viewer: Integer overflow in cache size - via ↵Callum Prentice
FS:Ansariel
2021-05-11BUG-230697: Do not crash viewer during cache cleanupAnsariel
2021-03-09Remove debugging tagsCallum Prentice
2021-03-09Ansariel kindly offered their patch to help mitigate this round of file ↵Callum Prentice
system issues - taken from https://vcs.firestormviewer.org/phoenix-firestorm/changeset/104a8600946be01e2de44d10ad069ba854272d1f
2021-03-09This set of changes reverts the merge with master (git revert c83e740) and ↵Callum Prentice
results in a version of the DRTVWR-519 that matches what was presemt before it was deployed as a release viewer *plus* 3 small fixes from Maxim (See commits). This branch can now be used for additional fixes before eventually being used to release D-519 as normal
2021-03-08Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into ↵Brad Payne (Vir Linden)
DRTVWR-519" This reverts commit e61f485a04dc8c8ac6bcf6a24848359092884d14, reversing changes made to 00c47d079f7e958e473ed4083a7f7691fa02dcd5.
2021-01-08Addresses SL-14582: Add code to only write the file last access time ↵Callum Prentice
occasionally
2020-12-11SL-14505 FIXED [Win10] The viewer isn't started on the non-English system localeMnikolenko Productengine
2020-10-27Fix for meta issue: SL-14210 Prune descriptive tag from new cache filenamesCallum Prentice
2020-10-08Purge excessive files from disc cache each startupMnikolenko Productengine
2020-10-07Improve, rationalize and expand commentsCallum Prentice
2020-10-07Add in some cache stats for the about boxCallum Prentice
2020-10-07This changeset hooks up many things that have been in progress and moves ↵Callum Prentice
things about between llfilesystem and lldiskcache - there is still some bookkeeping work left but this is the first version that appears to work and actively manage the cache
2020-10-06Add in the C++ filesystem based cache and clean up some indempotent ↵Callum Prentice
functions in llfilesystem
2020-09-24Complete the change from lldiskcache -> llfilesystem and then addition of ↵Callum Prentice
new lldiskcache implementation
2020-09-24Rename lldiskcache.* to llfilesystem.* - i think this is the right name ↵Callum Prentice
since it's responsible for performing file system operations and (will eventually) delegrate to a separate disk cache component to save/load data and keep track of metadata etc.
2020-09-17The folder where the disk cache lives was originally renamed from llvfs to ↵Callum Prentice
llcache but @henri's suggestion that that doesn't reflect the other files in the same place and it should be llfilesystem is a good one so I changed it over