summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface
AgeCommit message (Collapse)Author
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
2016-05-25Fix builds when using newest version of NDKsigmabeta
2016-03-01EGL: Also check for higher GL versions.degasus
Seems like NVidia just ignores the forward compatible flag. Additionally, they neither enable any extension which was designed later... So either compatible profile, or a huge list of core profiles....
2016-02-05Rearrange GLInterface interface generation.Ryan Houdek
This will be important when we enable headless on Android
2016-02-05Fix a few missing includesRyan Houdek
2016-01-27Support a headless EGL option.Ryan Houdek
This is a new option to support completely headless running of Dolphin without X11 on systems that can properly support it.
2016-01-27Include the EGL defines we need for KHR_create_context ourselves.Ryan Houdek
This is because Google decided it was in their best interest to update eglext.h for android-21/arch-arm only and completely neglect all the other architectures. Sucks to suck.
2016-01-27Support the OpenGL core profile in EGL.Ryan Houdek
This should make our Mesa EGL users happy.
2016-01-27Implement shared contexts in the EGL context.Ryan Houdek
This is being implemented here first under EGL since the infrastructure is already in place for this due to the Android code requiring some bits. The rest of the interfaces will come in a little bit. This will be required for threaded shader compiling in the near future.
2016-01-10Add support to EGL to on the fly destroy the resulting surfaceRyan Houdek
2016-01-02GLInterface: Make GLInterfaceMode an enum classLioncash
2016-01-02WGL: Make class member privateLioncash
2016-01-02GLInterface: Add missing override specifiersLioncash
2015-12-20VideoBackends: Simplify initialization and deinitialization of resourcesLioncash
Approximately three or four times now, the issue of pointers being in an inconsistent state been an issue in the video backend renderers with regards to tripping up other developers. Global (ugh) resources are put into a unique_ptr and will always have a well-defined state of being - null or not null
2015-12-13Fix minor memory leak in WGL interface.Ryan Houdek
Would have a memory leak on game end
2015-10-06Added some headers to allow Dolphin to compile in my environment.catzilla4
2015-09-26Common: Remove other Common prefixed headers from Common.hLioncash