summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
2015-09-23Merge pull request #3066 from degasus/masterflacs
GLInterface: Fix VideoSW on linux + OSX (v2) Conflicts: Source/Core/VideoBackends/OGL/GLInterface/GLX.cpp
2015-07-11Fix FreeBSD buildJeffrey Pfau
2015-06-25Merge pull request #2656 from Armada651/ogl-inv-depthJules Blok
OGL: Allow inverted depth ranges.
2015-06-25Add an OSD notification for screenshot savingLioncash
2015-06-24D3D: Cosmetics.Jules Blok
Merge two cases which should've already been merged.
2015-06-24OGL: Allow inverted depth ranges.Jules Blok
2015-06-19Fix aniso filtering on d3d to not set aniso filter when using 1xMatthew Parlane
2015-06-10Anisotropic Filtering option is now correct in D3DMatthew Parlane
Values are saved/loaded as 0,1,2,3,4 but need to be used as 1,2,4,8,16 This was correct for OGL but not D3D
2015-06-09Merge pull request #2533 from degasus/syncgpuJules Blok
Fifo: Rewrite SyncGPU
2015-06-08VideoSW: refactor shared lighting attenuation functionNanoByte011
- Refactored Light Attenuation into inline function in Software Renderer - Corrected zero length light direction vector to resolve with normal direction (essentially becomes LIGHTDIF_NONE which was what I was after) - Change the API of this shared function to use points for output variables (degasus)
2015-06-08VideoSW: rewrite lighting attenuationNanoByte011
- Fixes remaining lighting issues (Mario Tennis, etc) - Apply same fixes to Software Renderer - Corrected zero length light direction vector to resolve with normal direction (essentially becomes LIGHTDIF_NONE which was what I was after)
2015-06-08Fifo: Rewrite SyncGpudegasus
The new implementation has 3 options: SyncGpuMaxDistance SyncGpuMinDistance SyncGpuOverclock The MaxDistance controlls how many CPU cycles the CPU is allowed to be in front of the GPU. Too low values will slow down extremly, too high values are as unsynchronized and half of the games will crash. The -MinDistance (negative) set how many cycles the GPU is allowed to be in front of the CPU. As we are used to emulate an infinitiv fast GPU, this may be set to any high (negative) number. The last parameter is to hack a faster (>1.0) or slower(<1.0) GPU. As we don't emulate GPU timing very well (eg skip the timings of the pixel stage completely), an overclock factor of ~0.5 is often much more accurate than 1.0
2015-06-07Merge pull request #2550 from Armada651/d3d-pokesRyan Houdek
D3D: Implement Z pokes.
2015-06-07Fix OpenGL ES shader compilation.Ryan Houdek
2015-06-07D3D: Implement Z pokes.Jules Blok
2015-06-07D3D: Set the viewport to the full target size when doing EFB pokes.Jules Blok
2015-06-06D3D: Remove obsolete comment.Jules Blok
2015-06-06Revert "Revert "OGL: Switch depth buffers to GL_DEPTH_COMPONENT32F format.""Jules Blok
This reverts commit 9ef1ca4141e8211fce7a2b852b5c58d59393baac.
2015-06-06Revert "Revert "OGL: Change the depth buffer type to GL_FLOAT.""Jules Blok
This reverts commit 05d60f4fef5fb7377ed1f2f905b48e93926501b3.
2015-06-06Revert "OGL: Use floating point arithmetic to scale the depth value."Jules Blok
This reverts commit 05f42f94a0442fef64c994cb78f4d621bb1fc7ff.
2015-06-06VideoBackends: Allow the viewport to use the full depth range.Jules Blok
2015-06-04Use PanicAlertT instead of PanicAlert when appropriateJosJuice
I tried to change messages that contained instructions for users, while avoiding messages that are so technical that most users wouldn't understand them even if they were in the right language.
2015-06-03Merge pull request #2482 from degasus/ogl_poke_zMarkus Wick
OGL: Rewrite POKE_Z with a draw call
2015-06-02Merge pull request #1556 from comex/project-morationcomex
Rudimentary version of Wii IPC determinism. Ported from my old udpnet branch.
2015-06-02OGL: Rewrite POKE_Z with a draw calldegasus
It's now also merged and it should be faster than the glClear way.
2015-06-02Fix invalid enums on OpenGLESDwayne Slater
2015-05-31Merge pull request #2480 from phire/GamesDoWeirdShitMarkus Wick
Fix invalid pointer errors in Burnout 2.
2015-05-30Add a dirty flag for arraybases.Scott Mansell
Only loop through and call getPointers when something has actually changed. Worth about 2-4% speedup un SMG over the previous commit.
2015-05-30Clean up cached_arraybases. Update VideoSW to new scheme.Scott Mansell
Move ownership of cached_arraybases from CPMemory to VertexLoaderManager to better match it usage.
2015-05-29OGL: Always use sampler objects.degasus
We are used to use the texture parameter for all util draw calls, but AMD seems to have a bug where they use the sampler parameter of stage 0 if no sampler is bound to the used stage. So as workaround (and a bit as nicer code), we now use sampler objects everywhere.
2015-05-28Pass strings by const reference where possibleLioncash
2015-05-28Rewrite FileSearch and improve ScanDirectoryTree.comex
- FileSearch is now just one function, and it converts the original glob into a regex on all platforms rather than relying on native Windows pattern matching on there and a complete hack elsewhere. It now supports recursion out of the box rather than manually expanding into a full list of directories in multiple call sites. - This adds a GCC >= 4.9 dependency due to older versions having outright broken <regex>. MSVC is fine with it. - ScanDirectoryTree returns the parent entry rather than filling parts of it in via reference. The count is now stored in the entry like it was for subdirectories. - .glsl file search is now done with DoFileSearch. - IOCTLV_READ_DIR now uses ScanDirectoryTree directly and sorts the results after replacements for better determinism.
2015-05-27OGL: use GL_TEXTURE* constantsTillmann Karras
2015-05-26Fix building with PCH disabled.Rohit Nirmal
2015-05-26D3D: Invert initial depth buffer clear.Jules Blok
2015-05-26D3D: Depth range inversion.galop1n
Credits go to Galop1n for designing this technique and to BhaaLseN for cleaning up the commit.
2015-05-25Merge pull request #2357 from degasus/ogl_efb_poke_mergeRyan Houdek
ogl: efb poke merge
2015-05-25Merge pull request #2274 from degasus/disable_bboxRyan Houdek
Disable bbox
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-25Add missing license headersTillmann Karras
2015-05-25BBox: remove now unreachable SW bbox implementationdegasus
2015-05-22OGL: Depth range inversion.Jules Blok
2015-05-22VertexShaderGen: Use correct depth output when glClipControl is supported.Jules Blok
2015-05-22OGL: Add glClipControl support.Jules Blok
2015-05-22Merge pull request #2410 from lioncash/swatomicMarkus Wick
Software: Convert most volatile variables to atomics
2015-05-20OGL: Use floating point arithmetic to scale the depth value.Jules Blok
2015-05-20Revert "OGL: Change the depth buffer type to GL_FLOAT."Jules Blok
This reverts commit 4b2e04b862ef0e5166f1c855148a44bc7c88f381.
2015-05-20Revert "OGL: Switch depth buffers to GL_DEPTH_COMPONENT32F format."Jules Blok
This reverts commit be810eb75038bce43054d9a4443d59c5ddf0be83.
2015-05-20OGL: reimplement poke-colordegasus