summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.cpp
AgeCommit message (Collapse)Author
2024-06-29Apple GPU Detection and Apple GPU performance optimisationsmobserveur
This commit adds a mIsApple member to the gl manager and refines the buffers optimisations for Apple GPU in llvertexbuffer.cpp
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-16Merge tag '7.1.7-release'Erik Kundiman
source for viewer 7.1.7.8974243247
2024-05-09Remove ARB suffix from macros for more portabilityErik Kundiman
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-20Merge tag '7.1.5-release'Erik Kundiman
source for viewer 7.1.5.8443591509
2024-03-02Merge tag '7.1.3-release'Erik Kundiman
source for viewer 7.1.3.7878383867
2024-03-01Merge branch 'main' into DRTVWR-588-maint-WAndrey Lihatskiy
2023-12-13SL-20279 BugSplat Crash #1327171: gl_debug_callback(111)Alexander Gavriliuk
2023-12-05Merge branch 'main' into DRTVWR-489Alexander Gavriliuk
2023-09-11GL_BUFFER_IMMUTABLE_STORAGE_EXT as an alternativeErik Kundiman
2023-09-11Try to use GL_MULTISAMPLE_EXT or don't try at allErik Kundiman
to use GL_MULTISAMPLE
2023-09-11Use more portable GL_TEXTURE_MAX_ANISOTROPY_EXTErik Kundiman
2023-09-11Preprocess non portable OpenGL 3.2 codeErik Kundiman
2023-09-10Merge branch 'main' into DRTVWR-559Erik Kundiman
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 GL funcs & macros that work on macOSErik Kundiman
2023-09-06Comment out the GL functions redefinitions for allErik Kundiman
2023-09-06Re-exclude FBSD test on Nvidia headersErik Kundiman
to minimise difference from upstream, as it's certain it's not FreeBSD anyway due to the removal of LL_FREEBSD on the containing scope.
2023-09-06GL_EXT_draw's can be used for transform feedbackErik Kundiman
2023-09-06EXT_disjoint_timer_query as alternative to ARB'sErik Kundiman
2023-09-06Khronos debug as an alternative to ARB'sErik Kundiman
2023-09-06Lose the _ARB suffix from many macrosErik Kundiman
so the macros can be used on platforms that don't have ARB specs.
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-09-05Exclude FBSD from more GL function redefinitionsErik Kundiman
at the same time revert to less difference from upstream.
2023-09-05Comment out redefinitions of GL functionsErik Kundiman
which are mostly ARB ones, and instead we define GLEXT prototypes to be true so we still get access to the functions.
2023-08-24Merge tag '6.6.14-release'Erik Kundiman
source for viewer 6.6.14.581101
2023-08-22Can link to libglvnd, no need to set LEGACY prefErik Kundiman
2023-07-19Include FreeBSD macro variable for GL related codeErik Kundiman
2023-07-18Merge remote-tracking branch 'origin/xcode-14.3' into DRTVWR-559 (#292)Brad Linden
2023-05-16DRTVWR-559 Decruft deprecated OpenGL flags.RunitaiLinden
2023-04-06SL-19538 Followup -- scrub all possible sources of NaNs, make dynamic ↵Dave Parks
exposure controls not persist, limit exposure range, and do a debug gl pass.
2023-04-03DRTVWR-489: Fix things up after a messy merge with main because of a ↵Callum Prentice
gigantic CMake patch. Sadly, my macOS box updated to Xcode14.3 overnight and that caused many warnings/errors with variables being initialized and then used but not in a way that affected anything.. Building on Xcode 14.3 also requires that MACOSX_DEPLOYMENT_TARGET be set to > 10.13. Waiting on a decision about that but checking this in in the meantime. Builds on macOS with appropriate build variables set for MACOSX_DEPLOYMENT_TARGET = 10.14 but not really expecting this to build in TC because (REDACTED). Windows version probably hopelessly broken - switching to that now.
2023-04-03SL-18330: Remove some set-but-unused vars flagged by Xcode 14.3.Nat Goodspeed
2023-01-27SL-19203 et al -- Integrate SSR with reflection probes, tweak probe ↵RunitaiLinden
blending. (#63) * SL-19203 WIP -- Integrate SSR with reflection probes. Decruft LLRenderTarget. * SL-19203 WIP -- Re-integrate SSR. Incidental decruft. * SL-19203 WIP -- SSR frame delta correction (still broken for Z) * SL-19203 WIP -- SSR frame delta Z fix * SL-19203 WIP -- Make SSR toggleable again and disable SSR in cube snapshots. * SL-19203 WIP -- Soften sphere probe transitions and fix reflections on void water (make fallback probe a simple terrain+water+sky probe). Remove parallax correction for automatic probes to reduce artifacts. * SL-19203 Tune probe blending. * SL-19203 Cleanup.
2023-01-24SL-18772 Potential fix for failed shader load on Intel HD 3000Dave Parks
2023-01-20SL-18869 Followup -- AMD compatibility pass.Dave Parks
2023-01-20SL-18869 GL 3 compatibility pass and minor decruft.Dave Parks
2023-01-19Optimizations, decruft, and intel compatibility pass (#53)RunitaiLinden
SL-18869, SL-18772 Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2023-01-09SL-18869 Optimizations -- Decruftify LLRenderTarget, use a shader to copy ↵Dave Parks
color/depth instead of glCopyTexSubImage or glBlitFrameBuffer
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-10-11SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), ↵Dave Parks
remove some unused glsl files.
2022-09-22SL-17705 Backwards compatibility pass. Support OpenGL pre-4.0 by disabling ↵Dave Parks
reflection probes and anti-aliasing. Get render parity with current release viewer when reflection probes are disabled.
2022-09-16SL-18128 Clear out much OpenGL cruft and switch to core profile on AMDDave Parks
2022-09-06SL-17967 - remove some debug/devel codeHoward Stearns
2022-09-02SL-17967 Fix for confounding program and shader objects when fetching logs ↵Dave Parks
and fix for gl errors on AMD windows
2022-09-02SL-17967 Purge OpenGL extensions (use core API only)Dave Parks
2022-09-01SL-17967 - _ARB constant removalHoward Stearns
2022-09-01SL-17967 - Git rid of ARB that is in coreHoward Stearns