summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManagerBase.cpp
AgeCommit message (Collapse)Author
2017-02-03FramebufferManagerBase: Return a std::pair from GetTargetSizeLioncash
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.
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-05-08D3D12: Implement XFB encoding/decoding (support Real XFB)Stenzek
2015-12-22Render: Get rid of explicit new and deleteLioncash
2015-12-21FramebufferManagerBase: Get rid of explicit delete and newLioncash
2015-11-24FramebufferManager: check for g_framebuffer_managerdegasus
2015-11-24FramebufferManager: Allow CreateXFBSource to return nullptrdegasus
2015-09-01FramebufferManagerBase: Compress a loop into a find_ifLioncash
2015-07-25Video: stride in bytes rather than pixelsbooto
2015-07-25Video: respect stride of efb copies to xfbbooto
2015-05-25Add missing license headersTillmann Karras
2015-02-04Use emplace_* functions where in-place construction is preferableLioncash
2014-12-25FramebufferManagerBase: Remove obsolete parameters.Jules Blok
2014-12-24D3D: Support stereoscopic XFB blit to screen.Jules Blok
2014-12-24FramebufferManagerBase: Only allocate one layer for Real XFB.Jules Blok
2014-11-23TextureCache: Ensure that all render target textures have as many layers as ↵Jules Blok
the frame buffer. Also fixes a case where the D3D code path did not initialize num_layers leading to undefined behaviour.
2014-10-02Change a bunch of reference function arguments to pointers.comex
Per the coding style and sanity.
2014-09-20VideoCommon: Fix function casing in FrameBufferManagerBaseLioncash
2014-07-26Remove the 3D Vision hack.Jules Blok
The hack was needed because the Nvidia 3D Vision heuristics are documented to only support surfaces that are the same size as the backbuffer. This would be the case if you enabled the hack and selected the "Auto (Window Size)" internal resolution. However, on recent drivers the same effect is achieved by selecting the "Auto (Multiple)" internal resolution. Therefore the hack is no longer required.
2014-05-05VideoCommon: recreate XFB texture when the XFB size changes.magumagu
We need to do this to correctly deal with games which dynamically change the XFB width and height.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-03-09clang-modernize -loop-convertTillmann Karras
and some manual adjustments
2014-02-18Convert all includes to relative paths.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre