summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/GLInterface/GLX.cpp
AgeCommit message (Collapse)Author
2014-11-02Move GLInterface to the OGL VideoBackend's directory.Augustin Cavalier
2014-08-30DolphinWX: Clean up brace placementsLioncash
2014-08-21Fixed black screen on game start for X11 contexts.archshift
2014-08-19GLInterface: Destroy GLWinJasper St. Pierre
Everything is now safely tucked inside each individual GLInterface.
2014-08-19Core: Remove UpdateFPSDisplayJasper St. Pierre
This is effectively unused, as the window handles that we pass to the GLInterface are window handles for the frame which isn't ever a real toplevel window. Host_UpdateTitle is what actually sets the proper title on the render window.
2014-08-19Core: Don't pass through a reference to the window handleJasper St. Pierre
Now that MainNoGUI is properly architected and GLX doesn't need to sometimes craft its own windows sometimes which we have to thread back into MainNoGUI, we don't need to thread the window handle that GLX creates at all. This removes the reference to pass back here, and the g_pWindowHandle always be the same as the window returned by Host_GetRenderHandle(). A future cleanup could remove g_pWindowHandle entirely.
2014-08-19MainNoGUI: Supply a window in Host_GetRenderHandleJasper St. Pierre
Our existing code was relying on the GLX backend to create the GLX window properly, and for the rest of the code to patch that up, sort of. If we rely on Host_GetRenderHandle() returning a valid window, we can do a lot better about this. Create a simple window inside MainNoGUI to make this happen.
2014-08-19GLX: Remove evdpy / dpy splitJasper St. Pierre
Move to one display. There's no reason to have two displays here -- the comment stated that one should touch GLX and one should touch window events, and that they should be touched from different threads, but the current code wasn't this careful. Just use one Display connection.
2014-08-08GLX: Remove all Host_GetRenderWindowSize calls.Lioncash
Also remove x, y, width and height from the GLInterface, since it's only used in GLX, which no longer uses them
2014-07-11mark all local variables as staticdegasus
2014-03-17Clang 3.4 exposes some warnings on Android.Ryan Houdek
Fixes all warnings on Android build except for what is in externals. Removes a function from TextureDecoder_Generic since it is unused and generates a warning.
2014-03-14Kill off some usages of c_str.Lioncash
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-02-24Fetch swapInterval function pointer after binding a contextdegasus
This fixes vsync on windows
2014-02-20Fix the Android build.Lioncash
Required the removal of EGL.h from EGL.cpp. Removed the similar includes from AGL.cpp, GLX.cpp, and WGL.cpp to retain consistency. All GL interfaces are now centralized on GLInterface.h
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2014-02-10Replace all include guard ifdefs with "#pragma once"lioncash
2014-01-20Move GLInterface.h into GLInterface directoryScott Moreau
2014-01-18Rename our GLInterface class function 'GetProcAddress' in order to not have ↵Ryan Houdek
clashing function names due to Windows.
2014-01-17[GLExtensions] Initial code drop for GLExtensions. This drops GLEW entirely ↵Ryan Houdek
from the codebase. This has been tested on Android and Linux+ATI. Of course untested on Windows and Apple. Also untested with Linux + EGL but should be fine there. There are most likely a couple of extensions I'm missing which would result in null pointer runs but not bad for the initial commit. Conflicts: CMakeLists.txt Externals/GLew/glew.vcxproj Externals/GLew/glew.vcxproj.filters Source/Core/VideoBackends/OGL/CMakeLists.txt Source/Core/VideoBackends/OGL/GLFunctions.cpp Source/Core/VideoBackends/OGL/GLFunctions.h Source/Core/VideoBackends/OGL/GLUtil.h Source/Core/VideoBackends/OGL/Render.cpp Source/VSProps/Base.props
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre