summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
AgeCommit message (Collapse)Author
2020-08-22msbuild: refactor stuff out of project files (for dolphin)Shawn Hoffman
2020-07-18Use range loop (if possible)Filip Gawin
2020-05-24FramebufferManager: Copy to color format for depth readbacks on GLESStenzek
glReadPixels() with depth formats is not supported. Should fix broken EFB access on GLES.
2020-03-25Remove warnings of -Wsign-compareJun Su
Cast the variable to the coresponding type.
2019-12-28Add an ARM64 target to Visual Studio projectsStenzek
2019-12-07Merge pull request #8513 from lioncash/bounding-boxAnthony
VideoCommon/BoundingBox: Make interface for querying bounding box data
2019-12-05VideoCommon/BoundingBox: Make interface for querying bounding box dataLioncash
Rather than expose the bounding box members directly, we can instead provide an interface for code to use. This makes it nicer to transition from global data, as the interface function names are already in place.
2019-12-05VideoCommon/IndexGenerator: Eliminate static stateLioncash
Now that we've extracted all of the stateless functions that can be hidden, it's time to make the index generator a regular class with active data members. This can just be a member that sits within the vertex manager base class. By deglobalizing the state of the index generator we also get rid of the wonky dual-initializing that was going on within the OpenGL backend. Since the renderer is always initialized before the vertex manager, we now only call Init() once throughout the execution lifecycle.
2019-11-30Update VS projects/solutions to VS2019Stenzek
2019-07-26Factorize software renderer backend switching warning to be fetched from a ↵Silent
new GetWarningMessage in video backend - will be needed for DX11.1 feature set warnings
2019-07-16VideoCommon: Remove unused MathUtil.h include from VideoCommon.hLioncash
This header doesn't actually make use of MathUtil.h within itself, so this can be removed. Many other source files used VideoCommon.h as an indirect include to include MathUtil.h, so these includes can also be adjusted. While we're at it, we can also migrate valid inclusions of VideoCommon.h into cpp files where it can feasibly be done to minimize propagating it via other headers.
2019-07-10VideoCommon/Statistics: Rename stats global to g_statsLioncash
Makes the global variable follow our convention of prefixing g_ on global variables to make it obvious in surrounding code that it's not a local variable.
2019-07-10VideoCommon/Statistics: Normalize statistic variable namesLioncash
Normalizes all variables related to statistics so that they follow our coding style. These are relatively low traffic areas, so this modification isn't too noisy.
2019-06-20VideoCommon/Statistics: Use std::array for projection valuesLioncash
Makes the members within the interface much nicer to look at, and also makes copying them over much nicer too.
2019-06-08Merge pull request #8049 from stenzek/cropConnor McLaughlin
Renderer: Adjust source rectangle when crop would draw off screen
2019-05-31VideoSoftware/CMakeLists: Specify headers in target sourcesLioncash
2019-05-30VideoCommon/RenderBase: Use a std::string_view with CreateShaderFromSource()Lioncash
Greatly simplifies the overall interface when it comes to compiling shaders. Also allows getting rid of a std::string overload of the same name. Now std::string and const char* both go through the same function.
2019-05-06Reformat repo to clang-format 7.0 rulesTechjar
2019-05-04Replace MathUtil::Clamp with std::clampLéo Lam
2019-05-04Merge pull request #7839 from ShFil119/impr/redundantLéo Lam
Remove redundant initialization
2019-04-30Remove redundant initializationFilip Gawin
2019-04-28Renderer: Adjust target rectangle in the base classStenzek
2019-04-28Turn EFB_WIDTH/EFB_HEIGHT into constexprJosJuice
https://bugs.dolphin-emu.org/issues/11692#note-5 Also change const into constexpr while we're at it.
2019-04-21Replace EFBRectangle/TargetRectangle with MathUtil::RectangleStenzek
2019-04-21TextureCache: Use linear filtering on y-scaled and >1xIR VRAM copiesStenzek
2019-04-16AbstractPipeline: Support returning "cache data"Stenzek
"Cache data" can be used to assist a driver with creating pipelines by using previously-compiled shader ISA.
2019-03-09VideoConfig: Add SupportsPartialDepthCopies to backend infoStenzek
D3D11 doesn't support partial copies of depth buffers via CopySubResource(), so we need to use a different path for the EFB cache.
2019-02-19Move most backend functionality to VideoCommonStenzek
2019-01-25Decouple XFB scanout from presentationStenzek
2019-01-25VideoBackends: Store a backbuffer 'scale'Stenzek
This is a scaling factor, used for hi-dpi configurations.
2019-01-25Remove old RasterFont classesStenzek
2019-01-25Renderer: Use imgui for drawing debug text and OSDStenzek
2018-12-04Use main buffers for utility drawsStenzek
2018-12-04Renderer: Add backbuffer format to base classStenzek
2018-12-04Renderer: Add a base Initialize() method to match Shutdown()Stenzek
2018-11-07TextureCache: Implement deferred/batched EFB copiesStenzek
2018-10-28Merge pull request #7501 from Techjar/class-memaccess-cleanupPierre Bourdon
VideoCommon: Clean up class-memaccess warnings
2018-10-20GLContext: Use destructor instead of Shutdown() to cleanupStenzek
Also uses the Initialize() method to make the context current.
2018-10-20GLContext: Remove global context pointerStenzek
2018-10-20VideoBackends: Pass window system info from host on creationStenzek
2018-10-20GLContext: Use host connectionStenzek
This also removes the need for a sleeping event thread.
2018-10-20Drop Host_GetRenderSurface and pass display to backendStenzek
2018-10-20Refactoring and cleanup of GLInterface (now GLContext)Stenzek
2018-10-20Update to Visual Studio's default Windows SDKTillmann Karras
2018-10-14VideoCommon: Clean up class-memaccess warningsTechjar
2018-10-12Merge pull request #7437 from stenzek/graphics-options-raceMat M
Fix race condition caused by opening graphics options while running
2018-10-09VideoCommon: remove unnecessary floor()Tillmann Karras
floatindex is clamped to the range [0, 9]. For non-negative numbers floor() is equivalent to trunc(). Truncation happens implicitly when converting to uint, so the floor() is unnecessary.
2018-10-05VideoSoftware: make use of Clamp()Tillmann Karras
2018-09-28Core: Call InitBackendInfo before loading configStenzek
2018-06-30Mark all video backend names for translationTechjar