summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL
AgeCommit message (Collapse)Author
2026-04-20Remove GLX supportLink Mauve
EGL is the de-facto GL context initialization API, including on X11 where it provides many additional features over GLX. I’m planning on adding support for selecting the GPU (adapter in Dolphin-speak) also to OpenGL, similarly to the Vulkan backend, and that will require EGL, so let’s remove the legacy API first.
2026-02-21Merge pull request #14212 from cscd98/cast-funcAdmiral H. Curtiss
mingw: use reinterpret_cast for function→void* conversion to satisfy C++ standard
2026-01-31WGL: Correctly load wglDestroyPbufferARB extensionJoshua Vandaële
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2025-12-10mingw: use reinterpret_cast for function→void* conversion to satisfy C++ ↵Craig Carnell
standard
2025-05-01Make overriding explicit and remove redundant virtual specifiers on ↵Dr. Dystopia
overriding destructors - Core & UnitTests
2025-04-23linter: Apply clang-format 19.1 formattingJoshua Vandaële
find ./Source/ -name '*.cpp' -o -name '*.h' | xargs clang-format-19 -i
2025-03-16Merge pull request #13417 from luzpaz/typo-source-core-commonOatmealDome
Core/Common: Fix typos
2025-03-11Core/Common: Fix typosLuz Paz
Found via `codespell -q 3 -S "./Externals,./Data/Sys/wiitdb-??.txt,*.po,*.pot" -L andf,asnd,bootup,brocken,bufferin,clen,collet,datas,delt,diety,extint,fpr,inout,inport,interm,nd,nin,ontop,pixelx,re-use,re-used,sav,stateman,strat,transer,wil`
2024-11-08Replace 'reinterpret_cast' with 'static_cast'Dr. Dystopia
2024-07-26Adjust order and spacing of various #includesDentomologist
Move some #includes around to match the Contributing guidelines.
2023-06-10Common:AGL: Support making temporary contexts from the main threadTellowKrinkle
- Don't crash when making contexts from the main thread - Don't focus the window when making a context
2023-06-08OpenGL: Check the list of supported AA modes instead of hardcodingPokechu22
2023-06-08Video: add R10B10G10A2 and R16G16B16A16F texture types (needed by PR 11850)Filoppi
2023-04-15Embrace nullptr over NULL and 0get
2023-02-09VideoBackend/OGL: Prefer KHR_subgroup over NV_shader_thread.degasus
While the NV extension is totally fine, the KHR extension should be able to support more hardware. For NVIDIA, the hardware either supports both or neither, it just needs a driver from the last two years. For AMD, the drivers from late 2022-12 seems to bring support for the KHR extension. For Intel, the KHR is also supported for some years.
2022-05-29GLX: Guard against redefinition of PFNGLXSWAPINTERVALEXTPROCOatmealDome
This type is already declared in glxext.h in the Steam Runtime.
2021-12-10Treewide: Adjust order of includesPokechu22
2021-09-14GLInterface: Remove unneeded wglShareLists callPokechu22
When RenderDoc is attached, wglShareLists fails for some reason (see baldurk/renderdoc#2361). wglCreateContextAttribsARB has a parameter for the share context, so there's no reason to use a separate wglShareLists call. Co-authored-by: baldurk <baldurk@baldurk.org>
2021-07-06AGL: Silence OpenGL deprecation warningsOatmealDome
2021-07-06AGL: Move more UI API calls to the main threadOatmealDome
2021-07-05licensing: switch GLExtensions/ to use SPDX tagsPierre Bourdon
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-01-02Rehabilitate Haiku support.waddlesplash
2020-12-02General: Convert PanicAlerts over to fmt equivalentLioncash
Converts lingering panic alert calls over to the fmt-capable ones.
2020-10-23Common: Migrate logging to fmtLioncash
Continues the migration of our code over to the fmt logger.
2020-08-22windows: fix build if pch were to be disabledShawn Hoffman
2020-03-23Cleanup warnings of -Wunused-variableJun Su
remove unused variables.
2020-01-01MacOS: Dispatch GL calls to main thread to prevent crashes on CatalinaGeorge Talusan
2019-12-29GLExtensions.cpp: Use arrays of `const char *const` instead of `std::string`.David Korth
The strings end up being copied, so we might as well initialize the std::string in the unordered_map directly.
2019-09-01DolphinNoGUI: Add a FBDev platformStenzek
And the associated GLContext bits
2019-09-01GLContext: Get size using eglQuerySurface()Stenzek
Also no longer assumes that a nullptr display is not headless (needed for fbdev)
2019-06-17Common: Add missing header guardsLioncash
2019-05-06Reformat repo to clang-format 7.0 rulesTechjar
2019-02-19Move most backend functionality to VideoCommonStenzek
2019-02-09GLContext: Fix shared context creation error on MesaStenzek
This was failing if the first version tried (4.6) didn't succeed.
2018-12-14Common/GLContext: Make member functions const qualified where applicableLioncash
These don't modify object state, so they can be const qualified.
2018-10-20GLContext: Try GL versions 3.2-4.6 when getting a contextStenzek
GLX previously was only creating a 4.0 context.
2018-10-20CMake: Make X11 and EGL optionalStenzek
2018-10-20GLContext: Runtime selection of EGL/GLX on LinuxStenzek
2018-10-20GLContext: Use destructor instead of Shutdown() to cleanupStenzek
Also uses the Initialize() method to make the context current.
2018-10-20GLContext: Combine shared context initialization and creationStenzek
2018-10-20GLContext: Remove global context pointerStenzek
2018-10-20VideoBackends: Pass window system info from host on creationStenzek
2018-10-20GLContext: Use host connectionStenzek
This also removes the need for a sleeping event thread.
2018-10-20Refactoring and cleanup of GLInterface (now GLContext)Stenzek
2018-10-20GLInterface: Drop Haiku supportStenzek
2018-04-13Fix change in comment meaning by autoformat.Scott Mansell
2018-04-12Reformat all the things!spycrab
2018-03-26GLInterface: Use EXT_swap_control or MESA_swap_control over SGIStenzek
The SGI extension does not define calling SwapInterval with a parameter of zero as valid. It was just lucky that drivers interpreted this as vsync off. The EXT_swap_control extension defines zero as a valid value. Mesa does not appear to support the EXT variant, so we fall back to MESA_swap_control here, which also supports zero.