| Age | Commit message (Collapse) | Author |
|
D3D11 resources refactor and DX11.1 feature detection fixes
|
|
|
|
D3D11 backend on Windows 7
|
|
if supported
Previously code assumed that if DX11.1 runtime is supported, logic ops will,
but Windows 7 SP1 with a Platform Update supports DX11.1 runtime without logic ops.
This created pretty jarring visual artifacts, which now should be gone OR replaced
with much less jarring errors.
|
|
|
|
|
|
|
|
D3DCommon/Shader: Use std::optional where applicable
|
|
OGL/ProgramShaderCache: Use std::string_view where applicable
|
|
Applies a missing override specifier to VertexManager's destructor.
|
|
These aren't intended to be further specialized, so we can make this
obvious with final.
|
|
Removes constructors and destructors that don't actually provide any
behavior (i.e. doesn't constain generated code related to non-trivial
members in a cpp file, etc).
Lessens the amount of code present.
|
|
|
|
Allows removing the use of an out parameter, making it nicer to use.
|
|
Same behavior, but without unnecessary zeroing of data contents.
Instead, we supply the dataset to use directly.
|
|
This is already provided in the base class, which performs the same
exact behavior. Given the function in the base class isn't virtual, this
also essentially resolves an instance of shadowing.
|
|
Same thing, but nicer to read from left to right.
|
|
Same thing, less reading.
|
|
Removes a few inclusions that aren't necessary, reducing the number of
header dependencies.
|
|
|
|
new GetWarningMessage in video backend - will be needed for DX11.1 feature set warnings
|
|
used with WRL ComPtr
|
|
VideoCommon: Remove unused MathUtil.h include from VideoCommon.h
|
|
Also adds a DriverDetails bug to disable on drivers where this is still
broken.
|
|
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.
|
|
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.
|
|
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.
|
|
Makes the members within the interface much nicer to look at, and also
makes copying them over much nicer too.
|
|
|
|
Renderer: Adjust source rectangle when crop would draw off screen
|
|
Vulkan: Display a warning when using MoltenVK on HS and earlier
|
|
|
|
|
|
It appears that some older drivers do not support
CreateSwapChainForHwnd, resulting in DXGI_ERROR_INVALID_CALL. For these
cases, fall back to the base CreateSwapChain() from DXGI 1.0.
In theory this should also let us run on Win7 without the platform
update, but in reality we require the newer shader compiler so this
probably won't work regardless. Also any hardware of this vintage is
unlikely to run Dolphin well.
|
|
Since C++17, non-member std::size() is present in the standard library
which also operates on regular C arrays. Given that, we can just replace
usages of ArraySize with that where applicable.
In many cases, we can just change the actual C array ArraySize() was
called on into a std::array and just use its .size() member function
instead.
In some other cases, we can collapse the loops they were used in, into a
ranged-for loop, eliminating the need for en explicit bounds query.
|
|
|
|
|
|
|
|
|
|
Now that we're on C++17, we can use its non-member std::size function
instead of ours. This provides no functional change.
|
|
Now that we utilize C++17, we can simply return an optional containing
the code instead of using an out variable and a boolean result,
essentially combining them into one.
This provides a much more straightforward interface.
|
|
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.
|
|
|
|
|
|
Support CMake on Windows
|
|
|
|
|
|
|
|
|
|
|