summaryrefslogtreecommitdiffstats
path: root/src/video_core/debug_utils (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-04-01general: Use deducation guides for std::lock_guard and std::unique_lockLioncash2-4/+4
Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future.
2018-08-25debug_utils: Remove unused includesLioncash2-23/+0
Quite a bit of these aren't necessary directly within the debug_utils header and can be removed or included where actually necessary.
2018-08-25debug_utils: Make BreakpointObserver class' constructor explicitLioncash1-1/+1
Avoids implicit conversions.
2018-08-25debug_utils: Initialize active_breakpoint member of DebugContextLioncash1-2/+2
Ensures that all class members are initialized.
2018-06-25Fix crash at exitmailwl1-2/+4
2018-03-25GPU: Make the debug_context variable a member of the frontend instead of a global.Subv2-4/+0
2018-03-24Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.Subv2-0/+231
2018-01-13Remove references to PICA and rasterizers in video_coreJames Rowe2-828/+0
2017-02-27Doxygen: Amend minor issues (#2593)Mat M1-1/+1
Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues.
2017-02-09VideoCore: Split regs.h inclusionsYuri Kunde Schlesner2-2/+6
2017-02-04VideoCore: Move Regs to its own fileYuri Kunde Schlesner2-2/+2
2017-02-04VideoCore: Split shader regs from Regs structYuri Kunde Schlesner2-2/+2
2017-02-04VideoCore: Split texturing regs from Regs structYuri Kunde Schlesner2-19/+24
2017-02-04VideoCore: Split rasterizer regs from Regs structYuri Kunde Schlesner2-3/+3
2017-02-04VideoCore: Move LookupTexture out of debug_utils.hYuri Kunde Schlesner2-278/+3
2016-12-15VideoCore: Inline IsPicaTracingYuri Kunde Schlesner2-15/+11
Speeds up ALBW main menu slightly (~3%)
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2-4/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2-21/+22
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot2-224/+237
2016-06-25Remove superfluous std::move in return std::move(local_var)scurest1-1/+1
2016-05-21Refactor Tev stage dumperJannik Vogel2-115/+114
2016-05-21Extend Tev stage dumperJannik Vogel1-14/+38
2016-05-07fixup simple type conversions where possibleAlexander Laties1-4/+5
2016-05-04Pica: Rename VertexLoaded breakpoint to VertexShaderInvocationJannik Vogel1-1/+1
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2-7/+23
2016-04-29Move and rename the MemoryAccesses class to MemoryAccessTracker.Henrik Rydgard1-0/+30
2016-04-24Replace std::map with std::array for graphics event breakpoints, and allow the compiler to inline. Saves 1%+ in vertex heavy situations.Henrik Rydgard2-7/+14
2016-04-21HWRasterizer: Texture forwardingtfarley1-2/+2
2016-04-15debug_utils: use std::make_unique for initializing PicaTraceLioncash1-1/+1
2016-04-14file_util: Don't expose IOFile internals through the APILioncash1-1/+16
2016-04-10Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY)Jannik Vogel2-50/+0
2016-03-17video_core: Don't cast away constLioncash1-12/+12
2016-03-09renderer_base: Don't directly expose the rasterizer unique_ptrLioncash1-1/+1
There's no reason to allow direct access to the unique_ptr instance. Only its contained pointer.
2016-03-03Add immediate mode vertex submissionDwayne Slater2-2/+4
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage1-4/+4
2015-12-08VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner1-4/+2
This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations.
2015-12-07VideoCore: Rename HWRasterizer methods to be less confusingYuri Kunde Schlesner1-1/+1
2015-10-09CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.Emmanuel Gil Peyrot1-3/+3
The LOG_* function itself already appends one.
2015-09-16general: Silence some warnings when using clangLioncash1-3/+3
2015-09-11video_core: Reorganize headersLioncash1-2/+1
2015-09-10video_core: Remove unused variablesLioncash1-2/+0
2015-08-23HWRenderer: Only reload the framebuffer from gpu memory if the hw renderer is in use during a breakpoint.Subv1-2/+6
2015-08-16Fix Linux GCC 4.9 build (complaining about undeclared memset)LittleWhite1-1/+2
2015-08-16Introduce a shader tracer to allow inspection of input/output values for each processed instruction.Tony Wasserka2-3/+3
2015-08-16Pica/DebugUtils: Include uniform information into shader dumps.Tony Wasserka2-11/+51
2015-08-16citra-qt: Improve shader debugger.Tony Wasserka2-7/+17
Now supports dumping the current shader and recognizes a larger number of output semantics.
2015-08-16videocore: Added RG8 texture supportPatrick Martin1-0/+6
2015-08-11ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types.Emmanuel Gil Peyrot1-1/+2
2015-07-26citra-qt/debug_utils: Use lock_guard everywhereLectem1-6/+5
unique_lock were being used as lock_guards. Also replaced manual lock/unlock by lock_guard for harmonization.
2015-07-26citra-qt/command list: Add mask columnLectem2-11/+7
2015-07-26VideoCore: #ifdef out some debugging routinesYuri Kunde Schlesner2-12/+5
Some disabled debugging functionality was being called from rendering routines in VideoCore. Although disabled, many of them still allocated memory or did some extra work that was enough to show up in a profiler. Gives a slight (~2ms) speedup.
2015-07-25Address error that remained in last mergeYuri Kunde Schlesner1-1/+1
2015-07-23Qt/GPU Breakpoints: Added three more breakpoint types:Subv1-2/+5
* IncomingDisplayTransfer: Triggered just before a display transfer is performed. * GSPCommandProcessed: Triggered right after a GSP command is processed. * BufferSwapped: Triggered when the frames flip
2015-07-19Video_Core : Type fixeszawata1-1/+1
2015-07-19Video_Core : Change Tabs to Spaceszawata1-0/+15
This really should be universalized, I keep getting errors creating commits because lines I've edited use tabs instead of spaces(and yes I did read the contributing guide and i know they are supposed to be spaces)
2015-07-19Video_Core : Fix Conversion Warningszawata1-16/+1
2015-07-13Add CiTrace recording support.Tony Wasserka1-0/+4
This is exposed in the GUI as a new "CiTrace Recording" widget. Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
2015-06-28CitraQt: Cleanup includes.Emmanuel Gil Peyrot1-0/+1
2015-05-30Move video_core/color.h to common/color.harchshift1-1/+1
2015-05-30Move video_core/math.h to common/vector_math.harchshift2-2/+3
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot1-1/+1
2015-05-23Pica: Create 'State' structure and move state memory there.bunnei1-1/+1
2015-05-23OpenGL renderertfarley1-0/+4
2015-05-11Implement I4 texture formatarchshift1-0/+11
@neobrain, could you confirm that this is correct? It's been tested with various different games and fixes different textures, including in Animal Crossing, Kirby Triple Deluxe, and SMB3D.
2015-04-29VideoCore: Remove a superfluous auto variable declaration in debug_utils.Emmanuel Gil Peyrot1-1/+1
2015-04-05Changed occurences of colour to color for consistencyGareth Higgins1-1/+1
2015-03-16VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type.Emmanuel Gil Peyrot1-3/+3
2015-03-07GPU/Textures: Fixed ETC texture decoding.Subv1-1/+1
2015-03-04GPU: Added RGB565/RGB8 framebuffer support and various cleanups.bunnei1-24/+12
- Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger.
2015-02-27GPU: Implemented bits 3 and 1 from the display transfer flags.Subv1-42/+14
Bit 3 is used to specify a raw copy, where no processing is done to the data, seems to behave exactly as a DMA. Bit 1 is used to specify whether to convert from a tiled format to a linear format or viceversa.
2015-02-26Video core: Fix A4 texture decodingYuri Kunde Schlesner1-2/+2
It was trying to take the LSB from `coarse_x`, which would always be 0 and thus would always return the same texel from each byte. To add insult to the injury, the conditional was actually the wrong way around too. Fixes blocky text in OoT.
2015-02-26Video core: Fix pixelation/blockiness in textures.Yuri Kunde Schlesner1-3/+3
This was caused during morton decoding by me not masking the bits of each coordinate before merging them, so the bits from x could set bits in y if it was >255.
2015-02-17core/video_core: Use in-place construction where possibleLioncash1-2/+2
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-3/+3
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-01-13Pica/Rasterizer: Add ETC1 texture decompression support.Tony Wasserka1-12/+140
2014-12-31Pica: Cleanup color conversion.Tony Wasserka1-18/+14
2014-12-31Pica/DebugUtils: Fix a bug in RGBA4 texture decoding.Tony Wasserka1-2/+2
2014-12-31Pica: Fix A4, IA4 and IA8 texture formats.Tony Wasserka1-13/+7
Both IA4 and IA8 had their component order mixed up. Additionally, IA4 used the wrong number of nibbles per texel. A4 skipped every second texel.
2014-12-29GPU: Bitwise texture swizzlingYuri Kunde Schlesner1-27/+24
Replace the loop-based texture address swizzling code by a bit-twiddling implementation, providing a very small speed up. Also simplify addressing code.
2014-12-20Pica/DebugUtils: Further cleanups to LookupTexture.Tony Wasserka1-7/+7
2014-12-20Pica/DebugUtils: Fix two warnings.Tony Wasserka1-2/+2
2014-12-20Pica/DebugUtils: Better document LookupTexture.Tony Wasserka2-7/+16
2014-12-20Pica/DebugUtils: Make a number of variables static.Tony Wasserka1-13/+13
Makes for cleaner and faster code.
2014-12-20Pica/DebugUtils: Replace duplicated SHBIN structures in favor of nihstro's ones.Tony Wasserka1-61/+8
2014-12-20Pica/DebugUtils: Add an event triggered after loading a vertex.Tony Wasserka1-0/+1
2014-12-20Add support for a ridiculous number of texture formats.Tony Wasserka1-1/+64
2014-12-20Pica: Unify ugly address translation hacks.Tony Wasserka2-2/+2
2014-12-20Pica: Further improve Tev emulation.Tony Wasserka1-2/+8
2014-12-20Pica: Merge texture lookup logic for DebugUtils and Rasterizer.Tony Wasserka2-9/+38
This effectively adds support for a lot texture formats in the rasterizer.
2014-12-20Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats.Tony Wasserka1-3/+46
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-9/+9
2014-12-09Some code cleanup.Tony Wasserka1-3/+1
2014-12-09citra_qt: Add enhanced texture debugging widgets.Tony Wasserka2-0/+16
Double-clicking a texture parameter command in the pica command lists will spawn these as a new tab in the pica command list dock area.
2014-12-09citra-qt: Add texture viewer to Pica command list.Tony Wasserka2-21/+45
The texture viewer is enabled when selecting a write command to one of the texture config registers.
2014-12-09Pica/DebugUtils: Add breakpoint functionality.Tony Wasserka2-0/+176
2014-12-01Silence a few -Wsign-compare warnings.Rohit Nirmal1-4/+4
2014-11-19Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2-3/+3
2014-10-08Fix warnings in video_coreLioncash1-4/+4
2014-09-17Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot1-1/+1
2014-08-25Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper.Tony Wasserka2-23/+11
2014-08-25Pica/Rasterizer: Add texturing support.Tony Wasserka1-17/+1
2014-08-25Pica/DebugUtils: Add convenient tev setup printer.Tony Wasserka2-0/+99
2014-08-25Pica: Add support for dumping textures.Tony Wasserka2-0/+133
2014-08-25Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka2-0/+76
2014-08-25Pica: Add debug utilities for dumping shaders.Tony Wasserka2-0/+208
2014-08-25Pica: Add debug utility functions for dumping geometry data.Tony Wasserka2-0/+100