summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
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-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-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-26Fix building with PCH disabled.Rohit Nirmal
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-22Merge pull request #2410 from lioncash/swatomicMarkus Wick
Software: Convert most volatile variables to atomics
2015-05-18VideoBackends: Clamp depth to uint24 range.Jules Blok
2015-05-14Software: Convert most volatile variables to atomicsLioncash
2015-04-06Fifo: rewrite sync on idle skipping hackdegasus
Now it's done without a busy loop
2015-03-18SWVertexLoader: fix truncated componentsTillmann Karras
2015-02-25Formatting/Whitespace CleanupStevoisiak
Various fixes to formatting and whitespace
2015-02-13Change RunVertices' function arguments.Ryan Houdek
This reduces some dumb state shuffling when calling the emitted vertex loaders.
2015-02-01VideoBackends: set GLInterface to zero after deleting itdegasus
This fixes a crash on opening the gfx settings after closing a game.
2015-01-31OGL: Fix a memory leak that would occur every time a game is launchedLioncash
2015-01-21Merge pull request #1869 from Stevoisiak/GeneralConsistencyRyan Houdek
Minor consistency changes
2015-01-18VideoSW: Fix vertex skippingdegasus
2015-01-12Minor consistency changesStevoisiak
Mostly small changes, like capitalization and spelling
2015-01-04Fix building with PCH disabled.Rohit Nirmal
2014-12-21VideoCommon: split VertexLoaderBase from VertexLoaderdegasus
2014-12-21VertexLoader: remove inlined gettersdegasus
They just blow up the code.
2014-12-21VertexLoaderUid: remove operator<degasus
Not needed for unordered map.
2014-12-21VideoLoader: remove VAT_*_FRACBITSdegasus
They are used to remove the flush amounts, but as we don't flush anymore on vertex loader changes (only on native vertex format right now), this optimization is now unneeded. This will allow us to hard code the frac factors within the vertex loaders.
2014-12-13VideoSW: rewrite VertexLoader to use the VideoCommon onedegasus
2014-12-13Merge pull request #1640 from rohit-n/switch-defaultskidau
Silence some -Wswitch-default warnings.
2014-12-11Silence some -Wswitch-default warnings.Rohit Nirmal
2014-12-09VideoCommon: Rename s_pCurBufferPointerdegasus
2014-12-09VertexLoader: Move the old Datareader function into VertexLoaderdegasus
2014-11-24More formatting and consistency fixesStevoisiak
2014-11-20Vertex Loader: SSE implementations of more position/texcoord/normal formatsFiora
~35-45% faster NFS:HP2, possibly other vertex-bound games.
2014-11-17OGL: implement bounding box support with ssbodegasus
This implemention tries to be as accurate as the old SW implemention, but it will remove the dependcy of our vertexloader on videosw.
2014-11-13Various formatting and consistency fixesStevoisiak
2014-11-02Merge pull request #1460 from phire/moreGetPointerRyan Houdek
Remove GetPointers in VideoSoftware.
2014-11-01VideoCommon/VideoBackends: Remove unnecessary wxWidgets references.Lioncash
EmuWindow doesn't even exist anymore. wxWidgets is also decoupled from the backends.
2014-11-01Remove GetPointers in VideoSoftware.Scott Mansell
This same code was previously fixed in VideoCommon, just updating this to match. We are down to 121 GetPointers.
2014-10-26OGL: Get rid of error macrosLioncash
2014-10-22Merge pull request #1347 from comex/header-hygienecomex
Add missing includes where headers depend on other headers having been included first.
2014-10-21Add missing includes where headers depend on other headers having been ↵comex
included first. This is good hygiene, and also happens to be required to build Dolphin using Clang modules. (Under this setup, each header file becomes a module, and each #include is automatically translated to a module import. Recursive includes still leak through (by default), but modules are compiled independently, and can't depend on defines or types having previously been set up. The main reason to retrofit it onto Dolphin is compilation performance - no more textual includes whatsoever, rather than putting a few blessed common headers into a PCH. Unfortunately, I found multiple Clang bugs while trying to build Dolphin this way, so it's not ready yet, but I can start with this prerequisite.)
2014-10-19Remove a hard dependency from libGL from the software renderer.Ryan Houdek
I must have missed this when dropping OpenGL library includes. This is annoying when on a system that doesn't have libGL.
2014-10-15Merge pull request #1272 from RisingFog/sconfig-dump-framesskidau
Move bDumpFrames to SConfig (and it's references)
2014-10-13Merge pull request #1095 from crudelios/sw-bboxskidau
Reimplement Bounding Box calculation using the software renderer.
2014-10-13Merge pull request #1273 from lioncash/iamanidiotLioncash
Software: Remove obsoleted VideoConfigDialog.
2014-10-13Software: Remove obsoleted VideoConfigDialog.Lioncash