summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface
AgeCommit message (Collapse)Author
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-04-15Embrace nullptr over NULL and 0get
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-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-01-01MacOS: Dispatch GL calls to main thread to prevent crashes on CatalinaGeorge Talusan
2019-09-01GLContext: Get size using eglQuerySurface()Stenzek
Also no longer assumes that a nullptr display is not headless (needed for fbdev)
2019-05-06Reformat repo to clang-format 7.0 rulesTechjar
2019-02-09GLContext: Fix shared context creation error on MesaStenzek
This was failing if the first version tried (4.6) didn't succeed.
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-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: 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.
2017-12-29Require WINDOW_BIT if we have a window handle.Vlad Firoiu
2017-12-29Surfaceless egl rendering.Vlad Firoiu
2017-08-02GLInterface: Support surfaceless contexts on GLXStenzek
2017-07-31Merge pull request #5826 from ↵Leo Lam
JonnyH/WIP/add-option-to-prefer-GLES-when-using-EGL Add "PreferGLES" option to EGL GLInterface
2017-07-30EGLInterface: Create shared context with same attributes as main contextStenzek
2017-07-30GLInterface: Support shared contexts on AGLStenzek
2017-07-30GLInterface: Support shared contexts in GLXRyan Houdek
2017-07-26Add "PreferGLES" option to EGL GLInterfaceJonathan Hamilton
This makes the EGL interface select OpenGL|ES contexts over "desktop" OpenGL ones. Possibly not useful for anyone outside my own debugging, but you never know
2017-07-05OGL: Support Quad-Buffered stereoscopy.Jules Blok
2017-06-07do not assign in conditional statementsShawn Hoffman
2017-06-05Merge pull request #5276 from ligfx/macosheadlessshuffle2
Add headless support on macOS
2017-06-05Fix minor formatting issuesLéo Lam
These were not caught by the lint script while it was broken.
2017-04-15AGL: small style fixesMichael Maltese
2017-04-15AGL: refactor some functionsMichael Maltese
2017-04-15Add headless support on macOSMichael Maltese
2017-03-28Merge pull request #4951 from waddlesplash/haiku-2Matthew Parlane
Initial support for Haiku.
2017-03-27Initial support for Haiku.Augustin Cavalier
2017-03-25EGL: Fix missing-braces warningMichael Maltese
Fixes warning: ``` ../Source/Core/Common/GL/GLInterface/EGL.cpp:57:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] EGL_OPENGL_BIT, (1 << 6), /* EGL_OPENGL_ES3_BIT_KHR */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
2017-01-23Add includes for building on Windows without PCHMichael Maltese
2016-11-29GLInterface: Implement core and shared context creation for WGLStenzek
2016-11-02Core: Remove double newlines at the end of *_LOG messages.Emmanuel Gil Peyrot
2016-09-18Don't force compile everything as Objective-C++ on macOSMichael Maltese
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-05-29EGL: specify version firstKarol Herbst
allthough this is a mesa bug, this is a simple enough workaround for context creation fails with EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR set. Otherwise dolphin will fail to create 3.3+ core context with current mesa version