summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowsdl.cpp
AgeCommit message (Collapse)Author
2024-07-29Remove LLWindowSDL::getAvailableVRAMMegabytes()Erik Kundiman
See commit ea268fcd48550f98baceef0294fd977ff12d2b35.
2024-07-28Merge remote-tracking branch 'secondlife/release/2024.06-atlasaurus' into ↵Erik Kundiman
2024.06-atlasaurus
2024-07-15Merge branch 'main' into maint-bErik Kundiman
2024-07-14Performance and tuningmobserveur
Performance and tuning floater updated including fixes
2024-07-06Merge branch 'main' into maint-bErik Kundiman
2024-07-06buffer optimisation llwindowsdl.cpp fixmobserveur
This commit fixes a gSavedSettings variable call
2024-07-06Merge branch 'main' into maint-bErik Kundiman
2024-07-06missing header fix in llwindowsdl.cppmobserveur
there was missing include in llwindowsdl.cpp
2024-07-06Merge branch 'main' into maint-bErik Kundiman
2024-07-05Tuning floater and buffer mapping improvementsmobserveur
This commit adds the tuning floater accessible via the fps button, and improvements to the buffer mapping optimisation modes.
2024-07-01Fix 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-06-20Merge remote-tracking branch 'secondlife/release/maint-b' into maint-bErik Kundiman
2024-06-18SDL 2 Window completions and HiDPI supportmobserveur
This commit completes the SDL 2 support and adds HiDPI support for Mac.
2024-06-14Revert "Replace LL_X11 and LL_FLTK to LL_LINUX"AiraYumi
2024-06-12Replace LL_X11 and LL_FLTK to LL_LINUXAiraYumi
2024-06-06Change LL_FREEBSD to already existing __FreeBSD__Erik Kundiman
So we don't need to have a custom environment -DLL_FREEBSD=1 setting.
2024-05-22Fix line endlingsAnsariel
2024-05-22Merge remote-tracking branch 'origin/main' into DRTVWR-600-maint-AAnsariel
# Conflicts: # autobuild.xml # indra/cmake/CMakeLists.txt # indra/cmake/GoogleMock.cmake # indra/llaudio/llaudioengine_fmodstudio.cpp # indra/llaudio/llaudioengine_fmodstudio.h # indra/llaudio/lllistener_fmodstudio.cpp # indra/llaudio/lllistener_fmodstudio.h # indra/llaudio/llstreamingaudio_fmodstudio.cpp # indra/llaudio/llstreamingaudio_fmodstudio.h # indra/llcharacter/llmultigesture.cpp # indra/llcharacter/llmultigesture.h # indra/llimage/llimage.cpp # indra/llimage/llimagepng.cpp # indra/llimage/llimageworker.cpp # indra/llimage/tests/llimageworker_test.cpp # indra/llmessage/tests/llmockhttpclient.h # indra/llprimitive/llgltfmaterial.h # indra/llrender/llfontfreetype.cpp # indra/llui/llcombobox.cpp # indra/llui/llfolderview.cpp # indra/llui/llfolderviewmodel.h # indra/llui/lllineeditor.cpp # indra/llui/lllineeditor.h # indra/llui/lltextbase.cpp # indra/llui/lltextbase.h # indra/llui/lltexteditor.cpp # indra/llui/lltextvalidate.cpp # indra/llui/lltextvalidate.h # indra/llui/lluictrl.h # indra/llui/llview.cpp # indra/llwindow/llwindowmacosx.cpp # indra/newview/app_settings/settings.xml # indra/newview/llappearancemgr.cpp # indra/newview/llappearancemgr.h # indra/newview/llavatarpropertiesprocessor.cpp # indra/newview/llavatarpropertiesprocessor.h # indra/newview/llbreadcrumbview.cpp # indra/newview/llbreadcrumbview.h # indra/newview/llbreastmotion.cpp # indra/newview/llbreastmotion.h # indra/newview/llconversationmodel.h # indra/newview/lldensityctrl.cpp # indra/newview/lldensityctrl.h # indra/newview/llface.inl # indra/newview/llfloatereditsky.cpp # indra/newview/llfloatereditwater.cpp # indra/newview/llfloateremojipicker.h # indra/newview/llfloaterimsessiontab.cpp # indra/newview/llfloaterprofiletexture.cpp # indra/newview/llfloaterprofiletexture.h # indra/newview/llgesturemgr.cpp # indra/newview/llgesturemgr.h # indra/newview/llimpanel.cpp # indra/newview/llimpanel.h # indra/newview/llinventorybridge.cpp # indra/newview/llinventorybridge.h # indra/newview/llinventoryclipboard.cpp # indra/newview/llinventoryclipboard.h # indra/newview/llinventoryfunctions.cpp # indra/newview/llinventoryfunctions.h # indra/newview/llinventorygallery.cpp # indra/newview/lllistbrowser.cpp # indra/newview/lllistbrowser.h # indra/newview/llpanelobjectinventory.cpp # indra/newview/llpanelprofile.cpp # indra/newview/llpanelprofile.h # indra/newview/llpreviewgesture.cpp # indra/newview/llsavedsettingsglue.cpp # indra/newview/llsavedsettingsglue.h # indra/newview/lltooldraganddrop.cpp # indra/newview/llurllineeditorctrl.cpp # indra/newview/llvectorperfoptions.cpp # indra/newview/llvectorperfoptions.h # indra/newview/llviewerparceloverlay.cpp # indra/newview/llviewertexlayer.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/macmain.h # indra/test/test.cpp
2024-05-18Colour bits test not done on Linux eitherErik Kundiman
Cause last time I checked, it didn't pass on Fedora.
2024-05-17More misleading indentation fixesErik Kundiman
2024-05-17Parts that were left out during 7.1.7 mergeErik Kundiman
Including a very important one which is so assets are fetched!
2024-05-16Merge tag '7.1.7-release'Erik Kundiman
source for viewer 7.1.7.8974243247
2024-05-16Correcting the display position of the input dialog (#1480)AiraYumi
2024-05-15Merge branch 'main' into marchcat/x-b-mergeAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/cmake/ConfigurePkgConfig.cmake # indra/cmake/ICU4C.cmake # indra/media_plugins/gstreamer010/llmediaimplgstreamer_syms.cpp # indra/media_plugins/gstreamer010/llmediaimplgstreamer_syms.h # indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h # indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.cpp # indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.h # indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp # indra/newview/llappviewerlinux_api.h # indra/newview/llappviewerlinux_api_dbus.cpp # indra/newview/llappviewerlinux_api_dbus.h # indra/newview/llfloateremojipicker.cpp # indra/newview/lloutfitslist.cpp
2024-05-02Convert the detected VRAM on NVIDIA & ATI to MBsErik Kundiman
2024-05-02Correct the GL function used for detecting VRAMErik Kundiman
2024-05-01Attempt to detect NVIDIA & ATI VRAMErik Kundiman
Done in a simple way, without checking the GLX extension string.
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2024-04-05Linux viewer (ReleaseOS) resurrection (#1099)Nicky Dasmijn
Co-authored-by: AiraYumi <aira.youme@airanyumi.net>
2024-02-22IME composition is now replaced by the resultErik Kundiman
instead of being printed alongside. For now, it always gets reset from the start after pressing Return, which is to be fixed next.
2024-02-18Replace BOOL with bool in llwindow and dependent classesAnsariel
2024-01-30First attempt to fix unicode inputErik Kundiman
It should work well enough with most, but on Japanese (I assume all CJK), for now the composition part is still left printed out along with the result (as opposed to just replaced by the result). It's to be fixed next.
2024-01-15Re-enable GL colour bits check but only on LinuxErik Kundiman
It seems the queries don't work on BSDs, but works okay on Linuxes.
2024-01-15Revive external web browser spawning on macOSErik Kundiman
2024-01-10Ignore colour bit resultsErik Kundiman
It turns out glGetIntegerv on GL colour bits hasn't given any value, so the values used afterwards have been random since the variables aren't initialised. The numbers haven't been 8, 8, 8 since core profile or VRAM detection or something else.
2024-01-06Move assignments with vram_megabytes inside scopesErik Kundiman
There will be a case not having vram_megabytes declared.
2024-01-06VRAM detection implementation using GLX MesaErik Kundiman
/var/log/Xorg.0.log doesn't seem to contain such information any more. My Debian 12 doesn't even have that file any more, I wonder why.
2024-01-06Revive VRAM detection on macOSErik Kundiman
Copied code from llopenglview-objc.mm. It would normally fail SDL2, but somehow adding a logging fixed it O.o This is so texture compression is not enabled by default.
2023-12-21Force the GL profile to be the core oneErik Kundiman
on all platforms, not only on Darwin.
2023-12-09Fix alt dragging when not in full screenErik Kundiman
2023-11-16Merge branch 'main' into DRTVWR-559Erik Kundiman
2023-11-16Clipboard implementation using SDLErik Kundiman
For now it's when there's no GTK, to minimise diff. They should all just use SDL.
2023-09-14Merge branch 'main' into DRTVWR-559Erik Kundiman
2023-09-14getNativeKeyData impl for non Darwin non GTKErik Kundiman
Copying from GTK users part though.
2023-09-11Fix macOS crash by explicitly ask SDL2 for GL 4.1Erik Kundiman
The reason it kept crashing was because it is now a requirement for the OpenGL version to be "detected" as equal or higher than 4.09. All this time (or maybe since macOS switching to SDL2), Megapahit has been given only OpenGL 2.1 by macOS (4.1 on SL viewer & Alchemy, though funny it's 2.1 too somehow on Kokua), and now is fixed by setting the profile to core 4.1 from SDL2. The commit is on this branch only cause somehow this fix didn't work on main branch (it crashed). So 6.6.x is stuck with 2.1 for macOS. We're moving forward with this branch anyway, which will be merged to main in the (hopefully near) future.
2023-09-11Merge branch 'main' into DRTVWR-559Erik Kundiman
2023-09-11Revive HiDPI support & multi threaded OpenGLErik Kundiman
See 7dd1149e3649057f0962b85bdc467f4e9299b235. The attributes only needed to be moved from LLWindowMacOS X to LLWindowSDL.
2023-09-10SDL window overrides all window pure virtual funcsErik Kundiman
including the new getAvailableVRAMMegabytes. The "override" word must be explicitly stated now.
2023-09-05Preprocess non portable GL funcs & macrosErik Kundiman
so that implementations that don't include a certain GL implementation won't fail trying to compile the code.
2023-08-26Make using the system browser for links worksErik Kundiman
First, in order for launch_url.sh to be executable, it needs to be installed as a program. Secondly, the spawn browser command path needs to be adjusted accordingly. And last, add chrome (applies to chromium too on FBSD), to the list of browser commands to try (so chrome wasn't there :/, but dillo has always been XD, and that's why it kept opening Dillo here haha).