summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/DebugUtil.cpp
AgeCommit message (Collapse)Author
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2020-12-16Core: Remove ImageWrite and get rid of -Wmissing-declarations warningsLéo Lam
2020-07-18Use range loop (if possible)Filip Gawin
2020-03-25Remove warnings of -Wsign-compareJun Su
Cast the variable to the coresponding type.
2019-07-16VideoCommon: Remove unused MathUtil.h include from VideoCommon.hLioncash
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.
2019-07-10VideoCommon/Statistics: Rename stats global to g_statsLioncash
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.
2019-07-10VideoCommon/Statistics: Normalize statistic variable namesLioncash
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.
2019-05-06Reformat repo to clang-format 7.0 rulesTechjar
2018-06-06Give Dump Objects dedicated folder and tooltipRyan Meredith
2017-03-03Common: Move byte swapping utilities into their own headerLioncash
This moves all the byte swapping utilities into a header named Swap.h. A dedicated header is much more preferable here due to the size of the code itself. In general usage throughout the codebase, CommonFuncs.h was generally only included for these functions anyway. These being in their own header avoids dumping the lesser used utilities into scope. As well as providing a localized area for more utilities related to byte swapping in the future (should they be needed). This also makes it nicer to identify which files depend on the byte swapping utilities in particular. Since this is a completely new header, moving the code uncovered a few indirect includes, as well as making some other inclusions unnecessary.
2016-10-08Remove Frameskipanthony
2016-09-24Software: Clean out unnecessary includes/fwd declsLioncash
2016-09-22DebugUtils: const correctnessLioncash
2016-09-21EfbInterface: Change out parameters on getters to return by valueLioncash
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-01-25Fifo: Make g_bSkipCurrentFrame a TU-local variableLioncash
This is only ever queried, making it a global isn't necessary.
2016-01-12Fifo: Create a "Fifo" namespace.degasus
2016-01-06VideoSW: Use more VideoCommondegasus
Now we require lots of empty functions, but this removes by far more duplicated code.
2015-09-17VideoSW: Drop HwRasterizerdegasus
I don't remember it being working, and nobody cares about performance of videosw.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2014-10-12Move bDumpFrames to SConfig (and it's references)Fog
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-08-10Software: Fix function casing in SWRendererLioncash
2014-08-10Software: Make an enum into a static constant in DebugUtil.cppLioncash
2014-07-17Fixed Frame dumping in VideoSoftware.Scott Mansell
Old code dumped the efb, which was no-longer relevant since the backend gained xfb support. New code dumps the colour texture which is about to be rendered to the screen so correctly reflects the bypassXFB option.
2014-07-11avoid the extern keyword in .cpp filesdegasus
2014-07-11mark all local functions as staticdegasus
2014-04-19Fix "warning: unused variable 'skipFrames'"Tillmann Karras
2014-04-12VideoSoftware: remove const memory usage of DebugUtildegasus
2014-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-02-28Various changes suggested by cppcheckTillmann Karras
- remove unused variables - reduce the scope where it makes sense - correct limits (did you know that strcat()'s last parameter does not include the \0 that is always added?) - set some free()'d pointers to NULL
2014-02-20Fix more header sorting issues in VideoBackends/ (now check-includes clean).Pierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre