summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/XFB.cpp
AgeCommit message (Collapse)Author
2009-09-03Moving more things out of GL into VideoCommon...hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4187 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-15Code cleanup. Juggling rectangles. I'm about to investigate the problems ↵Nolan Check
with Real XFB's in PAL games, so I wanted to make sure all our rectangles were cleaned up and organized. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3794 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26Display buffer flips are now triggered by the CPU thread through the ↵Nolan Check
Video_UpdateXFB function. This is a fairly significant change of behavior, but it improves performance. Also, render target code is cleaned up. Post-processing shaders now work with multisampling and Real-XFB mode. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3545 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-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-05GL plugin: VSync option, some renaming, a little bit of MSAA preparations ↵hrydgard
(not there yet) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2563 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28Increased render target size to the true EFB height of 528.hrydgard
This changes fixes the bloom effect in Beyond Good and Evil. It also makes the AutoScale feature almost mandatory since it looks silly without :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2475 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-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
2009-02-20OpenGL:John Peterson
1. Removed the custom screen size functions again (the ones I added in revision 2310). All games I tried are now full screen so it's probably not needed any more. 2. Disabled my XFB supplements when the real XFB is on, since they are supposed to supplement each other. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2318 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30build fix for those non-WIP OGL people out thereXTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2040 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29More WIP OGL EventHandler work by shuffle2 and myself. Wiimote isn't ↵XTra.KrazzY
implemented yet and OGL window is too small (should take window borders into account when creating window). Not committing VideoOGL.vcproj so that project compiles with old OGL video window. In order to test just replace main.cpp/GLUtil.cpp/GLUtil.h with nmain.cpp/nGLUtil.cpp/nGLUtil.h in the project. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2038 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-241) XFB in DC proposal. This impact video plugin interface. WARNING: XFB_Draw ↵memberTwo.mb2
is not CPU->VI dependent anymore. It's up to GP now. Except for some 2D homebrews which never use GPfifo&CP but direcly XFB. Well, in other words: emulated VSync is uncorrelated with CPU timings now. Tell me if it's too much hacky. 2) DC/GPfifo work: GP quicker to react. PeekMessages at a more steady rate. 3) Fix XFB address to avoid crash like with Animal Crossing gc. TODO: VI regs need proper typedef and logic. 4) Few misc. changes on the fly. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2001 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17fix XFB enabled at boot. Should save some click for homebrew.memberTwo.mb2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1893 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26More code movin' .. split Vertex/Pixelshadermngr into xxCache and xxManager.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25just a bunch of random code cleanup i did on the train bored, plus a d3d ↵hrydgard
implementation of NativeVertexFormat which isn't actually used yet. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1658 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21typo fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1620 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19More cleanup again I hope I didn't break anything, please checknakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1593 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08set svn:eol-style=native for Plugins/**.cppbushing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1441 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30Aniso filter setting working in GL, some code moving around, spelling fixeshrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1341 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10Added texture converter to convert textures between GX and GL formats using ↵donkopunchstania
fragment programs. Currently only YUYV <-> RGB is supported, but other formats will be added in the future. Hopefully using fragment program conversion over the current software texture conversion will help movie playback. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1107 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27Aligned all vertex components to 4 byte boundaries - maybe ATI likes that? ↵hrydgard
Renamed and reorganized misc things. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@981 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22Remove OpenGL stuff from Globals.h. Stuff that doesn't use GL shouldn't ↵hrydgard
include it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@939 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16Kill lots of old outdated comments. Some new comments added. Misc style ↵hrydgard
fixes. No effect on emulation. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@894 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16Further tiny XFB speedup: baked the bias constants into the R tables, and ↵hrydgard
switched to aligned writes, and made sure efb_buffer is aligned. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@890 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15Fix mirrored XFB problem properly.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@887 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15Substantial XFB speedup. There's more to get though, for example by using a ↵hrydgard
shader for color conversion instead - but i like having a fast CPU implementation too. Also adds some sanity checks. PAL games still have problems. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@885 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15Revert since It flips Commercial games that use XFB + 3D, but makes Homebrew ↵Sonicadvance1
that uses ONLY XFB look correct the old way. Annoying git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@883 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15Flips the XFB around and some other thingsSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@881 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15added option to use XFB in GL, but XFB support still needs work. modified ↵donkopunchstania
viewport to include scissor offset. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@879 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05Use GL_TEXTURE_RECTANGLE_ARB instead GL_TEXTURE_RECTANGLE_NV hoping for ↵nakeee
better ati support git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@776 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14Removes 4 unneeded values in the GL plugin, Makes less buffer underruns in ↵Sonicadvance1
ALSA in DSP_NULL, and case sensitivity so Wii games get just a 'wii' bit farther git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@216 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14Some cleanup, extracted XFB convert code into VideoCommon, added ↵hrydgard
non-activated support to gl plugin. + a minor bugfix with no effects seen so far in gl plugin :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-07static-ified a lot of vars to prevent name collisions with plugins, other ↵hrydgard
cosmetic stuff, prep for jit debug git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@147 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-12Initial megacommit.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4 8ced0084-cf51-0410-be5f-012b33b47a6e