dolphin/Source/Core/VideoBackends/Software
Pokechu22 4a2d3c83c7 Software: Implement GetSurfaceInfo()
Before, it used a fallback where it returned a default object, where the width and height were set to 0. Presenter::Initialize() used GetSurfaceInfo to set the backbuffer size, then used that size when initializing the on-screen UI (even for the software renderer, where the on-screen UI isn't currently present), which meant that ImGui got a window size of 0 and thus resulted in a failed assertion.

Although BindBackbuffer checks for size changes, it doesn't help because ImGui has already been initialized, and the size hasn't actually changed since initialization occured.

Fixes one aspect of https://bugs.dolphin-emu.org/issues/13172.
2023-03-02 11:08:49 -08:00
..
CMakeLists.txt Implement AbstractGfx for Software & Null 2023-01-31 19:41:23 +13:00
Clipper.cpp VideoCommon/Statistics: Require semicolons after statistics macros 2022-10-29 15:39:41 -07:00
Clipper.h Software: Fix zfreeze with CullMode::All 2022-04-08 20:05:32 -07:00
CopyRegion.h Software: Fix out of bounds accesses in CopyRegion 2021-03-06 21:58:28 -08:00
EfbCopy.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
EfbCopy.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
EfbInterface.cpp Software: Use hardware-verified numbers for RGB->YUV conversion 2022-07-16 00:07:10 -07:00
EfbInterface.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
NativeVertexFormat.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Rasterizer.cpp SW/Rasterizer: Use RAS1_IREF::getTexCoord and getTexMap 2022-08-29 11:10:05 -07:00
Rasterizer.h SW/Tev: Replace Tev::SetRegColor with Tev::SetKonstColors 2022-08-29 11:10:05 -07:00
SWBoundingBox.cpp VideoCommon: Abstract bounding box 2021-10-04 15:51:24 -04:00
SWBoundingBox.h VideoCommon: Abstract bounding box 2021-10-04 15:51:24 -04:00
SWGfx.cpp Software: Implement GetSurfaceInfo() 2023-03-02 11:08:49 -08:00
SWGfx.h Software: Implement GetSurfaceInfo() 2023-03-02 11:08:49 -08:00
SWOGLWindow.cpp Software: Fix mipmaps and uneven strides in SWTexture 2022-09-26 19:43:57 -07:00
SWOGLWindow.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SWRenderer.cpp Move ConfigChanged out of RenderBase 2023-01-31 19:41:24 +13:00
SWRenderer.h Implement AbstractGfx for Software & Null 2023-01-31 19:41:23 +13:00
SWTexture.cpp Merge pull request #11522 from phire/KillRendererWithFire 2023-02-09 19:59:16 +13:00
SWTexture.h VideoBackends: add a way to load data into a specific level AND layer, default to layer 0 2023-01-27 18:46:53 -06:00
SWVertexLoader.cpp Move BoundingBox out of RenderBase 2023-01-31 19:41:24 +13:00
SWVertexLoader.h Software: Fix zfreeze with CullMode::All 2022-04-08 20:05:32 -07:00
SWmain.cpp Don't set common globals from Video Backends 2023-01-31 19:41:23 +13:00
SetupUnit.cpp Convert OpcodeDecoder::Opcode and OpcodeDecoder::Primitive to enum class 2021-12-18 12:51:56 -08:00
SetupUnit.h Convert OpcodeDecoder::Opcode and OpcodeDecoder::Primitive to enum class 2021-12-18 12:51:56 -08:00
Tev.cpp Merge pull request #11389 from Pokechu22/sw-no-alpha-1-hack 2022-12-29 13:08:04 -05:00
Tev.h Fix uninitialized variable warnings (C26495) 2023-02-15 19:18:39 -08:00
TextureCache.h TextureCache: Refactor with smart pointers 2023-01-31 18:29:47 +13:00
TextureEncoder.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureEncoder.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureSampler.cpp HW/Memmap: Refactor Memory to class, move to Core::System. 2022-12-03 13:27:02 +01:00
TextureSampler.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TransformUnit.cpp VideoCommon: Add comment explaining why only the first normal gets normalized 2022-04-22 16:54:38 -07:00
TransformUnit.h VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
Vec3.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
VideoBackend.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00