Lioncash
eb88e9d088
general: Use deducation guides for std::lock_guard and std::unique_lock
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.
7 years ago
Lioncash
e5eb0a7737
debug_utils: Remove unused includes
Quite a bit of these aren't necessary directly within the debug_utils
header and can be removed or included where actually necessary.
7 years ago
Lioncash
3c5f75d2f4
debug_utils: Make BreakpointObserver class' constructor explicit
Avoids implicit conversions.
7 years ago
Lioncash
3de47b6991
debug_utils: Initialize active_breakpoint member of DebugContext
Ensures that all class members are initialized.
7 years ago
mailwl
52b73904e8
Fix crash at exit
8 years ago
Subv
18a9536efa
GPU: Make the debug_context variable a member of the frontend instead of a global.
8 years ago
Subv
19bf501723
Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.
8 years ago
James Rowe
a5b9cd4d18
Remove references to PICA and rasterizers in video_core
8 years ago
Mat M
dc1927a9d1
Doxygen: Amend minor issues ( #2593 )
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.
9 years ago
Yuri Kunde Schlesner
ddf23d4a2e
VideoCore: Split regs.h inclusions
9 years ago
Yuri Kunde Schlesner
a0b1957425
VideoCore: Move Regs to its own file
9 years ago
Yuri Kunde Schlesner
08df8f7d7a
VideoCore: Split shader regs from Regs struct
9 years ago
Yuri Kunde Schlesner
1242f42a09
VideoCore: Split texturing regs from Regs struct
9 years ago
Yuri Kunde Schlesner
d3928b7f9a
VideoCore: Split rasterizer regs from Regs struct
9 years ago
Yuri Kunde Schlesner
d1270b647c
VideoCore: Move LookupTexture out of debug_utils.h
9 years ago
Yuri Kunde Schlesner
eb75205231
VideoCore: Inline IsPicaTracing
Speeds up ALBW main menu slightly (~3%)
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
scurest
de4705914d
Remove superfluous std::move in return std::move(local_var)
10 years ago
Jannik Vogel
4511a8505d
Refactor Tev stage dumper
10 years ago
Jannik Vogel
79369e240a
Extend Tev stage dumper
10 years ago
Alexander Laties
17e9bc5392
fixup simple type conversions where possible
10 years ago
Jannik Vogel
db061e0568
Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation
10 years ago
Emmanuel Gil Peyrot
c39a267974
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
Henrik Rydgard
9f1cffa3e9
Move and rename the MemoryAccesses class to MemoryAccessTracker.
10 years ago
Henrik Rydgard
76a55f83c7
Replace std::map with std::array for graphics event breakpoints, and allow the compiler to inline. Saves 1%+ in vertex heavy situations.
10 years ago
tfarley
459035a108
HWRasterizer: Texture forwarding
10 years ago
Lioncash
c8c5cde430
debug_utils: use std::make_unique for initializing PicaTrace
10 years ago
Lioncash
dc210b6498
file_util: Don't expose IOFile internals through the API
10 years ago
Jannik Vogel
4e717ff177
Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY)
10 years ago
Lioncash
7b2af63608
video_core: Don't cast away const
10 years ago
Lioncash
c9f47a9b3c
renderer_base: Don't directly expose the rasterizer unique_ptr
There's no reason to allow direct access to the unique_ptr instance. Only
its contained pointer.
10 years ago
Dwayne Slater
141fe87a0f
Add immediate mode vertex submission
10 years ago
MerryMage
867c111e99
BitField: Make trivially copyable and remove assignment operator
10 years ago
Yuri Kunde Schlesner
102d39fe20
VideoCore: Unify interface to OpenGL and SW rasterizers
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.
10 years ago
Yuri Kunde Schlesner
192829165a
VideoCore: Rename HWRasterizer methods to be less confusing
10 years ago
Emmanuel Gil Peyrot
b0c7762520
CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
The LOG_* function itself already appends one.
10 years ago
Lioncash
08147474cb
general: Silence some warnings when using clang
10 years ago
Lioncash
2cd98a45cb
video_core: Reorganize headers
10 years ago
Lioncash
1d7a9c8752
video_core: Remove unused variables
10 years ago
Subv
ebb0e78d80
HWRenderer: Only reload the framebuffer from gpu memory if the hw renderer is in use during a breakpoint.
11 years ago
LittleWhite
a98d1fc3fa
Fix Linux GCC 4.9 build (complaining about undeclared memset)
11 years ago
Tony Wasserka
1c1a9ab09b
Introduce a shader tracer to allow inspection of input/output values for each processed instruction.
11 years ago
Tony Wasserka
9a1820ea61
Pica/DebugUtils: Include uniform information into shader dumps.
11 years ago
Tony Wasserka
41dda548cd
citra-qt: Improve shader debugger.
Now supports dumping the current shader and recognizes a larger number of output semantics.
11 years ago
Patrick Martin
78b1877f9e
videocore: Added RG8 texture support
11 years ago
Emmanuel Gil Peyrot
fe83e1f777
ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types.
11 years ago
Lectem
facb2555a9
citra-qt/debug_utils: Use lock_guard everywhere
unique_lock were being used as lock_guards.
Also replaced manual lock/unlock by lock_guard for harmonization.
11 years ago
Lectem
e663751f8b
citra-qt/command list: Add mask column
11 years ago