summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
2014-04-02Merge pull request #227 from magumagu/swbackend-fix-shadersRyan Houdek
SW backend: make shaders work on Intel/Windows.
2014-03-30D3D11: Use appropriate shader for PEEK_Z.magumagu
Trying to use GetDepthMatrixProgram outside of TCacheEntry::FromRenderTarget is a bad idea, so don't. Instead, use a shader which only copies the input. Fixes lens flare depth test in Twilight Princess. See http://code.google.com/p/dolphin-emu/issues/detail?id=5999 .
2014-03-30Merge pull request #222 from comex/more-clang-fixesPierre Bourdon
More clang fixes
2014-03-30Fix harmless warnings.comex
2014-03-29SW backend: make shaders work on Intel/Windows.magumagu
Apparently the Intel shader compiler doesn't implement "#if" correctly... so use "#ifdef" instead.
2014-03-29Software backend: Delete forked PixelEngine.magumagu
Mostly just zapping a bunch of duplicated code; the only interesting thing going on here is the changes to the performance counter implementation.
2014-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
2014-03-26Software renderer: Properly calculate tev combiner output.Tony Wasserka
As pointed out by dolphin-emu/hwtests@461476112.
2014-03-26Software renderer: Use color combiner configuration for alpha combiner ↵Tony Wasserka
compare mode inputs. As pointed out by dolphin-emu/hwtests@f684f2498.
2014-03-25BPMemory: Make use of BitField in a number of structures.Tony Wasserka
2014-03-25BPMemory: Expose the pixel_format and zformat fields in PE_CONTROL as ↵Tony Wasserka
enumerations.
2014-03-25BPMemory: Use the new BitField class in two selected structures.Tony Wasserka
2014-03-20Merge pull request #167 from neobrain/ogl-efbpokesRyan Houdek
Implement EFB pokes in the OpenGL backend.
2014-03-18OGL/VertexManager: Do not check if g_nativeVertexFmt is zeroJens Nyberg
The variable is already dereferenced both before and after this check which means that if this variable would ever be zero it would have crashed dolphin already.
2014-03-18OGL/VertexManager: Minor cleanup of if caseJens Nyberg
2014-03-17.gitignore: fix the build directory patternTillmann Karras
2014-03-17More range-based loops and overridesTillmann Karras
2014-03-15Merge pull request #164 from lioncash/cstr-cullPierre Bourdon
Kill off some usages of c_str.
2014-03-14OpenGL: Implement color and z pokes.Tony Wasserka
2014-03-14PixelShaderGen: Treat UV coordinates like S17.7 integers (they're still ↵Tony Wasserka
stored as float, though).
2014-03-14PixelShaderGen: Change indirect texture matrix uniforms to use integers.Tony Wasserka
2014-03-14PixelShaderGen: Use integer math for indirect tev stage texcoord calculation.Tony Wasserka
2014-03-14PixelShaderGen: Use integer math for alpha testing.Tony Wasserka
2014-03-14OGL: Force highp for integers.Tony Wasserka
2014-03-14OGL: Remove some dead code.Tony Wasserka
2014-03-14Kill off some usages of c_str.Lioncash
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-03-09clang-modernize -add-overrideTillmann Karras
2014-03-09clang-modernize -loop-convertTillmann Karras
and some manual adjustments
2014-03-06SW renderer: add missing ClearCurrent()Tillmann Karras
courtesy of degasus
2014-03-04Make our architecture defines less stupid.Ryan Houdek
Our defines were never clear between what meant 64bit or x86_64 This makes a clear cut between bitness and architecture. This commit also has the side effect of bringing up aarch64 compiling support.
2014-03-03videosoftware: More coding style fixes.Tony Wasserka
2014-03-01videosoftware: Provide a more elaborate comment on the FifoPlayer support hack.Tony Wasserka
2014-03-01videosoftware: Added hack to bypass xfb just so fifoplayer works.Scott Mansell
Fifoplayer depends on the old behaviour of videosoftware (and the other hardware backends in non virtual/real xfb modes) where the framebuffer gets rendered directly to the screen. Really fifoplayer should call BeginFrame/EndFrame when it finished rendering a frame, but adding this hack back in is simpler.
2014-03-01Fix the Windows build (broken in 315a8ba)Tillmann Karras
2014-02-28Various changes suggested by cppcheckTillmann Karras
- remove unused variables - reduce the scope where it makes sense - correct limits (did you know that strcat()'s last parameter does not include the \0 that is always added?) - set some free()'d pointers to NULL
2014-02-26comment fixesdegasus
2014-02-26remove (ATTR|VARY)(IN|OUT) macrosdegasus
2014-02-26ogl: optimize real xfb a bitdegasus
Both nvidia + mesa seems not to optimize x / (2**n) to x >> n, so we do it ourself.
2014-02-22Make Common/ mostly IWYU clean (and fix errors in rest of the project ↵Pierre Bourdon
detected by this change).
2014-02-20Merge pull request #88 from lioncash/relative-includesPierre Bourdon
Relative includes
2014-02-20Fix more header sorting issues in VideoBackends/ (now check-includes clean).Pierre Bourdon
2014-02-18Merge pull request #79 from Tilka/nitsPierre Bourdon
Silence some Windows compiler warnings
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2014-02-17Merge pull request #55 from Sonicadvance1/GLExt-InitArrayPierre Bourdon
Change OpenGL extension initialization in to a big array
2014-02-16Merge pull request #82 from lioncash/vertical-alignmentRyan Houdek
Fix some vertical alignments
2014-02-16Fix some vertical alignmentsLioncash
ie. uses spaces for alignment.
2014-02-16Change OpenGL extension initialization in to a big arrayRyan Houdek
This is a reasonable chunk of changes and moves from multiple initialization functions in to an array initialization.