summaryrefslogtreecommitdiffstats
path: root/src/video_core/debug_utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Use deducation guides for std::lock_guard and std::unique_lockLioncash2019-04-012-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.
* debug_utils: Remove unused includesLioncash2018-08-252-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.
* debug_utils: Make BreakpointObserver class' constructor explicitLioncash2018-08-251-1/+1
| | | | Avoids implicit conversions.
* debug_utils: Initialize active_breakpoint member of DebugContextLioncash2018-08-251-2/+2
| | | | Ensures that all class members are initialized.
* Fix crash at exitmailwl2018-06-251-2/+4
|
* GPU: Make the debug_context variable a member of the frontend instead of a global.Subv2018-03-252-4/+0
|
* Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.Subv2018-03-242-0/+231
|
* Remove references to PICA and rasterizers in video_coreJames Rowe2018-01-132-828/+0
|
* Doxygen: Amend minor issues (#2593)Mat M2017-02-271-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.
* VideoCore: Split regs.h inclusionsYuri Kunde Schlesner2017-02-092-2/+6
|
* VideoCore: Move Regs to its own fileYuri Kunde Schlesner2017-02-042-2/+2
|
* VideoCore: Split shader regs from Regs structYuri Kunde Schlesner2017-02-042-2/+2
|
* VideoCore: Split texturing regs from Regs structYuri Kunde Schlesner2017-02-042-19/+24
|
* VideoCore: Split rasterizer regs from Regs structYuri Kunde Schlesner2017-02-042-3/+3
|
* VideoCore: Move LookupTexture out of debug_utils.hYuri Kunde Schlesner2017-02-042-278/+3
|
* VideoCore: Inline IsPicaTracingYuri Kunde Schlesner2016-12-152-15/+11
| | | | Speeds up ALBW main menu slightly (~3%)
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-212-4/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-192-21/+22
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-182-224/+237
|
* Remove superfluous std::move in return std::move(local_var)scurest2016-06-251-1/+1
|
* Refactor Tev stage dumperJannik Vogel2016-05-212-115/+114
|
* Extend Tev stage dumperJannik Vogel2016-05-211-14/+38
|
* fixup simple type conversions where possibleAlexander Laties2016-05-071-4/+5
|
* Pica: Rename VertexLoaded breakpoint to VertexShaderInvocationJannik Vogel2016-05-041-1/+1
|
* VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-302-7/+23
|
* Merge pull request #1730 from hrydgard/vertex-loaderbunnei2016-04-291-0/+30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove late accesses to attribute_config * Refactor: Extract VertexLoader from command_processor.cpp. Preparation for a similar concept to Dolphin or PPSSPP. These can be JIT-ed and cached. * Move "&" to their proper place, add missing includes and make some properly relative. * Don't keep base_address in the loader, it doesn't belong there (with it, the loader can't be cached). * Optimize the vertex loader, nearly doubling its speed. * Debugger fix * Move and rename the MemoryAccesses class to MemoryAccessTracker.
| * Move and rename the MemoryAccesses class to MemoryAccessTracker.Henrik Rydgard2016-04-291-0/+30
| |
* | Replace std::map with std::array for graphics event breakpoints, and allow the compiler to inline. Saves 1%+ in vertex heavy situations.Henrik Rydgard2016-04-242-7/+14
|/
* HWRasterizer: Texture forwardingtfarley2016-04-211-2/+2
|
* debug_utils: use std::make_unique for initializing PicaTraceLioncash2016-04-151-1/+1
|
* file_util: Don't expose IOFile internals through the APILioncash2016-04-141-1/+16
|
* Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY)Jannik Vogel2016-04-102-50/+0
|
* video_core: Don't cast away constLioncash2016-03-171-12/+12
|
* renderer_base: Don't directly expose the rasterizer unique_ptrLioncash2016-03-091-1/+1
| | | | | There's no reason to allow direct access to the unique_ptr instance. Only its contained pointer.
* Add immediate mode vertex submissionDwayne Slater2016-03-032-2/+4
|
* BitField: Make trivially copyable and remove assignment operatorMerryMage2016-02-121-4/+4
|
* VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner2015-12-081-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.
* VideoCore: Rename HWRasterizer methods to be less confusingYuri Kunde Schlesner2015-12-071-1/+1
|
* CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.Emmanuel Gil Peyrot2015-10-091-3/+3
| | | | The LOG_* function itself already appends one.
* general: Silence some warnings when using clangLioncash2015-09-161-3/+3
|
* video_core: Reorganize headersLioncash2015-09-111-2/+1
|
* video_core: Remove unused variablesLioncash2015-09-101-2/+0
|
* HWRenderer: Only reload the framebuffer from gpu memory if the hw renderer is in use during a breakpoint.Subv2015-08-231-2/+6
|
* Merge pull request #1034 from yuriks/rg8-texturesbunnei2015-08-171-0/+6
|\ | | | | videocore: Added RG8 texture support
| * videocore: Added RG8 texture supportPatrick Martin2015-08-161-0/+6
| |
* | Fix Linux GCC 4.9 build (complaining about undeclared memset)LittleWhite2015-08-161-1/+2
| |
* | Merge pull request #997 from Lectem/cmdlist_full_debugTony Wasserka2015-08-162-17/+12
|\ \ | | | | | | citra-qt: Improve pica command list widget (add mask, fix some issues)
| * | citra-qt/debug_utils: Use lock_guard everywhereLectem2015-07-261-6/+5
| | | | | | | | | | | | | | | unique_lock were being used as lock_guards. Also replaced manual lock/unlock by lock_guard for harmonization.
| * | citra-qt/command list: Add mask columnLectem2015-07-262-11/+7
| | |
* | | Introduce a shader tracer to allow inspection of input/output values for each processed instruction.Tony Wasserka2015-08-162-3/+3
| | |
* | | Pica/DebugUtils: Include uniform information into shader dumps.Tony Wasserka2015-08-162-11/+51
| | |
* | | citra-qt: Improve shader debugger.Tony Wasserka2015-08-162-7/+17
| |/ |/| | | | | Now supports dumping the current shader and recognizes a larger number of output semantics.
* | ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types.Emmanuel Gil Peyrot2015-08-111-1/+2
| |
* | VideoCore: #ifdef out some debugging routinesYuri Kunde Schlesner2015-07-262-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.
* Address error that remained in last mergeYuri Kunde Schlesner2015-07-251-1/+1
|
* Merge pull request #892 from zawata/another-warning-fixesYuri Kunde Schlesner2015-07-251-16/+16
|\ | | | | Yet More Warning Fixes
| * Video_Core : Type fixeszawata2015-07-191-1/+1
| |
| * Video_Core : Change Tabs to Spaceszawata2015-07-191-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)
| * Video_Core : Fix Conversion Warningszawata2015-07-191-16/+1
| |
* | Qt/GPU Breakpoints: Added three more breakpoint types:Subv2015-07-231-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
* Add CiTrace recording support.Tony Wasserka2015-07-131-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).
* CitraQt: Cleanup includes.Emmanuel Gil Peyrot2015-06-281-0/+1
|
* Move video_core/color.h to common/color.harchshift2015-05-301-1/+1
|
* Move video_core/math.h to common/vector_math.harchshift2015-05-302-2/+3
| | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-291-1/+1
|
* Pica: Create 'State' structure and move state memory there.bunnei2015-05-231-1/+1
|
* OpenGL renderertfarley2015-05-231-0/+4
|
* Implement I4 texture formatarchshift2015-05-111-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.
* VideoCore: Remove a superfluous auto variable declaration in debug_utils.Emmanuel Gil Peyrot2015-04-291-1/+1
|
* Changed occurences of colour to color for consistencyGareth Higgins2015-04-051-1/+1
|
* VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type.Emmanuel Gil Peyrot2015-03-161-3/+3
|
* GPU/Textures: Fixed ETC texture decoding.Subv2015-03-071-1/+1
|
* GPU: Added RGB565/RGB8 framebuffer support and various cleanups.bunnei2015-03-041-24/+12
| | | | | | - Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger.
* GPU: Implemented bits 3 and 1 from the display transfer flags.Subv2015-02-271-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.
* Video core: Fix A4 texture decodingYuri Kunde Schlesner2015-02-261-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.
* Video core: Fix pixelation/blockiness in textures.Yuri Kunde Schlesner2015-02-261-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.
* core/video_core: Use in-place construction where possibleLioncash2015-02-171-2/+2
|
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-111-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.
* Pica/Rasterizer: Add ETC1 texture decompression support.Tony Wasserka2015-01-131-12/+140
|
* Pica: Cleanup color conversion.Tony Wasserka2014-12-311-18/+14
|
* Pica/DebugUtils: Fix a bug in RGBA4 texture decoding.Tony Wasserka2014-12-311-2/+2
|
* Pica: Fix A4, IA4 and IA8 texture formats.Tony Wasserka2014-12-311-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.
* GPU: Bitwise texture swizzlingYuri Kunde Schlesner2014-12-291-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.
* Pica/DebugUtils: Further cleanups to LookupTexture.Tony Wasserka2014-12-201-7/+7
|
* Pica/DebugUtils: Fix two warnings.Tony Wasserka2014-12-201-2/+2
|
* Pica/DebugUtils: Better document LookupTexture.Tony Wasserka2014-12-202-7/+16
|
* Pica/DebugUtils: Make a number of variables static.Tony Wasserka2014-12-201-13/+13
| | | | Makes for cleaner and faster code.
* Pica/DebugUtils: Replace duplicated SHBIN structures in favor of nihstro's ones.Tony Wasserka2014-12-201-61/+8
|
* Pica/DebugUtils: Add an event triggered after loading a vertex.Tony Wasserka2014-12-201-0/+1
|
* Add support for a ridiculous number of texture formats.Tony Wasserka2014-12-201-1/+64
|
* Pica: Unify ugly address translation hacks.Tony Wasserka2014-12-202-2/+2
|
* Pica: Further improve Tev emulation.Tony Wasserka2014-12-201-2/+8
|
* Pica: Merge texture lookup logic for DebugUtils and Rasterizer.Tony Wasserka2014-12-202-9/+38
| | | | This effectively adds support for a lot texture formats in the rasterizer.
* Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats.Tony Wasserka2014-12-201-3/+46
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-131-9/+9
|
* Some code cleanup.Tony Wasserka2014-12-091-3/+1
|
* citra_qt: Add enhanced texture debugging widgets.Tony Wasserka2014-12-092-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.
* citra-qt: Add texture viewer to Pica command list.Tony Wasserka2014-12-092-21/+45
| | | | The texture viewer is enabled when selecting a write command to one of the texture config registers.
* Pica/DebugUtils: Add breakpoint functionality.Tony Wasserka2014-12-092-0/+176
|
* Silence a few -Wsign-compare warnings.Rohit Nirmal2014-12-011-4/+4
|
* Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2014-11-192-3/+3
|
* Fix warnings in video_coreLioncash2014-10-081-4/+4
|
* Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot2014-09-171-1/+1
|
* Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper.Tony Wasserka2014-08-252-23/+11
|
* Pica/Rasterizer: Add texturing support.Tony Wasserka2014-08-251-17/+1
|
* Pica/DebugUtils: Add convenient tev setup printer.Tony Wasserka2014-08-252-0/+99
|
* Pica: Add support for dumping textures.Tony Wasserka2014-08-252-0/+133
|
* Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka2014-08-252-0/+76
|
* Pica: Add debug utilities for dumping shaders.Tony Wasserka2014-08-252-0/+208
|
* Pica: Add debug utility functions for dumping geometry data.Tony Wasserka2014-08-252-0/+100