summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2017-06-18Merge pull request #5305 from iwubcode/abstract_textureshuffle2
Abstract Texture
2017-06-17Merge pull request #5314 from stenzek/revert-efb-source-truncationStenzek
TextureConversionShader: Use integer math for truncating EFB format
2017-06-17TextureConversionShader: Use integer math for truncating EFB formatStenzek
2017-06-16Merge pull request #5594 from MerryMage/phackLeo Lam
Cleanup Projection Hack
2017-06-15Add a namespace to OpenFStreamJosJuice
For consistency with the other functions in FileUtil.h.
2017-06-15Move IOFile to a separate fileJosJuice
Reduces the number of files that need to be recompiled when making changes to FileUtil.h.
2017-06-15VertexShaderManager: Rename projection hack variablesMerryMage
2017-06-13Video Backends: Move and rename HostTextureFormat to AbstractTextureFormatiwubcode
2017-06-13Video Backends: Split texture cache code out into separate files, introduce ↵iwubcode
'AbstractTexture'
2017-06-11VideoConfig: Remove bRunningMerryMage
Value was set but not used.
2017-06-10VideoConfig: Remove useless header includesLéo Lam
2017-06-10VideoConfig: Remove manual panic alert setting loadLéo Lam
This code hadn't been touched since 2010. Nowadays, the panic alert setting is loaded by ConfigManager and applied in UICommon. VideoConfig has no business messing with it.
2017-06-07video: change multisample/AA setting to u32Shawn Hoffman
2017-06-07do not assign in conditional statementsShawn Hoffman
2017-06-07quiet some sign-conversion-in-parameter warningsShawn Hoffman
2017-06-07fix various instances of -1 being assigned to unsigned typesShawn Hoffman
2017-06-07msvc: disable warning about using setjmp w/c++ objects in scopeShawn Hoffman
2017-06-05Merge pull request #5418 from MerryMage/config-again-and-againshuffle2
VideoConfig: Port to layered configuration system
2017-06-05Merge pull request #5312 from ligfx/cleanupupdatedrawrectangleshuffle2
RenderBase: clean up UpdateDrawRectangle
2017-06-03msbuild: make Externals inclusion methods uniformShawn Hoffman
2017-06-03remove duplicate code in msbuild filesShawn Hoffman
2017-06-03might as well update yet some more pointless version numbers..Shawn Hoffman
2017-06-03GameConfigLoader: Add GFX Game INI translationsMerryMage
2017-06-02Merge pull request #5271 from JosJuice/allow-aslrshuffle2
Allow (but don't force) ASLR
2017-05-28upgrade to Windows SDK 10.0.15063.0BhaaL
this is required for /permissive- to work, because some headers in the Windows SDK use Microsoft extensions that are not allowed in standards mode
2017-05-26MSVC: define HAVE_FFMPEGMichael Maltese
2017-05-26Rename define HAVE_LIBAV->HAVE_FFMPEGMichael Maltese
2017-05-26CMake: libav/ffmpeg cleanupsMichael Maltese
Use @Orphis's FindFFmpeg module from ppsspp: https://github.com/hrydgard/ppsspp/commit/2149d3db7fb960d140bdee31a9f0f4837934127b From that commit: > This new module should be able to handle both libraries in the regular > paths and fallback to pkg-config. > It is also able to find dynamic libraries, not just static libraries. > It will generate imported targets with the name FFmpeg::<lib> that you > can use in your scripts.
2017-05-25Migrate to Visual Studio 2017.Pierre Bourdon
Auto-generated by the IDE, I'll trust it knows what it's doing.
2017-05-20Remove code for only allocating low memoryJosJuice
This is unnecessary when we have position-independent code.
2017-05-18Remove D3D12Helios747
2017-05-03Add a workaround for a PowerVR glsl compiler bugJonathan Hamilton
It seems it doesn't like negating arguments for bitops, so suff like "var <<= (-othervar);" fails to compile
2017-04-29TextureCache: Move host texture utility functions to VideoCommonStenzek
The appropriate place for these would be AbstractTexture, once it is finished.
2017-04-29HiresTextures: Support loading uncompressed .DDS filesStenzek
Will load files with formats RGBA8, RGBX8, BGRA8, BGRX8, RGB8.
2017-04-29HiresTextures: Move the maximum mip level check from DDS to main loaderStenzek
This way that the mip count check occurs on .png and uncombined DDS textures as well.
2017-04-29HiresTextures: Support DXT10 extended header in DDS loaderStenzek
2017-04-29HiresTextures: Load full mipmap chain from DDS filesStenzek
This removes the need for multiple texture files to store the mipmap chain for a texture. As many mipmaps will be loaded as are present in the DDS file, and any remaining mipmaps will fall back to the old behavior.
2017-04-29TextureCache: Support compressed textures and pass pitch/size to uploadStenzek
This also removes an extra copy of the image for custom textures.
2017-04-29HiresTextures: Support parsing DDS files directlyStenzek
This leaves DDS textures using DXT1/3/5 compressed in-memory, which can be passed directly to the backend.
2017-04-25VideoConfigDiag: Move post-processing shader list to post processorStenzek
The backends don't use this list at all, and since more than one backend supports post-processing now, it's duplicate code.
2017-04-25VideoCommon: Move the blit methods to the backend classStenzek
The parameter types will be different for each backend currently, anyway (e.g. textures/render passes/etc).
2017-04-24RenderBase: clean up UpdateDrawRectangleMichael Maltese
2017-04-18OGL: Drop BlendingState.ditherStenzek
How GL_DITHER works is implementation-defined, and we handle the non-blended case in the pixel shader.
2017-04-18VideoCommon: Drop SetDitherMode()Stenzek
It was a no-op on all backends apart from GL anyhow.
2017-04-18VideoCommon: Add usedualsrc field to BlendingStateStenzek
This is because we re-use BlendingState for our internal drawing (e.g. RasterFont) and for these shaders, we can't assume the presence of a second color output.
2017-04-12TextureConversionShader: fix syntax errorMichael Maltese
Fixes a situation where the following invalid GLSL code is generated: ```glsl float3 texSample0 = texture(samp0, float3(uv0 + float2(0, 0) * sample_offset, 0.0)).rgb; float3 texSample0 = floor(float3 texSample0 * 63.0) / 63.0; float3 texSample1 = texture(samp0, float3(uv0 + float2(1, 0) * sample_offset, 0.0)).rgb; float3 texSample1 = floor(float3 texSample1 * 63.0) / 63.0; ```
2017-04-12VideoBackends: Support updated texture encoding shader generatorsStenzek
2017-04-12TextureConversionShader: Consider source format of EFB for EFB2RAMStenzek
Currently, we use the alpha channel from the EFB even if the current format does not include an alpha channel. Now, the alpha channel is set to 1 if the format does not have an alpha channel, as well as truncating to 5/6 bits per channel. This matches the EFB-to-texture behavior.
2017-04-11Merge pull request #5234 from lioncash/tupleMarkus Wick
RenderBase: Return tuples from CalculateTargetScale and ConvertStereoRectangle instead of using out parameters
2017-04-10Merge pull request #5008 from ligfx/aspectheuristicScott Mansell
VideoCommon: rework anamorphic widescreen heuristic