dolphin/Source/Core/VideoBackends/Software
Lioncash c85e0a2586 FramebufferManagerBase: Return a std::pair from GetTargetSize
Keeps associated data together. It also eliminates the possibility of out
parameters not being initialized properly. For example, consider the
following example:

-- some FramebufferManager implementation --

void FBMgrImpl::GetTargetSize(u32* width, u32* height) override
{
  // Do nothing
}

-- somewhere else where the function is used --

u32 width, height;
framebuffer_manager_instance->GetTargetSize(&width, &height);

if (texture_width != width) <-- Uninitialized variable usage
{
  ...
}

It makes it much more obvious to spot any initialization issues, because
it requires something to be returned, as opposed to allowing an
implementation to just not do anything.
2017-02-03 15:27:53 -05:00
..
Clipper.cpp Software: Clean out unnecessary includes/fwd decls 2016-09-24 05:28:00 -04:00
Clipper.h
CMakeLists.txt
DebugUtil.cpp Remove Frameskip 2016-10-08 11:49:51 -05:00
DebugUtil.h DebugUtils: const correctness 2016-09-22 21:05:17 -04:00
EfbCopy.cpp Remove Frameskip 2016-10-08 11:49:51 -05:00
EfbCopy.h Software: Clean out unnecessary includes/fwd decls 2016-09-24 05:28:00 -04:00
EfbInterface.cpp Reorganise a ton of logs level 2016-10-01 15:50:28 -04:00
EfbInterface.h
NativeVertexFormat.h Software: Clean out unnecessary includes/fwd decls 2016-09-24 05:28:00 -04:00
Rasterizer.cpp
Rasterizer.h Software: Clean out unnecessary includes/fwd decls 2016-09-24 05:28:00 -04:00
SetupUnit.cpp Fix building with PCH disabled. 2016-10-11 14:25:14 -05:00
SetupUnit.h
Software.vcxproj
SWmain.cpp FramebufferManagerBase: Return a std::pair from GetTargetSize 2017-02-03 15:27:53 -05:00
SWOGLWindow.cpp VideoSW: Fix GL ES shader. 2017-01-07 12:32:15 +01:00
SWOGLWindow.h
SWRenderer.cpp RenderBase: Forward declare EFBAccessType 2017-01-23 12:41:26 -05:00
SWRenderer.h AVIDump: Move CoreTiming into caller. 2016-10-10 12:03:18 +02:00
SWVertexLoader.cpp VideoCommon: Make dst_alpha state implicit. 2017-01-04 20:02:31 +01:00
SWVertexLoader.h VideoCommon: Make dst_alpha state implicit. 2017-01-04 20:02:31 +01:00
Tev.cpp
Tev.h
TextureEncoder.cpp VideoSoftware: Don't drop least significant bit of 5-bit blue channels 2016-12-14 23:56:06 +10:00
TextureEncoder.h
TextureSampler.cpp Software: Clean out unnecessary includes/fwd decls 2016-09-24 05:28:00 -04:00
TextureSampler.h
TransformUnit.cpp Software: Clean out unnecessary includes/fwd decls 2016-09-24 05:28:00 -04:00
TransformUnit.h
Vec3.h Software: Clean out unnecessary includes/fwd decls 2016-09-24 05:28:00 -04:00
VideoBackend.h Software: Clean out unnecessary includes/fwd decls 2016-09-24 05:28:00 -04:00