summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
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-16[Core] Fix a mismatched dealloc in Render.cpp in the OGL backend. Should be ↵Lioncash
delete[]
2013-11-16Change software rasterizer screenshot code due to change in api just now.Ryan Houdek
2013-11-17Api was too confusing for people.Matthew Parlane
2013-11-16Woops, vim copy and paste issue with a double include.Ryan Houdek
2013-11-15Screenshot capability of Software rasterizer for feature completness.Ryan Houdek
2013-11-16[OGL] Textures now save to PNG not TGAMatthew Parlane
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-14Fixed ZComploc and Zfreeze values being incorrectly saved.Jordan Cristiano
2013-11-14More warning fixes, OSX build fix.Jordan Cristiano
2013-11-14Use libpng for saving images.Matthew Parlane
TODO: Needs threading done similiar to OGL backend. Fixes issue 6779.
2013-11-14more warning fixesJordan Cristiano
2013-11-14atlbase not needed. Interim fix until I get png done.Matthew Parlane
2013-11-14Support texture and screenshot dumping using WIC, no XP support.Matthew Parlane
2013-11-14Revert "D3D: Reintroduce depencency on D3DX11 because it's the most ↵Matthew Parlane
straightforward way to bring back some broken features." This reverts commit a83c239765f8add99a360a29bfba2fdb408075c8.
2013-11-13warnings and code formattingJordan Cristiano
2013-11-13Fix format string warningsTillmann Karras
2013-11-10D3D: Use D3DX11 for taking screenshots.Tony Wasserka
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-10D3D: Use D3DX for texture dumping.Tony Wasserka
2013-11-10D3D: Reintroduce depencency on D3DX11 because it's the most straightforward ↵Tony Wasserka
way to bring back some broken features. The Dolphin development team is incapable of providing sufficient replacement for its previous usage in Dolphin and the advantages of dropping the dependency do not justify the removal of screenshots and texture dumping. From now on, d3dx11.h, d3dx11async.h, d3dx11core.h and d3dx11tex.h are required to be stored somewhere in the header include path. I don't know if this is the case for anyone else than me, but I can't really say that I care after having people randomly merge unfinished branches into master.
2013-11-05ogl: check default framebuffer for msaadegasus
default framebuffer must not be sampled, so throw a panicalert if it is
2013-11-05Fix {Read,Write}FileToString.Matthew Parlane
We should be using binary always.
2013-11-03Run code through clang-modernize -add-override to add 'override' decls.comex
2013-11-03Run code through the advanced tool 'sed' to remove trailing whitespace.comex
2013-11-03Run code through clang-modernize -loop-convert to create range-based for ↵comex
loops, and manually fix some stuff up.
2013-11-03Be less dumb.comex
2013-11-02Actually, filename really does need to be a parameter because of some random ↵comex
debug thing.
2013-11-02fix non-HAVE_WX casecomex
2013-11-02Handle screenshot saving in RenderBase. Removes dependency on D3DX11 for ↵comex
screenshots (texture dumping is still broken).
2013-10-31Merge remote-tracking branch 'shuffle2/vc12'comex
Conflicts: Source/Core/Common/Common.vcxproj Source/Core/Common/Common.vcxproj.filters
2013-10-29Merge branch 'viewportCorrection'degasus
2013-10-29ogl: ceil viewport, rounding isn't supported on vs and this is more like the ↵degasus
old behavior
2013-10-29ogl: remove some unneeded includesdegasus
2013-10-29d3d: use backend based UpdateViewport instead of VideoCommon onedegasus
2013-10-29ogl: don't call SetViewportChanged from backend as it's not needed any moredegasus
2013-10-29VideoCommon: move ViewportCorrection into VideoCommondegasus
D3D doesn't allow bigger viewports than rendertargets. But flipper does, so the viewport will be clipped and the transformation matrix will be changed. This was done in the D3D backend itself. This is now moved into VideoCommon. This don't reduce code, but in this way, VideoCommon doesn't depend on the backends.
2013-10-29[viewport-float] Fix OpenGL ES 3 build.Ryan Houdek
2013-10-29OGL: Use floating points for viewport parameters.degasus
As told by neobain, ARB_viewport_array introduced float viewports. They must be supported on OGL4.1+, but it's usually also implemented on 3.3 GPUs.
2013-10-26Update to VS2013 and a slew of build-related updates. Notes:Shawn Hoffman
* Currently there is no DEBUGFAST configuration. Defining DEBUGFAST as a preprocessor definition in Base.props (or a global header) enables it for now, pending a better method. This was done to make managing the build harder to screw up. However it may not even be an issue anymore with the new .props usage. * D3DX11SaveTextureToFile usage is dropped and not replaced. * If you have $(DXSDK_DIR) in your global property sheets (Microsoft.Cpp.$(PlatformName).user), you need to remove it. The build will error out with a message if it's configured incorrectly. * If you are on Windows 8 or above, you no longer need the June 2010 DirectX SDK installed to build dolphin. If you are in this situation, it is still required if you want your built binaries to be able to use XAudio2 and XInput on previous Windows versions. * GLew updated to 1.10.0 * compiler switches added: /volatile:iso, /d2Zi+ * LTCG available via msbuild property: DolphinRelease * SDL updated to 2.0.0 * All Externals (excl. OpenAL and SDL) are built from source. * Now uses STL version of std::{mutex,condition_variable,thread} * Now uses Build as root directory for *all* intermediate files * Binary directory is populated as post-build msbuild action * .gitignore is simplified * UnitTests project is no longer compiled
2013-10-26D3D: Use floating points for viewport parameters.Tony Wasserka
OpenGL 4.1 allows for a similar change thanks to ARB_viewport_array, but we don't make use of this, yet.
2013-10-19Remove some unnecessary includes as well as simplifying exisiting ones if ↵Lioncash
possible.
2013-10-17Basic precompiled header support for Linux/OS X. Shaves 20-30% off full ↵comex
rebuild time on my system.
2013-10-16Fix TextureEncoder.hcomex
2013-10-16ogl: only use bufferdata if buffersubdata is brokendegasus
Else nvidia fallback would be slower than needed
2013-10-16Fix rendering on Adreno and Mali. This adds a new DriverDetails bug to know ↵Ryan Houdek
if the bufferstreaming is broken. Thanks degasus for fixing this.
2013-10-12OGL: update ubo workarounddegasus
2013-10-12D3D: also uses VideoCommon constant buffer handlingdegasus
As now both backends uses the VideoCommon one, the old setting API was removed.
2013-10-12ogl: implement useful constant buffer uploaddegasus
this will remove the additional memcpy introduced in my last commit
2013-10-12VideoCommon: keep a copy of the const buffer in VideoCommondegasus
The upload in the backend isn't done, it's just pushed by the mostly removed SetMulti*SConstant4fv. Also no optimizations was done on VideoCommon side, but I can start now :-) Sorry for the hacky way, but I think this is a nice (working) snapshot for a much bigger change.