| Age | Commit message (Collapse) | Author |
|
|
|
GLInterface: Fix VideoSW on linux + OSX
|
|
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.
|
|
I don't remember it being working, and nobody cares about performance of videosw.
|
|
Our Video Software backend isn't OpenGL Core compatible, so we need a flag to alloc a compatible one.
|
|
The left-hand-side is negative at some point which is considered undefined by the standard.
|
|
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)
|
|
MathUtil: Make Clamp and IsPow2 constexpr functions.
|
|
OGL: Invert Top-and-Bottom mode.
|
|
OGL: reimplement SSAA based on ARB_gpu_shader5
|
|
|
|
|
|
VideoCommon: Drop "Disable destAlpha" hack
|
|
Allows them to be enabled/disabled separately.
|
|
This option has no use any more, neither performance nor driver workaround.
|
|
|
|
So i965 shall support it again.
|
|
|
|
Make efb2tex behave much more like efb2ram.
|
|
|
|
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.
|
|
Cleanup and unify efb copy implemtations into VideoCommon
|
|
Fixes purple shadow in THPS4 and many other things.
|
|
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.
|
|
General: Remove unimplemented function prototypes
|
|
|
|
|
|
|
|
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).
|
|
|
|
Support EXT_blend_func_extended in GLES.
|
|
This lets us get dual source blending on GLES targets.
|
|
This fixes an error on GLInterface shutdown when using EGL.
|
|
|
|
|
|
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
|
|
[Android] Workaround Mali driver issue on the Samsung Galaxy S6.
|
|
Fix building with PCH disabled.
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
This reverts commit 0f2c72f0f844c219e168faa7de8dd515f8723fdc.
|
|
GLES doesn't support the BGRA texture format type, just use RGBA.
|
|
|
|
|