| Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
|
|
|
|
Remove redundant initialization
|
|
|
|
Vulkan: Don't set a negative offset in scissor rect
|
|
|
|
This prevents us from requiring an oversized and/or negative viewport by
shrinking the source rectangle instead.
|
|
Turn EFB_WIDTH/EFB_HEIGHT into constexpr
|
|
https://bugs.dolphin-emu.org/issues/11692#note-5
Also change const into constexpr while we're at it.
|
|
The spec/validation layers say this is invalid.
|
|
Fixes feature level 10.0 devices crashing during runtime.
|
|
Has a better chance of avoiding recompiling if so.
|
|
It is always enabled in GLES.
|
|
This was occurring if the imgui vertex format was bound on shutdown,
which is destroyed before the vertex buffers
|
|
So it can be dumped with info log when linking fails.
|
|
|