summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src
AgeCommit message (Collapse)Author
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre
2013-12-30Disable primitive restart on buggy OS X Intel HD 3000 drivers.Ryan Houdek
2013-12-30VertexShaderGen: Remove Sonic Unleashed hack. Doesn't seem to be required ↵Tony Wasserka
anymore. Either way, even if it's still needed for anything, this is not the correct way to fix the issue.
2013-12-30VertexShaderManager: Remove a hardcoded projection hack.NeoBrainX
2013-12-19[Android] Work around Qualcomm's broken garbage in their v53 drivers. This ↵Ryan Houdek
doesn't fix the issue, just a work around. This is the stupidest issue coming from Qualcomm. Now Dolphin Mobile won't crash immediately, but there are new SPS issues.
2013-12-19Work around AMD's broken Linux drivers when it comes to pinned memory and ↵Ryan Houdek
base_vertex usage. It seems that using pinned memory with base_vertex disabled is quicker than the other way around.
2013-12-18[Android] Things fixed in Qualcomm driver v53. GLSL Centroid usage. ↵Ryan Houdek
SHADER_INFO_LOG reporting 0 at all times. Some crazy nonsense that broke the FPS counter. Those are all fixed. glBufferSubData still makes the device do a OOM error, and is still stupidly slow to use. Many more bugs remain in this latest Qualcomm driver.
2013-12-11Remove all instances of OpenCL in the Dolphin Project. A brief history of ↵Ryan Houdek
OpenCL in Dolphin. OpenCL was originally added to the Dolphin codebase 1 month after it was released with OS X Snow Leopard in 2009. OpenCL was one of the largest group projects that Dolphin ever has had. The OpenCL texture decoder was originally aded with version 1.0 of the OpenCL spec; This version didn't have the capability of a OpenCL-OpenGL interop which would allow for uploading textures once and have it decoded directly to a OpenGL texure. This was to be worked out when the OpenCL 1.1 spec was released and allowed the interop. This work has never been done, and no one in the team is willing to work on it for various reasons. OpenCL has had the unreasonable expectation that it increases the performance of video games that require a large amount of EFB copies like NSMBW. In reality, enabling OpenCL just put the graphics card in a higher power mode which increased the game speed. This is due to the unfortunate effect of Dolphin tending to not push GPUs out of their lower frequency power savings modes. Thanks to everyone that had contributed to the OpenCL texture decoder.
2013-12-11Use less brain damaged names for DLCache and TextureDecoder.Tony Wasserka
2013-12-09VideoCommon: remove outdated copy of OGL::VertexManager::vFlushdegasus
2013-12-09Merge branch 'ogl-tex2d'degasus
Conflicts: Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
2013-12-09OGL: use integer uniforms for efb2ram texture converterdegasus
2013-12-06Oops. Fix a typo in the DriverDetails change.Ryan Houdek
2013-12-05Support OS specific bugs in our DriverDetails.Ryan Houdek
2013-12-03PixelShaderManager: clear s_bViewPortChanged flagdegasus
This flag wasn't cleared at all, so we set our constants dirty every time... This could fix some performance regressions because of revision 6798a4763e9c
2013-11-29Merge X11+D3D FreeLook feature into DolphinWXdegasus
This removes the redundant code and also implements this feature for OSX and Wayland. But so it's dropped for non-wx builds... imo DolphinWX still isn't the best place for this, but now it's in the same file as all other hotkeys. Maybe they'll be moved to InputCommon sometimes at once ...
2013-11-25TextureConverter: remove WriteIncrementSampleXdegasus
2013-11-25Fix OpenGL ES 3.Ryan Houdek
2013-11-25TextureConverter: fix scopingdegasus
2013-11-25TextureConvertion: merge Write*Swizzlerdegasus
2013-11-25TextureConverter: Use integer math for swizzlingdegasus
also move int(efb_coord) -> float(ogl_fb_coord) into WriteSampleColor
2013-11-25TextureConverter: Use gl_FragCoord instead of uv0degasus
2013-11-25TextureConverter: remove D3D9 foodegasus
This file is in VideoCommon, but as D3D11 doesn't use it and D3D9 is dropped, it's time to clean up.
2013-11-25OpenGL: fix efb2ram for texture2Ddegasus
This was hacky as hell. Our efb2ram shader generator is just freaked out.
2013-11-25Fix the issue with COLOROUT not being defined anymore. Fix a issue where ↵Ryan Houdek
Mali shader compiler is idiotic in finding an overload for the mix function.
2013-11-24[Android] Due to recent changes in code breaking Tegra 4 support, and also ↵Ryan Houdek
the upcoming code which will be breaking GLES2 support entirely. Taking the initiative to drop the remaining support code from the codebase in preparation for the upcoming changes. For a look at how Dolphin on Tegra 4 looked like prior and would not have been able to be fixed at all due to Tegra 4 not supporting the precision we need in our shaders; Look at this Youtube video http://youtu.be/Ga7Jc_Ote7U
2013-11-24VideoCommon: reorder cbufid in orderer. We've used once two timesdegasus
2013-11-24Merge branch 'efb2tex_alpha'degasus
2013-11-24Unused arguments removed from XFBSource::DrawMatthew Parlane
Thanks neo.
2013-11-22OpenGL: Enable pinned memory even for index buffers (works for me). Big-ish ↵Tony Wasserka
speedup on AMD GPUs for streaming intensive games.
2013-11-22VideoCommon: don't read alpha from efb which don't have alphadegasus
This fixes issue 6788
2013-11-20Revert "Handle BP mask register better to avoid useless BP writes (causing ↵Tony Wasserka
flushes)" This reverts commit 954be9e2d9bfca8b33ac1cb36d3226bf2555f2c1. Fixes issue 6826.
2013-11-17Imagewrite.cpp had same problem.Matthew Parlane
I hate windows :(
2013-11-17Use IOFile for TextureToPng to support non-asciiMatthew Parlane
Changed save texture/screenshot uses to std::string Removed unneeded new/delete calls when dealing with temp data.
2013-11-17Api was too confusing for people.Matthew Parlane
2013-11-16[OGL] Textures now save to PNG not TGAMatthew Parlane
2013-11-15[Android] Broken UBOs has been fixed in Adreno driver v53, so update the ↵Ryan Houdek
comment in DriverDetails.h. Also enable dynamic UBO array member access with that version since there is a high chance of it being fixed. Dynamic UBO member access is commonly noticed with character models being terrible looking.
2013-11-15Fix introduced ImageWrite warning.Matthew Parlane
2013-11-15Goto crosses initialization error.Matthew Parlane
Sorry.
2013-11-15Reworked Screenshot saving.Matthew Parlane
Now OGL doesn't rely on WX for PNG saving. FlipImageData supports (pixel data len > 3) now. TextureToPng is now in ImageWrite.cpp/h Video Common depends on zlib and png. D3D no longer depends on zlib and png.
2013-11-14more warning fixesJordan Cristiano
2013-11-13warnings and code formattingJordan Cristiano
2013-11-10Revert "Be less dumb."Tony Wasserka
Revert "Actually, filename really does need to be a parameter because of some random debug thing." Revert "fix non-HAVE_WX case" Revert "Handle screenshot saving in RenderBase. Removes dependency on D3DX11 for screenshots (texture dumping is still broken)." This reverts commits 00fe5057f13bca3416b9d25a1fe9df27c514b29c, 74b5fb3ab4b066681336d1be44c7eecfcf6a4dc6, cd46138d299088631bbcbf37543584946c4b174a and 5f72542e0637799092ad1006d16ebad1961020e0 because taking screenshots in D3D still crashed for me so there was no point in the code changes (which I found ugly anyway).
2013-11-07Revert "VideoCommon: create native texture pool"degasus
This reverts commit 6cece6b486670dd149c827053a84754c98397ccc. In fact, there was a _huge_ speedup on lots of games (mostly on nvidia+ogl), but there are some crashes on D3D. I have to fix this crash and then I'll commit something like this again :-) Conflicts: Source/Core/VideoCommon/Src/TextureCacheBase.cpp
2013-11-07VideoCommon: fix custom texturesdegasus
This fix a regression by revision 6cece6b48667 delete pointer must not do anything if pointer==NULL.
2013-11-07Handle BP mask register better to avoid useless BP writes (causing flushes)Pierre Bourdon
Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658
2013-11-05VideoCommon: create native texture pooldegasus
We often need the same native texture objects for new textures. This commit try to avoid destroying and creation of this textures by pooling them. This should be a big performance gain for some efb2ram games as they may overwrites partially a cached texture (which would be deleted) and afterwards try to read it. Creating/destroying sounds like an easy task, but it isn't. eg the nvidia ogl driver synchonize their threads do avoid use-after-free issues.
2013-11-04ogl: drop all %f from TextureConversionShaderdegasus
2013-11-05Fix {Read,Write}FileToString.Matthew Parlane
We should be using binary always.
2013-11-03Run code through the advanced tool 'sed' to remove trailing whitespace.comex