dolphin/Source/Core/VideoBackends/D3D
Lioncash a9663669dc Common/CommonFuncs: Remove now-unneccessary ArraySize function
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.
2019-06-01 10:07:57 -04:00
..
BoundingBox.cpp D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
BoundingBox.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
CMakeLists.txt VideoBackends/D3D: Fix CMakeLists.txt 2019-05-12 00:05:09 +02:00
D3D.vcxproj D3D11: Use D3DCommon where appropriate 2019-03-29 19:52:38 +10:00
D3D.vcxproj.filters D3D11: Use D3DCommon where appropriate 2019-03-29 19:52:38 +10:00
D3DBase.cpp Common/CommonFuncs: Remove now-unneccessary ArraySize function 2019-06-01 10:07:57 -04:00
D3DBase.h D3D: Set optional features after creating the device 2019-04-28 15:26:49 +10:00
D3DState.cpp D3D11: Make stateman a unique_ptr 2019-03-29 19:55:00 +10:00
D3DState.h D3D11: Make stateman a unique_ptr 2019-03-29 19:55:00 +10:00
DXPipeline.cpp D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
DXPipeline.h D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
DXShader.cpp D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
DXShader.h D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
DXTexture.cpp D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
DXTexture.h D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
main.cpp D3D: Set optional features after creating the device 2019-04-28 15:26:49 +10:00
NativeVertexFormat.cpp D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
PerfQuery.cpp Common/CommonFuncs: Remove now-unneccessary ArraySize function 2019-06-01 10:07:57 -04:00
PerfQuery.h D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
Render.cpp VideoCommon/RenderBase: Use a std::string_view with CreateShaderFromSource() 2019-05-30 03:29:35 -04:00
Render.h VideoCommon/RenderBase: Use a std::string_view with CreateShaderFromSource() 2019-05-30 03:29:35 -04:00
SwapChain.cpp D3D11: Use D3DCommon where appropriate 2019-03-29 19:52:38 +10:00
SwapChain.h D3D11: Use D3DCommon where appropriate 2019-03-29 19:52:38 +10:00
VertexManager.cpp D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
VertexManager.h D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
VideoBackend.h D3D11: Use D3DCommon where appropriate 2019-03-29 19:52:38 +10:00