summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-12-21citra-qt: Move graphics debugging code into its own folderLioncash15-11/+11
Keeps all graphics debugging stuff from cluttering up the root debugger folder
2016-12-14Fixed the codestyle to match our clang-format rules.Subv1-1/+2
2016-12-11citra-qt: Make constructors explicit where applicableLioncash12-29/+32
2016-12-11citra-qt: Add missing #pragma once directivesLioncash4-0/+8
2016-12-11graphics_cmdlists: Get rid of variable shadowingLioncash1-14/+18
2016-12-11graphics_cmdlists: Get rid of an unused variableLioncash1-1/+0
2016-12-11graphics_cmdlists: Make LoadTexture and TextureInfoWidget src arguments constLioncash1-3/+4
2016-12-11graphics_cmdlists: Make LoadImage internally linkedLioncash1-0/+2
Puts the TextureInfoWidget definition in the anonymous namespace as well, as it's only used in the translation unit as well.
2016-12-11Add all services to the Service namespaceLioncash1-8/+8
Previously there was a split where some of the services were in the Service namespace and others were not.
2016-12-09WaitSynch: Removed unused variables and reduced SharedPtr copies.Subv1-1/+1
Define a variable with the value of the sync timeout error code. Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call.
2016-12-04Threading: Added some utility functions and const correctness.Subv1-1/+1
2016-12-04Threading: Reworked the way our scheduler works.Subv1-1/+1
Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then. The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback. This new implementation is based off reverse-engineering of the real kernel. See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling.
2016-12-01Fixed the rebase mistakes.Subv1-1/+0
2016-10-20Fix typosRicardo de Almeida Gonzaga2-3/+3
2016-09-22implement wait tree widgetwwylele2-0/+603
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner11-11/+11
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot21-63/+17
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 Schlesner8-24/+14
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot24-569/+587
2016-06-19Qt: Fix MicroProfile dpi scalingYuri Kunde Schlesner1-7/+6
2016-05-21Debugger/Callstack: Replace Memory::GetPointer with Memory::IsValidVirtualAddressMerryMage1-1/+4
2016-05-12Microprofile: DPI-aware drawingMerryMage1-4/+12
2016-05-12Move default_attributes into Pica stateJannik Vogel1-1/+1
2016-05-11Turn ShaderSetup into structJannik Vogel1-1/+1
2016-05-07fixup simple type conversions where possibleAlexander Laties1-1/+1
2016-05-07citra_qt: Replace 'Pica Framebuffer Debugger' with 'Pica Surface Viewer'Jannik Vogel6-575/+860
2016-05-04Pica: Rename VertexLoaded breakpoint to VertexShaderInvocationJannik Vogel2-3/+3
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-0/+4
2016-04-29Common: Remove section measurement from profiler (#1731)Yuri Kunde Schlesner1-24/+2
This has been entirely superseded by MicroProfile. The rest of the code can go when a simpler frametime/FPS meter is added to the GUI.
2016-04-29Make Citra build with MICROPROFILE_ENABLED set to 0 (#1709)Henrik Rydgård2-0/+16
* Make Citra build with MICROPROFILE_ENABLED set to 0 * Buildfix with microprofile kept on * moc did not like a dialog to conditionally exist. * Cleanup * Fix end of line
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 Rydgard1-2/+2
2016-04-23debugger: Warn if we reach an unreachable formatSam Spilsbury1-0/+6
2016-03-15PICA: Fix MAD/MADI encodingJannik Vogel1-2/+10
2016-03-09Fix attribute mapping in vs debuggerJannik Vogel1-2/+2
2016-03-03Add immediate mode vertex submissionDwayne Slater4-1/+5
2015-12-30core: Use unique_ptr for holding the interpreter instancesLioncash2-12/+8
2015-10-07Silence -Wsign-compare warnings.Rohit Nirmal1-4/+4
2015-09-14GSP: Implement command 0x05, used for flushing cachesYuri Kunde Schlesner1-2/+2
May fix additional texture caching issues. (Though mostly in homebrew, I haven't seen any commercial software use this to flush anything but command lists.)
2015-09-12general: Replace 0 literals with nullptr where applicableLioncash2-2/+2
2015-09-11graphics_breakpoints_p: Add missing override specifierLioncash1-1/+1
2015-09-11General: Replace NULL and '0' usages with nullptr where applicableLioncash6-6/+6
2015-09-11citra_qt: Reorganize headersLioncash17-56/+43
2015-09-07Shader Debugger: Allow editing of input vertex dataYuri Kunde Schlesner1-0/+2
2015-09-07Shader Debugger: Highlight current instruction instead of focusingYuri Kunde Schlesner1-4/+15
This avoid some annoying focus stealing in some situations, and looks nicer in general.
2015-09-07Shader Debugger: Remove useless signalYuri Kunde Schlesner2-10/+2
2015-09-07Shader Debugger: Fix only first vertex attribute being loadedYuri Kunde Schlesner1-7/+7
2015-09-07Shader Debugger: Fix freeze when double-clicking shader disassemblyYuri Kunde Schlesner3-14/+4
2015-09-07Shader Debugger: Improve space efficiency of the layoutYuri Kunde Schlesner1-9/+18
2015-09-07Shader Disassembly: Fix printing of jump offsetsYuri Kunde Schlesner1-4/+4
2015-09-07Shader Disassembly: Fix disassembly of IFU/CALLU instructionsYuri Kunde Schlesner1-0/+1
2015-09-07Shader Disassembly: Implement support for MAD/MADIYuri Kunde Schlesner1-0/+31
2015-09-07Shader Disassembly: Introduce variables to hold common subexpressionsYuri Kunde Schlesner1-16/+20
2015-09-07Shader Debugger: Initialize input_vertex to prevent crashesYuri Kunde Schlesner1-0/+7
If the first type of breakpoint to be hit wasn't "Vertex Loaded", the input_vertex would contain garbage, which would be passed to the shader interpreter and ocasionally cause crashes.
2015-09-07Shader Disassembly: Cleanup code and improve output alignmentYuri Kunde Schlesner1-66/+79
2015-09-07citra-qt: Use monospace font on Disassembler and ARM RegistersKloen2-1/+35
2015-08-25Integrate the MicroProfile profiling libraryYuri Kunde Schlesner2-0/+219
This brings goodies such as a configurable user interface and multi-threaded timeline view.
2015-08-25citra-qt: Add helper function to get a monospace QFontYuri Kunde Schlesner3-5/+9
2015-08-16citra-qt/VertexShader: Minor UI improvements.Tony Wasserka2-10/+11
Renamed "Iteration index" to the (hopefully) more intuitive "Cycle Index". Added flexible space at the bottom of the widget.
2015-08-16citra-qt: Fix comment style.Tony Wasserka1-5/+6
2015-08-16Introduce a shader tracer to allow inspection of input/output values for each processed instruction.Tony Wasserka2-42/+261
2015-08-16Pica/DebugUtils: Include uniform information into shader dumps.Tony Wasserka1-3/+2
2015-08-16citra-qt: Improve shader debugger.Tony Wasserka2-3/+20
Now supports dumping the current shader and recognizes a larger number of output semantics.
2015-08-16citra-qt: Print the correct swizzle mask for SRC2 in the shader disassembler.Tony Wasserka1-3/+3
2015-08-16citra-qt: Give RG8 format a proper name in the texture viewerYuri Kunde Schlesner1-1/+1
2015-08-15Shader: Move shader code to its own subdirectory, "shader".bunnei1-1/+1
2015-08-15GPU: Refactor "VertexShader" namespace to "Shader".bunnei1-1/+1
- Also renames "vertex_shader.*" to "shader_interpreter.*"
2015-08-11ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types.Emmanuel Gil Peyrot2-5/+9
2015-08-07registers: Support viewing VFP registersLioncash2-44/+172
2015-08-07registers: Fix a typo with CPSR's nameLioncash2-36/+36
2015-07-29citra-qt: Adjust initializer list orderLioncash1-1/+1
Silences a warning.
2015-07-26citra-qt/command list: Do not recreate a widget after each selectionLectem1-10/+10
Recreating / replacing a widget is slow since it triggers a layout pass.
2015-07-26citra-qt/command list: Add mask columnLectem1-8/+10
2015-07-26citra-qt/command list: monospace font on windowsLectem1-1/+3
2015-07-26dyncom: Rename armdefs.h to armstate.hLioncash1-1/+0
2015-07-26dyncom: Get rid of skyeye typedefsLioncash1-1/+1
2015-07-25citra-qt/command list: Enable uniform row heights and automatically resize columns.Lectem1-0/+8
Uniform row heights enables some optimisations for a smoother scrolling. Resize columns to content so that we don't have to do it manually
2015-07-25citra-qt/command list: Split register and value columns.Lectem1-12/+14
Also removed the extra spaces for each cell
2015-07-24Qt/GPU Breakpoints: Changed the widget so that we don't have to select and click the Enable button when enabling/disabling a breakpoint, now it is done via a checkbox next to the breakpoint's name.Subv3-71/+40
2015-07-23Qt/GPU Breakpoints: Added three more breakpoint types:Subv1-3/+6
* 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-21Resolve issue accidentally left unaddressed in PR #930Yuri Kunde Schlesner1-1/+1
2015-07-19Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.Subv1-1/+1
Also added its name to the texture viewer widget
2015-07-19Citra_QT : Another Conversion Warning Fixzawata1-1/+1
2015-07-19Citra_QT : Fix Conversion Warningszawata2-2/+2
2015-07-15citra-qt: Add support for copying the command list contents to clipboard.Tony Wasserka2-1/+31
2015-07-15Pica/Shader: Add geometry shader definitions.Tony Wasserka1-1/+1
2015-07-13citra-qt: Add depth formats to framebuffer viewing widget.Tony Wasserka2-6/+33
2015-07-13citra-qt: Properly specify the framebuffer format.Tony Wasserka2-3/+28
2015-07-13CiTrace: Clean up initialization method.Tony Wasserka1-9/+15
2015-07-13CiTrace: Record LCD registers. Cleanup recording code.Tony Wasserka1-7/+11
2015-07-13CiTrace: Record default vertex attributes.Tony Wasserka1-0/+8
2015-07-13citra-qt: Properly disable the CiTrace widget upon starting/stopping emulation.Tony Wasserka2-2/+36
2015-07-13Add CiTrace recording support.Tony Wasserka3-1/+151
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/+2
2015-06-19Make the call stack entries not editableGreg Wicks1-0/+3
2015-05-30Move video_core/color.h to common/color.harchshift1-1/+2
2015-05-30Move video_core/math.h to common/vector_math.harchshift1-2/+2
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.bunnei3-10/+10
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner4-4/+4
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
2015-05-09Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner2-3/+3
2015-05-09Memory: Support more regions in the VAddr-PAddr translation functionsYuri Kunde Schlesner2-3/+3
Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
2015-05-07Common: Remove common.hYuri Kunde Schlesner4-3/+5
2015-05-02Qt: Fixed a bug in shutdown procedure, various cleanups.bunnei4-8/+8
2015-05-02Qt: Clear registers widget on shutdown.bunnei2-8/+29
2015-05-02Qt: Use signals for emu_thread start/stop and fix disasm widget.bunnei2-41/+49
2015-05-02Qt: Restructured to remove unnecessary shutdown event and various cleanups.bunnei1-5/+5
2015-05-02Qt: Move EmuThread ownership from render window to main window.bunnei2-11/+13
2015-04-14Headers: Add some forgotten overrides, thanks clang!Emmanuel Gil Peyrot2-2/+2
2015-04-10Silence some -Wsign-compare warnings.Rohit Nirmal1-2/+2
2015-03-30disassembler: Get rid of a const_castLioncash1-4/+1
2015-03-30callstack: Remove unnecessary disassembler instantiationLioncash1-2/+1
Decode is a static function. There's no need to allocate a disassembler instance.
2015-03-10GPU: Added the stencil test structure to the Pica Regs struct.Subv2-6/+6
2015-03-10Frontend/Qt: Allow the framebuffer widget to inspect the depth bufferSubv2-5/+66
2015-03-08Update nihstro submodule to the initial release version.archshift1-20/+21
Includes more opcodes to implement in the future.
2015-03-04GPU: Added RGB565/RGB8 framebuffer support and various cleanups.bunnei3-59/+33
- Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger.
2015-03-02Add profiling infrastructure and widgetYuri Kunde Schlesner3-0/+221
2015-02-27GPU: Implemented bits 3 and 1 from the display transfer flags.Subv1-6/+16
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-11citra-qt: Add a vertex shader debugger.Tony Wasserka2-0/+349
2015-02-11Pica/DebugUtils: Factor out BreakPointObserverDock into its own file.Tony Wasserka4-50/+66
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2-2/+2
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-02-03citra-qt: Fix horrible scrolling responsiveness in disassembler by giving the uniformRowHeight hint.Tony Wasserka1-57/+60
2015-02-03citra-qt: Fix a crash when double-clicking a disassembler list item.Tony Wasserka2-12/+6
2015-01-30Silence a few warnings.Rohit Nirmal1-2/+2
2015-01-13Pica/Rasterizer: Add ETC1 texture decompression support.Tony Wasserka1-0/+2
2015-01-12Qt Callstack: Clear the callstack every time it's updatedarchshift2-0/+14
This fixes the issue that old members of the callstack would stick around, even when the callstack shortened.
2015-01-11citra-qt: Replace OnCpuStepped signal by new signals DebugModeEntered and DebugModeLeftKingcom6-6/+24
2015-01-10citra-qt: Add explicit casts to prevent some warnings.Subv1-2/+2
2015-01-10citra-qt: Fixed some Qt errors on initializationSubv2-4/+4
2015-01-09Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner1-0/+1
2015-01-07citra-qt: Add check for valid address to call stackKingcom1-0/+3
2015-01-06citra-qt: Renamed all .hxx headers to .hchrisvj17-13/+13
2015-01-04citra-qt: Added license headers to files.chrisvj8-0/+32
2015-01-01Silence some -Wsign-compare warnings.Rohit Nirmal3-12/+12
2015-01-01Make letter cases consistent in menus and widgetsDaniel Lundqvist4-6/+6
In various menu options letter cases were not consistent. This was also the case within various debugging widgets. This attempts to make letter cases consistent, but it is of course a matter of opinion which way is the correct one.
2015-01-01Set object name for the graphics debuggerDaniel Lundqvist1-1/+1
Setting an object name for GPUCommandStreamWidget allows for saving the graphics debugger's state (if it's show, position, etc). This state is then restored when restarting the application.
2014-12-31Pica: Cleanup color conversion.Tony Wasserka1-8/+5
2014-12-31citra-qt: Fix displaying RGBA5551 framebuffers.Tony Wasserka1-0/+4
(not that it matters at the moment, because this code is not used yet)
2014-12-31citra-qt: Always show pica framebuffers as RGBA8.Tony Wasserka1-1/+2
We actually don't really know yet how the format is encoded. Hence just use what works.
2014-12-28Qt: we don't need to check if model is valid.xdec1-1/+1
2014-12-28Fix crash when the disassembler pause button is pressed while no game is running.xdec1-1/+3
2014-12-21License changepurpasmart969-9/+9
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/+8
2014-12-20Pica: Unify ugly address translation hacks.Tony Wasserka2-8/+8
2014-12-20Pica: Merge texture lookup logic for DebugUtils and Rasterizer.Tony Wasserka1-1/+1
This effectively adds support for a lot texture formats in the rasterizer.
2014-12-20citra-qt: Fix invalid memory read upon program startup.Tony Wasserka1-1/+2
This was caused by the framebuffer display widget not checking whether we are actually in a valid emulation state or not.
2014-12-20Pica: Initial support for multitexturing.Tony Wasserka1-7/+32
2014-12-20citra-qt: static-constify a map.Tony Wasserka1-6/+7
2014-12-20Clean up some warningsChin2-8/+8
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-1/+1
2014-12-09More cleanups.Tony Wasserka2-6/+13
2014-12-09citra-qt: Rename "Stop Tracing" to "Finish Tracing".Tony Wasserka1-1/+1
This better reflects that no commands are supposed to show up until you hit the button a second time.
2014-12-09More coding style fixes.Tony Wasserka2-2/+2
2014-12-09Some code cleanup.Tony Wasserka5-64/+62
2014-12-09citra-qt: Add pica framebuffer widget.Tony Wasserka2-0/+374
2014-12-09citra_qt: Add enhanced texture debugging widgets.Tony Wasserka2-18/+179
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-1/+71
The texture viewer is enabled when selecting a write command to one of the texture config registers.
2014-12-09Add GUI widget for controlling pica breakpoints.Tony Wasserka2-0/+331
2014-12-09citra-qt: Polish the pica tracing widget.Tony Wasserka2-1/+26
Changed start/stop button to reflect current tracing status. Properly labeled column headers.
2014-11-19Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2-18/+18
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2-4/+4
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner1-1/+1
This was automated using `clang-modernize`.
2014-10-25ARM: Reorganized file structure to move shared SkyEye code to a more common area.bunnei1-1/+1
Removed s_ prefix
2014-09-06core: Make the ARM disassembler use std::string internallyLioncash2-6/+4
2014-08-25Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka2-124/+62
2014-08-12Pica: Add command processor.Tony Wasserka1-1/+1
2014-08-12Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka1-1/+1
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use.
2014-08-06GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.bunnei1-8/+8
- Various other cleanups.
2014-07-23citra-qt: Show function names in disassembler based on bunnei's suggestion.Tony Wasserka1-5/+21
2014-07-23Disassembler: Chose slightly lower value for chunk size.Tony Wasserka1-1/+3
2014-07-23GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.Tony Wasserka1-16/+18
Anonymous structs are not standard C++, hence don't use them.
2014-07-02citra-qt: Rewrite disassembly view.Tony Wasserka2-60/+186
2014-06-22citra_qt: Removed autogenerated files from repo and fixed build issues.bunnei3-3/+3
2014-06-12Further refine GPU command list debugging.Tony Wasserka1-4/+10
2014-06-12Refine command list debugging functionality and its qt interface.Tony Wasserka2-19/+107
2014-06-12citra-qt: Add command list view.Tony Wasserka2-0/+109
2014-06-12citra-qt: Add GX command history viewer.Tony Wasserka2-0/+126
2014-06-05qt: updated disassembler to show 2X as many instructionsbunnei1-1/+1
2014-04-19Remove unused QTableViewMathieu Vaillancourt2-29/+2
2014-04-19UI/debugger changesMathieu Vaillancourt11-0/+565