summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
2014-05-29Merge pull request #421 from CarlKenner/MissingSpaceshuffle2
Fix error message when D3D11 HResults fail.
2014-05-27Fix error message when D3D11 HResults fail.CarlKenner
Prevents showing the wrong function name by putting a space between the function name and "Failed". Also fixes the capitalization.
2014-05-25Use strings instead of arbitrary buffers for video statisticsLioncash
2014-05-22Merge pull request #370 from Sonicadvance1/remove_specialized_memcmpshuffle2
Removes ZeroFrog's "optimized" memcpy and memcmp functions.
2014-05-19ogl: pixel format shader without resolvingdegasus
v2: Don't use std::to_string as this function is broken on android.
2014-05-19ogl: use ARB_texture_multisample for msaadegasus
2014-05-19ogl: add ARB_texture_multisampledegasus
2014-05-19ogl: drop NV_framebuffer_multisample_coveragedegasus
2014-05-19ogl: drop csaa supportdegasus
2014-05-18Merge pull request #355 from magumagu/gx-missing-opcodeTony Wasserka
Opcode decoding: handle missing opcodes 0x88 etc.
2014-05-17Removes ZeroFrog's "optimized" memcpy and memcmp functions.Ryan Houdek
These were only compiled in on Windows and x86_32. They provided "optimized" copies and compares based on blocksizes for the AMD Athlon and Duron CPU families. The code was taken from something that AMD provides with a as-is license. Just get rid of this crap.
2014-05-17Merge pull request #360 from magumagu/lighting-roundingTony Wasserka
Video backends: fix rounding in lighting computation.
2014-05-17Video backends: warn on usage of GL_DRAW_QUADS_2.magumagu
It's not normally used, so if it shows up, it could indicate a CPU emulation bug.
2014-05-17Merge pull request #269 from magumagu/swbackend-xfregistersTony Wasserka
SW backend: use VideoCommon XFRegisters struct.
2014-05-16Video backends: mass-replace "xfregs" with "xfmem".magumagu
2014-05-16Video backend: merge global var xfmem into xfregs.magumagu
There isn't really any reason to keep them separate.
2014-05-16Video backends: unify xfregs/xfmem structures.magumagu
Removes the duplicate swxfregs global variable/struct from the software backend in favor of the ones from VideoCommon.
2014-05-16Video backends: fix behavior of "konst" TEV inputs.magumagu
Also fixes TEVCOLORARG_HALF. Values verified to match hardwarere.
2014-05-16Merge pull request #366 from Jezze/vertexTony Wasserka
OGL/VertexManager: Remove unused variable.
2014-05-16Merge pull request #354 from magumagu/gx-primitive-maskTony Wasserka
Opcode decoding: 0xC0 isn't a valid command.
2014-05-13OGL/VertexManager: Remove unnused m_CurrentVertexFmtJens Nyberg
2014-05-11Video backends: fix rounding in lighting computation.magumagu
For whatever reason, the hardware doesn't do a full divide by 255, but instead uses an approximation with shifting, similar to the way it is done in TEV.
2014-05-10D3D: Don't pass D3D10_SHADER_WARNINGS_ARE_ERRORS to the compiler in debug ↵Shawn Hoffman
builds. For quite a while this has been causing integer division to generate a warning as error, blocking shader compiling. This means probably no one has even been running D3D in debug builds... I tried disabling the warning with a #pragma, but it doesn't seem to apply when this flag is used.
2014-05-10Opcode decoding: handle missing opcodes 0x88 etc.magumagu
Hardware testing shows that they do the same thing as the 0x80 family of opcodes: they draw quads.
2014-05-08Opcode decoding: 0xC0 isn't a valid command.magumagu
Fix our opcode decoders to handle this appropriately.
2014-05-06Merge pull request #185 from degasus/shader-cleanupTony Wasserka
Shader cleanup
2014-05-05OpenGL: delete unused function parameter in TextureConverter.magumagu
(While I'm here, also mark some functions static.)
2014-05-05ogl: fix signed vs unsigned comparison warningdegasus
2014-04-30Changes posmtx vertex attribute to integer.Ryan Houdek
This makes it so we don't need to do some dumb casting from float to integer in our shaders. Only tested in OpenGL, needs to be tested in D3D.
2014-04-30Fixes glVertexAttribIPointer on GLES.Ryan Houdek
We need to pull in function pointers for OpenGL 3.0 in order to use glAttribIPointer. This isn't too big of an issue, and this code will be gone in the future when we change over to libepoxy. Just need to push code upstream to libepoxy to support Android with GLES and GL first.
2014-04-27Merge pull request #236 from magumagu/d3d11-fix-peekzTony Wasserka
D3D11: Use appropriate shader for PEEK_Z.
2014-04-24Software renderer: Update a reference link.Tony Wasserka
2014-04-19Merge pull request #287 from Tilka/unused_variablePierre Bourdon
Fix "warning: unused variable 'skipFrames'"
2014-04-19Fix "warning: unused variable 'skipFrames'"Tillmann Karras
2014-04-18Change to ARM's naming convention in DriverDetails.Ryan Houdek
This matches how ARM handles their naming in their drivers for different models. Really it's that way because both Mali-T6xx and Mali-T7xx fall under Midgard. While everything else (except Mali-55) fall under Utgard.
2014-04-15D3D11 backend: fix rounding in texture encoder.magumagu
We need to explicitly round when converting colors from float to uint because multiplying a normalized float by 255 might not result in a whole number. (The exact result here may vary depending on your drivers/hardware.) Ideally, we shouldn't be using floating point here, but fixing that is a much more complicated patch. Fixes gxtest TEV tests using Intel HD 4000.
2014-04-15Software backend: don't skip red component in TEV.magumagu
2014-04-15Software backend: make TEV rounding match hardware.magumagu
Formulas stolen from gxtest. (Not sure how "==" got turned into "!=", but I'm pretty confident the patched version is correct.)
2014-04-14Merge pull request #263 from Sonicadvance1/DetermineMaliVersionMatthew Parlane
Add Mali driver version check and support of checking for Mali-T7xx
2014-04-12OpenGL backend: remove useless header Globals.h.magumagu
The header has no content, so it can can just be deleted.
2014-04-12VideoSoftware: remove const memory usage of DebugUtildegasus
2014-04-12OpenGL config: clear backend_info.Adapters on initmagumagu
Fixes a minor UI glitch where if you switch from Direct3D to OpenGL, the OpenGL config page would appear to have an adapter choice available.
2014-04-11Support checking for the Mali-T7xx line of GPUs.Ryan Houdek
They are similar enough that they will share bugs with their drivers, so make them fall under the same Mali-Txxx umbrella of bug issues. If there is ever a need in the future for having separate bugs depending on family, we can support that then.
2014-04-11Add the ability to determine the Mali driver version.Ryan Houdek
This is the only way we can determine the video driver version with mali. Really it's a good thing that they only push driver updates once every two years, makes it easy to determine what driver anybody is running.
2014-04-11VideoBackend: remove unused config vars.magumagu
No point to keeping around variables which are always "true".
2014-04-11D3DBackend: Don't recompute ID3D11Layout.magumagu
CreateInputLayout requires a shader as an input, but it only cares about the signature; we don't need to recompute it for different shaders with the same inputs.
2014-04-11Merge pull request #224 from magumagu/swrender-deletepixelforkTony Wasserka
Software backend: Delete forked PixelEngine.
2014-04-05SWBackend: Fix code style.magumagu
2014-04-04Merge pull request #240 from Sonicadvance1/GLSLES310_bindingMatthew Parlane
Add initial support for GLSL ES 3.10.
2014-04-03Add initial support for GLSL ES 3.10.Ryan Houdek
GLSL ES 3.10 adds implicit support for the binding layout qualifier that we use. Changes our GLSL version enums to bit values so we can check for both ES versions easily.