summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-13Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into ↵Erik Kundiman
DRTVWR-559
2023-09-12SL-20157: Fix scale of avatar mesh parts when mikktspace tangent generation ↵Cosmic Linden
fails
2023-09-12Merge branch 'main' into DRTVWR-559Erik Kundiman
2023-09-12Set but not used variable isn't an errorErik Kundiman
Encountered when using Clang on Linux. Switched to Clang cause sometimes errors can be less escapable on GCC.
2023-09-12Swap dependency between llmath & llmeshoptimizerErik Kundiman
It seems easier the other way around. This is only so building shared libraries won't fail.
2023-09-12Merge remote-tracking branch 'secondlife/DRTVWR-559' into DRTVWR-559Erik Kundiman
2023-09-11SL-20090 BugSplat Crash: LLViewerFetchedTexture::updateFetch(2099)Alexander Gavriliuk
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-11GL_BUFFER_IMMUTABLE_STORAGE_EXT as an alternativeErik Kundiman
2023-09-11Try not to use non portable glDrawBufferErik Kundiman
2023-09-11Preprocess texture compression codeErik Kundiman
2023-09-11Use the more portable GL_COMPARE_REF_TO_TEXTUREErik Kundiman
2023-09-11Try to use GL_MULTISAMPLE_EXT or don't try at allErik Kundiman
to use GL_MULTISAMPLE
2023-09-11Use the more portable GL_FRAMEBUFFERErik Kundiman
2023-09-11Use more portable GL_TEXTURE_MAX_ANISOTROPY_EXTErik Kundiman
2023-09-11Assume GL_ANY_SAMPLES_PASSED is supportedErik Kundiman
2023-09-11Use the more portable GL_TIME_ELAPSED_EXTErik Kundiman
and only when it's available.
2023-09-11Use non 64 versions when no ARB timer queryErik Kundiman
2023-09-11Preprocess non portable OpenGL 3.0 codeErik Kundiman
2023-09-11Preprocess non portable OpenGL 4.0 codeErik Kundiman
2023-09-11Preprocess non portable OpenGL 3.2 codeErik Kundiman
2023-09-11Preprocess non portable OpenGL 1.2 codeErik Kundiman
2023-09-11Preprocess non portable OpenGL 1.1 codeErik Kundiman
2023-09-10TinyGLTF & Vulkan glTF not included on systemlibsErik Kundiman
Vulkan glTF doesn't seem to be used yet. TINYGLTF_INCLUDE_DIR doesn't seem to be used yet either. Tiny GLTF can be headers only, easy to install to system.
2023-09-10Swap dependency between llmath & llmeshoptimizerErik Kundiman
It seems easier the other way around. This is only so building shared libraries won't fail.
2023-09-10Comment out dead_code_should_blow_up_hereErik Kundiman
Can't find its definition anywhere o.O
2023-09-10Fixes to get it build again on FreeBSDErik Kundiman
and hopefully GNU/Linux too.
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-10Merge branch 'main' into DRTVWR-559Erik Kundiman
2023-09-10Use prebuilt OpenJPEG for nowErik Kundiman
until we figure out what's causing crashes with vanilla OpenJPEG.
2023-09-10macOS still uses viewer_manifest for nowErik Kundiman
until we're ready with CPack for it.
2023-09-10The header for CFBundleRef & CFBundleCreateErik Kundiman
2023-09-10GL_ALPHA8_EXT as an alternative to GL_ALPHA8Erik Kundiman
2023-09-10Darwin hasn't been using llwindowmacosxErik Kundiman
2023-09-10GL_RGBA16F is used when there's no GL_RGBA16Erik Kundiman
2023-09-10Lose the _EXT from GL_FRAMEBUFFER macroErik Kundiman
2023-09-10Always compile vertex array codeErik Kundiman
So that, especially modern, GL implementations that do have vertex array but don't have the legacy GL_ARB_vertex_array_object defined have such code compiled too.
2023-09-10Preprocess GLU implementors only codeErik Kundiman
2023-09-10Missing parameter for non file picker implementorsErik Kundiman
2023-09-10Preprocess non portable OpenGL codeErik Kundiman
2023-09-10Lose the _ARB suffix from many macrosErik Kundiman
2023-09-07Bring back glBufferParameteriAPPLEErik Kundiman
GL_APPLE_flush_buffer_range is defined on other platforms such as FreeBSD but there would failure to link, hence the extra LL_DARWIN.
2023-09-07Bring back GL_MULTISAMPLE_ARB to macOSErik Kundiman
since it doesn't have GL_MULTISAMPLE_EXT.
2023-09-07Revert "Bring back GL funcs & macros that work on macOS"Erik Kundiman
This reverts commit e600f6504cd7edd9d2883ea7dc17c2574b1ff468.
2023-09-07Bring back OpenGL >= 3.0 functionalities to macOSErik Kundiman
They weren't compiled with the previous commit, and it affected a lot.
2023-09-07Bring back GL funcs & macros that work on macOSErik Kundiman