summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-21Update build instructionsErik Kundiman
Set C++ standard version to C++17 on platforms where it's explicitly required. MacPorts VLC port has been replaced by VideoLAN's binary distribution. Fix development APR util package name, and add OpenSSL headers package as a dependency, on Debian/Ubuntu. Remove system OpenJPEG from dependencies (until we can fix the crash). Libraries are built as static libraries by default (now it's only on FreeBSD where they should be built as dynamic libraries).
2024-02-21Exclude libminigbm.so from being installedErik Kundiman
as it's not part of the Dullahan package any more.
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-18Minor fix to previous commit, on scope endingErik Kundiman
2024-01-18GNU/Linux internal web browserErik Kundiman
The lllibs need to be built as static libs now, otherwise SLPlugin would lose reference to gSavedSettings. The media plugins still need to be built as dynamic libs however, so they can't rely on the condition in LibraryInstall.cmake any more. Since the Megapahit viewer, when built using GCC, is using the default value for _GLIBCXX_USE_CXX11_ABI (which is 1 for the newer C++11 ABI as opposed to 0 for the older C++03 ABI), the Dullahan dependency needs to be built with the very same _GLIBCXX_USE_CXX11_ABI setting too, otherwise apr_dso would fail at loading libmedia_plugin_cef.so because of the failure to refer to the setOnConsoleMessageCallback function with strictly the same (not differing between std::__cxx11::basic_string vs. std::basic_string) parameter types. The CEF build is Spotify's, so no live streaming support, while the Dullahan package used by the viewer was built using Kokua's dullahan fork. After rebuilding it with _GLIBCXX_USE_CXX11_ABI kept at default by not overriding it in variables (from the build-variables repo), the order of the target link libraries in CEFPlugin.cmake doesn't seem to matter any more (it did before!). Now EXTERNAL_TOS can be safely omitted from GNU/Linux added compile definitions (but still used on FreeBSD).
2024-01-15Change default maturity to ReleaseErik Kundiman
to get the default colours for the viewer.
2024-01-15Adjust "Report Bug" URL to Megapahit BugzillaErik Kundiman
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-09Adjust release notes base URLErik Kundiman
2024-01-09Merge tag '7.1.2-release'Erik Kundiman
source for viewer 7.1.2.7215179142
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-31Fix recommended GPU class lower than it shouldErik Kundiman
which was caused by the different kind of expected value from the samples query, which then caused the memory bandwidth to be detected as 0 according to ARB timer query, which then affected the GPU class, which eventually affected the texture loading, especially missing colours when zoomed in.
2023-12-31tbfreq x clockrate.hz only when cpufrequency is 0Erik Kundiman
Just maybe M3 implements cpufrequency, which should be more accurate than the alternative (different results on my Intel Mac).
2023-12-26An alternative in getting CPU freq on M-seriesErik Kundiman
This solution was retrieved from https://listman.redhat.com/archives/libvir-list/2022-February/228217.html sysctl hw.cpufrequency would result as empty on Apple Silicon (at least) M1, when run natively. Ironically (and that's why it's been working with viewers relying on Rosetta 2), arch -x86_64 /bin/bash -c 'sysctl hw.cpufrequency' run on an Apple Silicon would result in the correct number.
2023-12-25VLC & CEF can be easily optional in newview CMakeErik Kundiman
2023-12-23Rely on prebuilt OpenJPEG headersErik Kundiman
so we follow its encapsulating directory naming. Looks like we're still going to be using LL's 3p-openjpeg for a while more.
2023-12-23no-stringop-overflow for getting it built on jammyErik Kundiman
2023-12-21Force the GL profile to be the core oneErik Kundiman
on all platforms, not only on Darwin.
2023-12-21Fix Linux wrong SLPlugin full pathErik Kundiman
from /usr/bin to /usr/libexec/megapahit. Don't re-set mExecutableDir under any circumstances.
2023-12-18Unix install sets plugin dir to system library dirErik Kundiman
because (at least) the vlc/plugins dirs are inside it in the same way it's been inside llplugin. This is so the app can find system VLC plugins. And for this, BUILD_SHARED_LIBS set on must work first on Linux (has already been working on FreeBSD), since libmedia_plugin_libvlc is a shared library (which now gets installed to system library dir too, on both OSes).
2023-12-17Revert "EXTERNAL_TOS on macOS too, for now"Erik Kundiman
This reverts commit 33691f2fa52e3b9c2146391413234472769b13ed.
2023-12-17Bring back libvlc plugin to Linux & FreeBSDErik Kundiman
I had forgotten to keep it compiled when doing the overhaul for CEF on macOS.
2023-12-16Revert "SL-20411 Thumbnail textures should have less of an impact on ↵Erik Kundiman
performance #1" This reverts commit 7706c1771dd0d8b767d69c3e3cdfd8ab6d620d16.
2023-12-16Revert "SL-20411 Don't load all thumnails at once for large folders #2"Erik Kundiman
This reverts commit f3b8565d212a29a04082d65fc45ab0aa48af3e64.
2023-12-16Revert "SL-20411 Fix texture preview images not always loading"Erik Kundiman
This reverts commit 53e958a2638705572ed7dbf61369d92b332c4b60.
2023-12-15Merge tag '7.1.1-release'Erik Kundiman
source for viewer 7.1.1.7039128750
2023-12-14Merge branch 'DRTVWR-601' of github.com:secondlife/viewer into DRTVWR-601RunitaiLinden
2023-12-14SL-20611 Followup -- fix for depth based atmospheric mask making ↵RunitaiLinden
atmospherics effect sun/moon/clouds
2023-12-14Merge branch 'DRTVWR-596' into DRTVWR-601Brad Linden
2023-12-14Merge remote-tracking branch 'origin/main' into DRTVWR-596Brad Linden
2023-12-14Merge branch 'SL-20730' into DRTVWR-596Brad Linden
2023-12-14Increment viewer version to 7.1.2Nat Goodspeed
following promotion of DRTVWR-587
2023-12-14Merge branch 'DRTVWR-601' of github.com:secondlife/viewer into DRTVWR-601RunitaiLinden
2023-12-14SL-20730 Patch another potential source of NaNsRunitaiLinden
2023-12-14SL-20715 Mask cutoff not copied corretly in build toolsAndrey Kleshchev
2023-12-14SL-20717 Add PBR to Advanced > Rendering TypesMaxim Nikolenko
2023-12-14macOS internal web browserErik Kundiman
Just untar Dullahan package manually in prebuilt libs dir.
2023-12-13Credit Henri for HUD fixCosmic Linden
2023-12-13Merge pull request #578 from sldevel/HUD-fixcosmic-linden
Fix for semi-transparent HUDs rendering opaque
2023-12-13Merge branch 'DRTVWR-601' of github.com:secondlife/viewer into DRTVWR-601RunitaiLinden
2023-12-13SL-20730 Scrub nans from haze alphaRunitaiLinden
2023-12-13Merge remote-tracking branch 'origin/DRTVWR-596' into DRTVWR-596Brad Linden
2023-12-13SL-20611 Followup -- fix for impostors being invisible.RunitaiLinden
2023-12-13SL-20715 Mapping mode and specular color not copied correctlyAndrey Kleshchev
and fixed diffuse alpha
2023-12-12Fix for semi-transparent HUDs rendering opaqueHenri Beauchamp
This commit fixes a bug introduced with commit 6472b75bcd70470fe5775d1cf6eb70a75b3d76e5 where the fullbrightF.glsl shader fails to set color.a to final_alpha for HUDs.
2023-12-11SL-20611 Brute force fix for water haze -- paid for by cycles saved by not ↵Dave Parks
drawing water twice, but needs a better long term solution.