summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
2015-09-17VideoSW: Remove unused functiondegasus
2015-09-17Merge pull request #3054 from degasus/masterflacs
GLInterface: Fix VideoSW on linux + OSX
2015-09-17VideoSW: Drop SW bbox codedegasus
The hardware backends don't use this shared code any more, and it's not needed for video sw either. So this was just dead code.
2015-09-17VideoSW: Drop HwRasterizerdegasus
I don't remember it being working, and nobody cares about performance of videosw.
2015-09-17GLInterface: Fix VideoSW on linux + OSXdegasus
Our Video Software backend isn't OpenGL Core compatible, so we need a flag to alloc a compatible one.
2015-09-17Rasterizer: Use multiplication instead of shifts in DrawTriangleFrontFaceLioncash
The left-hand-side is negative at some point which is considered undefined by the standard.
2015-09-17Remove segfault from DX11 backend.Scott Mansell
Instead of blindly using the expected width, clamp it to the stride of the buffer which dx11 returns. This prevents use from reading invalid memory at the end of textures. This doesn't solve the base issue of what to do when a game tries to copy from outside the efb. On real hardware it returns random noise (biased to all ones)
2015-09-12Merge pull request #3026 from lioncash/constexprRyan Houdek
MathUtil: Make Clamp and IsPow2 constexpr functions.
2015-09-12Merge pull request #3018 from Armada651/ogl-tabRyan Houdek
OGL: Invert Top-and-Bottom mode.
2015-09-12Merge pull request #3002 from degasus/masterRyan Houdek
OGL: reimplement SSAA based on ARB_gpu_shader5
2015-09-12MathUtil: Convert Clamp into a constexpr functionLioncash
2015-09-10OGL: Invert Top-and-Bottom mode.Jules Blok
2015-09-10Merge pull request #3012 from degasus/destAlphaRyan Houdek
VideoCommon: Drop "Disable destAlpha" hack
2015-09-10Split OpenGL errors into a separate logtype from Video errors.Scott Mansell
Allows them to be enabled/disabled separately.
2015-09-09VideoCommon: Drop "Disable destAlpha" hackdegasus
This option has no use any more, neither performance nor driver workaround.
2015-09-09Drop DEBUG_SEVERITY_NOTIFICATION messages down to DEBUG_LOGScott Mansell
2015-09-07OGL: reimplement SSAA based on ARB_gpu_shader5degasus
So i965 shall support it again.
2015-09-07[GLES] Enable bounding box support.Ryan Houdek
2015-09-07Merge pull request #2960 from phire/improve_efb2texScott Mansell
Make efb2tex behave much more like efb2ram.
2015-09-06VideoBackends: Reimplement SSAA, now for D3D + OGLdegasus
2015-09-07Make efb2tex behave more like efb2ram.Scott Mansell
Instead of having special case code for efb2tex that ignores hashes, the only diffence between efb2tex and efb2ram now is that efb2tex writes zeros to the memory instead of actual texture data. Though keep in mind, all efb2tex copies will have hashes of zero as their hash.
2015-09-07Merge pull request #2957 from phire/unify_efbcopyScott Mansell
Cleanup and unify efb copy implemtations into VideoCommon
2015-09-06Fix palette conversions for 4 bit efb copies.Scott Mansell
Fixes purple shadow in THPS4 and many other things.
2015-09-06Move common EFB copy code into VideoCommonScott Mansell
Addded a few duplicated depth copy texture formats to the enum in TextureDecoder.h. These texture formats were already implemented in TextureCacheBase and the ogl/dx11 texture cache implementations.
2015-09-05Merge pull request #2977 from lioncash/unusedcomex
General: Remove unimplemented function prototypes
2015-09-05General: Remove unimplemented function prototypesLioncash
2015-09-05Cleanup and unify handling of efb copy stride.Scott Mansell
2015-09-05OGL: remove unused variableTillmann Karras
2015-09-05Properly support MSAA and SSAA as separate features(+GLES)Ryan Houdek
SSAA relies on MSAA being active to work. We only supports 4x SSAA while in fact you can enable SSAA at any MSAA level. I even managed to run 64xMSAA + SSAA on my Quadro which made some pretty sleek looking games. They were very cinematic though. With this, it properly fixes up SSAA and MSAA support in GLES as well. Before they were broken when stereo rendering was enabled. Now in GLES they can properly support MSAA and also stereo rendering with MSAA enabled(with proper extensions).
2015-09-04Remove all of our workarounds for Qualcomm devices we don't support anymore.Ryan Houdek
2015-09-05Merge pull request #2967 from Sonicadvance1/GLES_blend_func_extendedMarkus Wick
Support EXT_blend_func_extended in GLES.
2015-09-04Support EXT_blend_func_extended in GLES.Ryan Houdek
This lets us get dual source blending on GLES targets.
2015-09-04Implement ClearCurrent on the EGL GLInterfaceRyan Houdek
This fixes an error on GLInterface shutdown when using EGL.
2015-09-03BitField: Enable ifdef'd out code for WindowsLioncash
2015-09-03[windows] Update projects to vs2015.Shawn Hoffman
2015-09-01[GLES] Support texture_buffer for palette texture conversion.Ryan Houdek
OpenGL ES 3.2 adds this feature to core It was available to GLES 3.1 as GL_{EXT, OES}_texture_buffer as well. For the non-Nvidia vendors that implemented this is: - Qualcomm's Adreno 4xx - IMGTec's PowerVR Rogue
2015-08-29Merge pull request #2917 from Sonicadvance1/android_fix_sgs6Markus Wick
[Android] Workaround Mali driver issue on the Samsung Galaxy S6.
2015-08-28Merge pull request #2920 from rohit-n/build-pchMarkus Wick
Fix building with PCH disabled.
2015-08-28Fix building with PCH disabled.Rohit Nirmal
2015-08-28Vec3: Simplify operator== codeLioncash
2015-08-28Vec3: Remove a memset call on the this pointerLioncash
2015-08-28[Android] Workaround Mali driver issue on the Samsung Galaxy S6.Ryan Houdek
Samsung updated the video drivers on the SGS6 which introduced a bug when disabling vsync. Both the driver versions are r5p0, but the md5sums of the blob differ. To work around the issue, make sure to never disable vsync by calling eglSwapInterval. We can't actually determine the driver version on Android yet. So until the driver version lands that displays the driver version string in the GL_VERSION string we will need to keep this workaround enabled at all times, which is a bit annoying. Current mali drivers return the video driver version in one of the EGL strings you can query. The issue with that is that Android eats all of those strings, so we can't query it.
2015-08-26Support OpenGL ES 3.2.Ryan Houdek
OpenGL ES 3.2 adds a few things we care about supporting in core. In particular: - GL_{ARB,EXT,OES}_draw_elements_base_vertex - KHR_Debug - Sample Shading - GL_{ARB,EXT,OES,NV}_copy_image - Geometry shaders - Geometry shader instancing (If they support GL_{EXT,OES}_geometry_point_size) Nvidia was the first to release an OpenGL ES 3.2 driver which I uesd to test this on. This also enables GS Instancing on GLES 3.1 hardware if it supports all of the required extensions.
2015-08-22Disable OpenGL ES 3.1 on all Qualcomm Adreno devices.Ryan Houdek
Their new driver that supports GLES3.1 + AEP has issues with it. At the very least they don't implement all of the geometry shader features fully which causes shader linker issues when we attempt to use them. I don't have a device so I can't fully test, so until I do I'm going to blanket disable the whole thing.
2015-08-18Fix a memory leak in the EGL GLInterface.Ryan Houdek
2015-08-15TextureCache: Remove redundant floor().Jules Blok
2015-08-15Revert "VideoCommon: Clamp integer conversions."Jules Blok
This reverts commit 0f2c72f0f844c219e168faa7de8dd515f8723fdc.
2015-08-12[GLES] Fix real XFB.Ryan Houdek
GLES doesn't support the BGRA texture format type, just use RGBA.
2015-08-09Specified the type of AA in OGL AA settingsAnthony Serna
2015-08-06DriverDetails: Disable GL_ARB_copy_image on mesa.degasus