summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
AgeCommit message (Collapse)Author
2014-04-12VideoSoftware: remove const memory usage of DebugUtildegasus
2014-04-11Merge pull request #224 from magumagu/swrender-deletepixelforkTony Wasserka
Software backend: Delete forked PixelEngine.
2014-04-05SWBackend: Fix code style.magumagu
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-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-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-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 -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-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-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-16Fix some vertical alignmentsLioncash
ie. uses spaces for alignment.
2014-02-16Remove the old MMIO access "interface".Pierre Bourdon
2014-02-16MMIO: Port the SW CP/PE MMIOs to the new interface.Pierre Bourdon
Migration is now complete.
2014-02-16MMIO: Port the VideoCommon CP MMIOs to the new interface (and provide ↵Pierre Bourdon
framework for other video related mappings).
2014-02-16Silence some Windows compiler warningsTillmann Karras
by adding explicit type casts.
2014-02-10Replace all include guard ifdefs with "#pragma once"lioncash
2014-02-09Merge pull request #54 from lioncash/cleanupRyan Houdek
Cleanup mismatching struct/enum indentations.
2014-02-09Remove function Xchg from SWStatistics.cpp. Like the one previous, this can ↵Lioncash
be replaced with std::swap
2014-02-09Clean up some struct indentationsLioncash
Also cleaned up the indentations of some variable declarations.
2014-02-09Cleanup enum indentations.Lioncash
2014-02-04SWCommandProcessor: fix the CPReg structure fieldsPierre Bourdon
This structure fields should match byte-to-byte the layout of MMIO registers: it is addressed using the MMIO reg address when doing a CP MMIO read. This was unfortunately not the case, causing CP reads to be mostly broken with the software renderer.
2014-01-25Videosoftware: Fix memory cleanup code.Scott Mansell
2014-01-21Finally Merge branch 'videosoftware-xfb'Scott Mansell
This adds xfb support to the videosoftware backend, which increases it's accuracy and more imporantly, enables the usage of many homebrew apps which write directly to the xfb on the videosoftware backend. Conflicts: Source/Core/VideoBackends/Software/SWRenderer.cpp Source/Core/VideoBackends/Software/SWmain.cpp
2014-01-19Stop building GLExtensions.cpp twice(One in GL, one in software). We don't ↵Ryan Houdek
need to build it twice, this'll save a bit of time in the build process. Also a bit of spacing cleanup.
2014-01-18Merge of GL-AutoChoose.Ryan Houdek
This branch is the final step of fully supporting both OpenGL and OpenGL ES in the same binary. This of course only applies to EGL and won't work for GLX/AGL/WGL since they don't really support GL ES. The changes here actually aren't too terrible, basically change every #ifdef USE_GLES to a runtime check. This adds a DetectMode() function to the EGL context backend. EGL will iterate through each of the configs and check for GL, GLES3_KHR, and GLES2 bits After that it'll change the mode from _DETECT to whichever one is the best supported. After that point we'll just create a context with the mode that was detected
2014-01-17[GLExtensions] Make sure to initialize our function pointers with ↵Ryan Houdek
VideoSoftware as well.
2014-01-17[GLExtensions] Still had a GLEW lib hanging out in the CMake file for the ↵Ryan Houdek
software renderer.
2014-01-17[GLExtensions] Initial code drop for GLExtensions. This drops GLEW entirely ↵Ryan Houdek
from the codebase. This has been tested on Android and Linux+ATI. Of course untested on Windows and Apple. Also untested with Linux + EGL but should be fine there. There are most likely a couple of extensions I'm missing which would result in null pointer runs but not bad for the initial commit. Conflicts: CMakeLists.txt Externals/GLew/glew.vcxproj Externals/GLew/glew.vcxproj.filters Source/Core/VideoBackends/OGL/CMakeLists.txt Source/Core/VideoBackends/OGL/GLFunctions.cpp Source/Core/VideoBackends/OGL/GLFunctions.h Source/Core/VideoBackends/OGL/GLUtil.h Source/Core/VideoBackends/OGL/Render.cpp Source/VSProps/Base.props