summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-04Make FreeBSD gets what Linux gets in llwindowErik Kundiman
2024-11-04VRAM detection implementation using GLX MesaErik Kundiman
Plus make FreeBSD gets what Linux gets in the llgl.cpp file.
2024-11-04Fix core profile set not taking effect on SDL2Erik Kundiman
From https://wiki.libsdl.org/SDL2/MigrationGuide "So now that your window is back on the screen, let's talk strategy. SDL2 still has SDL_Surface, but what you want, if possible, is the new SDL_Texture. Surfaces are always in system RAM now, and are always operated on by the CPU, so we want to get away from there. SDL2 has a new rendering API. It's meant for use by simple 2D games, but most notably, it's meant to get all that software rendering into video RAM and onto the GPU. And even if you just want to use it to get your software renderer's work to the screen, it brings some very nice benefits: if possible, it will use OpenGL or Direct3D behind the scenes, which means you'll get faster blits, a working Steam Overlay, and scaling for free."
2024-11-04Force the GL profile to be the core oneErik Kundiman
on all platforms, not only on Darwin.
2024-11-04Set so restrict & use-after-free aren't GCC errorsErik Kundiman
2024-11-04Changes to build with --std=c++20 and some other compiler options.Hiroo Ono
2024-11-03Merge remote-tracking branch 'secondlife/release/maint-c' into maint-cErik Kundiman
2024-11-03Revert "Legacy search floater"Erik Kundiman
This reverts commit 17e9bcbf628aa5bda84a36fc7daa9c6041e1bada.
2024-11-03Revert "CMakeLists adding fsfloatersearch.h"Erik Kundiman
This reverts commit 18a02a0c8f7a73cd44e8fe4f3c3b23a9195f2730.
2024-11-03Revert "Attempt to fix the teleport issue from legacy search"Erik Kundiman
This reverts commit a68c5bae3173bfeda314f1d8278b80622496c11e.
2024-11-03Merge remote-tracking branch 'secondlife/release/maint-c' into maint-cErik Kundiman
2024-10-31Give control over thread queue's automatic shutdownAndrey Kleshchev
2024-10-31Merge commit '0b97f5033049e13b193e7ab00a188e66f0fbc73e' into maint-cErik Kundiman
2024-10-28Merge pull request #2966 from secondlife/marchcat/c-developAndrey Lihatskiy
develop → Maint C sync
2024-10-28Merge branch 'develop' into marchcat/c-developAndrey Lihatskiy
# Conflicts: # indra/llwindow/llwindowwin32.cpp # indra/newview/skins/default/xui/en/floater_inventory_item_properties.xml
2024-10-28Merge pull request #2960 from secondlife/rye/sdl2308Rye
Update SDL to 2.30.8
2024-10-27Update SDL to 2.30.8Rye
2024-10-25Merge pull request #2959 from secondlife/rider/fix_bot_im_sessionRider Linden
Fix for IM session name and icon.
2024-10-25Issue #2907: When passing the injected notification message into addMessage ↵Rider Linden
on behalf of the system, optionally specify the agent id and name that should be used.
2024-10-25Small fix in LLTeleportHandler::handle()Alexander Gavriliuk
2024-10-24Merge pull request #2890 from secondlife/leviathan/disable-sdl2-on-macAndrew Meadows
temporary workaround for #2870: disable SDL2 on mac
2024-10-24Merge pull request #2585 from secondlife/marchcat/xcode-16nat-goodspeed
Xcode16 build fix
2024-10-24Merge branch 'develop' into marchcat/xcode-16Andrey Lihatskiy
2024-10-24#2899 Mac: add the libSDL2 link to SLPluginAndrey Lihatskiy
2024-10-24#2904 output position should ignore cursor positionMaxim Nikolenko
2024-10-24#2577 Worn transparent prims no longer show with 'Highlight transparent'Alexander Gavriliuk
2024-10-23Merge pull request #2908 from secondlife/rider/chat_metadataRider Linden
Bot self identification.
2024-10-23Fix more addition of distinct enums.Nat Goodspeed
2024-10-23Disambiguate (LLSD != UUID).Nat Goodspeed
2024-10-23Issue #2907: Code review comments.Rider Linden
2024-10-23Merge branch 'develop' into marchcat/xcode-16Nat Goodspeed
2024-10-23panel_preferences_sound.xml stream notification checkbox alignmentsecretfoxtail
Align StreamNotificationChannelEnabled with other <check_box>s below in the panel.
2024-10-23panel_preferences_sound.xml -> "hear voice from" radio group possecretfoxtail
Position 2nd radio group such that it appears aligned with the 1st.
2024-10-23panel_preferences_sound.xml adjustmentsecretfoxtail
Fit custom stream notification channel checkbox and spinner into the panel while still leaving room for input/output device settings.
2024-10-23Revert "panel_preferences_sound.xml -> Move channel number spinner"secretfoxtail
This reverts commit bd496c3ec5672197c7dc142af458e6bf2374a4c7.
2024-10-23Revert "panel_preferences_sound.xml adjustment"secretfoxtail
This reverts commit 3ff2b68559fa9a7f2d07591b64106202500323be.
2024-10-23#2910 Allow terminating multiple scripts at onceMaxim Nikolenko
2024-10-22Only add same enum types.Nat Goodspeed
2024-10-22When adding two enums (!?), coerce to the same enum type.Nat Goodspeed
2024-10-22Merge remote-tracking branch 'origin/release/2024.09-ExtraFPS' into developBrad Linden
2024-10-22Restore tonemapping to ACES with a slight mix towards linear and raise ↵Rye Mutt
exposure slider limit to 4 (#2915)
2024-10-22Merge branch 'develop' into marchcat/xcode-16Nat Goodspeed
2024-10-22Merge pull request #2911 from secondlife/nat/warn-timeslicenat-goodspeed
Make `llcoro::scheduler` log coros that run too long between yields.
2024-10-22#2007 The 'No device' option isn't displayed in the 'Input/Output' drop-down ↵Alexander Gavriliuk
boxes
2024-10-22Remove moveNat Goodspeed
2024-10-22Eliminate meaningless blank lineNat Goodspeed
2024-10-22Merge branch 'develop' of github.com:secondlife/viewer into nat/warn-timesliceNat Goodspeed
2024-10-22Make llcoro::scheduler log coros that run too long between yields.Nat Goodspeed
Introduce LLCoros::CoroData::mHistogram, a map of cutoff times (bucket breakpoints) with counts of occurrences. The idea is that mHistogram counts how many times the real time taken by a particular coroutine resumption falls into one of those buckets. Initialize the map with guessed buckets; these are set in llcoros.cpp so they can be changed without requiring extensive rebuilds. scheduler::pick_next() now records the timestamp and fiber context just before the fiber manager resumes the next coroutine. If the next pick_next() call reveals that the previous resumption took longer than the minimum bucket breakpoint, it increments the appropriate bucket counter and logs the instance. LLCoros::toplevel() reports nonzero mHistogram entries on coroutine termination.
2024-10-22LLCoprocedurePool::coprocedureInvokerCoro() sets status to task nameNat Goodspeed
LLCoprocedurePool coroutines are generic; its coroutine name alone doesn't tell us much. We can only know what one is doing by its current task name. Use LLCoros::setStatus() to associate the task name with the coroutine.
2024-10-22Eliminate double names for coros + "empty name is main" convention.Nat Goodspeed
Instead, introduce bool CoroData::isMain and test that. Use "main" for the name of the main coroutine. That eliminates the logname() method, also the llcoro::logname() free function. It also obviates the alternate CoroData constructor. Use boost::fibers::fiber::id as the LLInstanceTracker key for CoroData, instead of the coroutine name. Introduce get_CoroData(id), also getName(id). Extract static CoroData for the main coroutine to main_CoroData() so both get_CoroData() overloads can use it. Ditch unused get_CoroData(string) parameter: now get_CoroData(). Introduce LLCoros::mNameMap for lookup by name (e.g. killreq()). CoroData's constructor puts an entry into mNameMap; the destructor removes it. Since mNameMap is thread_local (unlike an LLInstanceTracker key), that theoretically permits duplicate coroutine names on different threads. Introduce mPrefixMap to help generate distinct coroutine names, instead of a single scalar. Introduce CoroData::getName(), and use it in both LLCoros::getName() overloads. CoroData::getName() appends mStatus if it's not empty. This is useful for disambiguating generic pool coroutines based on the current task.