summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp
AgeCommit message (Collapse)Author
2010-03-17Backport of my recent changes to fullscreen and render to main in linux, and ↵Glenn Rice
some of my other little bug fixes. Also backported godisgovernment's removal of wiimote led and speaker status. I hope this is okay with you. git-svn-id: https://dolphin-emu.googlecode.com/svn/branches/stable@5208 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-07stable: mark as "2.0 RC1"Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/branches/stable@5167 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28Enable the OSD hotkeys in linuxGlenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5147 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-20Some code clean up, and take care of some compiler warnings.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5090 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-18In linux when in fullscreen, make escape leave fullscreen then pause.Glenn Rice
More like on windows? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5079 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17Make the Escape key pause the emulator in linux when not in fullscreen.Glenn Rice
I believe this is the same as in windows? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5078 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17Minor tweaks to fullscreen in linux, and make FullScr button in GUI work.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5074 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-02-15Fix mouse emulation in fullscreen mode in linux. The window doesn't have ↵Glenn Rice
focus then. Also minor tweak to mouse hiding. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5063 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13In linux only read keyboard and mouse input when the emulator window has focus.Glenn Rice
Also other code clean up. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5053 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13EXPERIMENTALGlenn Rice
Removed X event loops from GCPad and Wiimote plugins, and implemented an asynchronous check for keyboard and mouse buttons. Also added an X event loop in core that handles events while the emulator is paused. Prevents unexpected behavior from events that occur while the emulator is paused. Now there is only one event loop running at a time (besides those hidden in SDL). I will revert this commit if other devs are unhappy with it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5048 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12Compiling with rev 63470 of wxWidgets now works with OSX x86_64. There are a ↵Sonicadvance1
BUNCH of errors while running, none fatal from what I've seen. This also fixes Dolphin creating multiple NSWindows when running multiple games. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5041 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12Implement wiimote IR emulation with the mouse without using the pointer ↵Glenn Rice
motion events. Hopefully this removes some of the overhead from the X event loops. One downside is that the IR emulation will not work until another event on the window has occured. Although this is minor, usually an event happens before you need the IR pointer. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5040 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08Enable dynamic fullscreen switching in linux. Toggle fullscreen mode with ↵Glenn Rice
the escape key. Unfortunately this fullscreen mode is separate from the fullscreen mode obtained from the OGL config dialog. To close that fullscreen mode you must use Alt-F4 for now (not escape). This is not how we want this to end up but there is a mode switching issue I can't figure out. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5029 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-07Fix segfault in linux if user clicks on the window manager close button of theGlenn Rice
emulator. Also added the ability to close the emulator with the escape key. Fixed an issue that caused a segmentation fault when trying to close the emulator when running in fullscreen mode, which can also be done using the escape key. This makes fullscreen mode useable in linux! git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5023 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-06Completed TODO: Core::GetStartupParameter is deadGlenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5019 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-06In linux process events from the main frame regularly to update statusbar textGlenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5018 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05Correct stopping of Core in OSX via Command+Q, and fix a thread from not ↵Sonicadvance1
dying when stopping with CoreAudio git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5013 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-04Implement hiding of mouse cursor on linux.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5007 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-26Added mouse support for linux. It is still rather crude, but it works.Glenn Rice
Unfortunately the mouse pointer doesn't match up very well with the IR pointer yet. Also, I had to add the PointerMotionMask to XSelectInput which adds overhead to the already stressed X event loops. Five event loops by my count, really? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4961 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
2010-01-20Fixes Issue 2080 for DX9 & OGLayuanx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4910 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15reapply the changes from rev 4532 (without the resizing issues) and the ↵luisr142004
changes from rev 4555 -- fixes issue 1660 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4578 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14revert to r4531, but keep the changes from the following revisions: ↵Shawn Hoffman
4533,4550-4551,4556-4559 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4566 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12Fix some plugin communication with the video plugins (fixes Esc button) and ↵luisr142004
apply an opengl equivalent of my first commit :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4532 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-09-13Rename Config.cpp/h to VideoConfig.cpp/h.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4260 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13Lots of code and warning cleanup. OGL/D3D: Moved to a shared config class in ↵hrydgard
VideoCommon. This lets VideoCommon code read the config without ugly hacks. Fixed various config race conditions by keeping a copy (g_ActiveConfig) of the g_Config struct which is updated once per frame. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4256 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09OGL: nakeee
Kill not working sdl backend remove some wxgl code change defined a bit so resolution detection can be done right with wxgl and X11 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4239 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09removed the failed gltest code nakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4238 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06GUI: Fixed a double keydown event in the main frame, the double click in the ↵John Peterson
video window (didn't know about CS_DBLCLKS) OpenGL: Fixed the live resolution setting git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4211 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30plugins can now compile with unicodeLPFaint99
excluding DX9 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3905 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28Now ALL copyright dates are fixed to the legally correct year: The year in ↵XTra.KrazzY
which the project began. Now we don't have to change it every year :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15Fixed one of the two remaining crash on Stop (issue 600), and removed some ↵sl1nk3.s
setup defines which are now useless anyway. There's an attempt to implement Peek_Color too, probably done wrong :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3799 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08OpenGL: Fixed the screenshot function now that I found all the buffersJohn Peterson
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3366 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-30wxgl build fix for osx (not working)tmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3106 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08DSP: Fix sln file now that old LLE is dead. Add preliminary DSPAnalyzer, ↵hrydgard
which looks for idle skip opportunities. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2930 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08Fix for issue 831, add .gcz to the cache file of compressed iso and ↵sl1nk3.s
corrected fullscreen tool tip message git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2929 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-04Fixed a little out-of-fullscreen black screen weirdness on windows, trying ↵sl1nk3.s
to port fullscreen changes to DX, needs more work. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2863 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03Fixed various OGL fullscreen issues, screen shaking, esc key not working, ↵sl1nk3.s
misplaced fullscreen window. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2858 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03OpenGL Plugin: code cleanup trying to follow code style wiki and updated ↵omegadox
copyright date git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2850 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22Removed TortoiseSVN Junkomegadox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2728 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22Clean up OpenGL plugin error handling macros. No longer bother with enabling ↵hrydgard
TEXTURE_2D and TEXTURE_RECTANGLE_ARB - they don't apply when using shaders. Change a PanicAlert when looking for valid plugins into a LOG_WARN. Let me know if this breaks anything - it shouldn't. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2726 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-21remove newlines from OGL logging (they get added by logmanager)Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2720 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20Fixed some log messagesnakeee
Fixed a crash when no game ini exists git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2690 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-08First version of MSAA code added. No UI yet. No CSAA yet. Doesn't work in ↵hrydgard
Zeldas and Metroids for unknown reason. Automatic texture invalidation when using copy efb to ram (fixes weird flickery scanner in metroid 2). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2617 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28OGL plugin: +Autoscale option (attempts to remove borders, even without ↵hrydgard
XFB). Lots of cleanup, especially around aspect ratio and similar stuff. MP2 scanner still broken, wonder when that happened? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2470 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few ↵hrydgard
crash bugs in FileUtil.cpp. Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22Core Stop and Start: Added alternative separate thread timer/loop based ↵John Peterson
waiting, instead of same thread loop waiting. You can try it with the SETUP_TIMER_WAITING option in Setup.h. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2375 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21delete unused variables, rename some functions - minor stuff.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2339 8ced0084-cf51-0410-be5f-012b33b47a6e