summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp
AgeCommit message (Collapse)Author
2011-02-03Use brute force to link the software plugin.Soren Jorvang
Not yet functional. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7050 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-02Remove the global namespace a bit and remove some dead code.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7043 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-01Fix the auto window resize option to take into account if the log/console ↵Glenn Rice
window is open. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7031 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-31Eliminated the plugin interface. Merged DX9/DX11/OGL video plugins into ↵Jordan Woyak
Dolphin. It could still use a lot of cleanup. Lots of things are still named "plugin". Software renderer is temporarily disabled until it gets some namespaces. I only updated vs08/10, Linux/OSX builds are broken. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6996 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29Explicit dependency on libvideo.Soren Jorvang
Back out r6960 for now. The wxGLCanvas may need to be persistent and owned by DolphinWX in the rendertomain case. Disambiguate SWVideoConfig. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6962 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29r6958 removes the need for the hackery in r6946.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6960 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-28Vertical sync on OS X.Soren Jorvang
Fixes issue 3996. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6946 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-21Make sure the game list gets created with automatic starts.Soren Jorvang
When rendering to the main window, the wxGLCanvas should really be owned by the DolphinWX code for it to be safely freed. Hack around the problem by just hiding the canvas for now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6890 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-20Disable the default PIC generation on OS X. This might make for aSoren Jorvang
minor performance improvement and also possibly make that platform a little less prone to problems with ABI assumptions in the JIT code, although I haven't measured the first or seen signs of the latter. Only the GL context needs to be specifically freed when shutting down OpenGL. The GL canvas is implicitly freed by wxWindow. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6885 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-11For some reason the wxGLCanvas loses keyboard focus whenever theSoren Jorvang
full-screen mode is toggled, so we just re-set it afterwards. Didn't mean to include the version string in the status bar updates. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6814 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-11Print the performance status in exactly one place.Soren Jorvang
Placing the render window at position 0,0 makes it unmovable on OS X. Use the conventional r1234 format for SVN revision numbers. Delete mis-copied .svn directories from the application bundle. Only warn about a failed low-memory allocation if one was requested. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6811 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-10Fix cocoaGL window resizing.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6807 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-10Properly resize the GL canvas on window changes with USE_WX and wx 2.9.Soren Jorvang
Fixes issue 2524. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6803 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-07Add anvideo config option to automatically resize the render window to the ↵donkopunchstania
size of the game's output resolution. This avoids artifacts that appear when the render target is scaled to fit a window of a different size. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6764 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-05allow gcc to check the format of args being passed to MsgAlert and ↵Shawn Hoffman
GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6522 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16Fix an issue that made it so that the emulator could not be resized in the ↵Glenn Rice
nowx build on linux. Also some code cleanup in the OpenGL and Software plugins. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5889 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16This is basicall linux code cleanup. We don not need to pass the X display ↵Glenn Rice
handle from the video plugin anymore. The wiimote plugins now open their own display handles, and the GUI uses the display handle of the main window frame. Only the window handle from the video plugin is needed. The pWindowHandle variable now passes this instead of the display handle. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5884 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-08Copy the version string obtained from svnversion at runtime instead ofSoren Jorvang
using it as a constant in several places. Saves a few bytes and the time it takes to recompile a bunch of files whenever svnversion twitches. Using the SVN version string as an integer is not portable as the Unix svnversion always includes e.g. the "M" suffix for a modified tree. Windows people, please check my change to Plugin_VideoDX9/Src/main.cpp as I don't really understand how _T() and the %hs format string work. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5852 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-11Remove a few unused HAVE_FOO's and make the SDL check global.Soren Jorvang
ulong is not a standard type. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5649 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-03Make wxgl mandatory on OS X.nJoySoren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5576 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-16Added a catch-all OpenGL visual. This allows the VideoSoftware plug-in to ↵skidau
run under VirtualBox. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5454 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-25Make wiimote connect/disconnect hotkeys work when not rendering to main. ↵Glenn Rice
Also made them configurable. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5409 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-12Big restructuring of how the video plugin works. In linux and windows you ↵Glenn Rice
shouldn't see a change in the functionality; however, there are changes in how render to main or not, and fullscreen modes, and such are handled. Input is largely restructured for the video plugin. It is now handled by the host. Keys for pausing and changing fullscreen are configurable. More will probably be later. This is probably classified as highly experimental. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5336 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17Fix software plugin in linux. I broke it in revision 5048.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5077 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17Update Video software plugin with latest cocoaGL.m fileSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5076 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16Enable fullscreen switching with resolution mode changing using Xrandr in linux.Glenn Rice
This changes the dependency in linux from libxxf86vm-dev to libxrandr-dev. Use Alt-Return to toggle fullscreen mode (as in windows). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5065 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-21thats more like it i guess...j4ck.fr0st
does the Software Plug in not check for RenderToMainframe on purpose? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4920 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-23fix video software plugin build on osxtmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4719 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12SW plugin: compile on linuxnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4413 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12Started fixing SW video compilation for linux, must go home nowXTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4410 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12Adding software rendering plugin. This is aimed at accurate emulation, not ↵donkopunchstania
fast. Its more like a debugging tool than actually useful. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4407 8ced0084-cf51-0410-be5f-012b33b47a6e