Yuri Kunde Schlesner
4af2a1a3d7
citra-qt: Remove callstack widget
Appears to be currently broken, and given the complexity of doing this
for ARM code without debugging information, should probably be left to
an external tool or library. Use the GDB stub instead.
Closes #586
9 years ago
Yuri Kunde Schlesner
47e806b084
citra-qt: Remove disassembler widget
It has performance problems, a very misleading UI, and is broken in
general. It has essentially been superceded by the GDB stub, but if we
wanted a built-in disassembler in the future it'd essentially need to be
rewritten from scratch anyway.
Closes #427 , #1480
9 years ago
Yuri Kunde Schlesner
3b4e400333
Remove built-in (non-Microprofile) profiler
9 years ago
Yuri Kunde Schlesner
4cb1f36896
Qt: Re-organize setup of debugging widgets
9 years ago
Yuri Kunde Schlesner
60fc0b086f
VideoCore: Split regs.h inclusions
9 years ago
Yuri Kunde Schlesner
f241bb72f5
Pica/Regs: Use binary search to look up reg names
This gets rid of the static unordered_map. Also changes the return type
const char*, avoiding unnecessary allocations (the result was only used
by calling .c_str() on it.)
9 years ago
Yuri Kunde Schlesner
5759d94b5c
VideoCore: Move Regs to its own file
9 years ago
Yuri Kunde Schlesner
23713d5dee
VideoCore: Split framebuffer regs from Regs struct
9 years ago
Yuri Kunde Schlesner
9017093f58
VideoCore: Split texturing regs from Regs struct
9 years ago
Yuri Kunde Schlesner
000e78144c
VideoCore: Split rasterizer regs from Regs struct
9 years ago
Yuri Kunde Schlesner
09a750e866
Pica/Texture: Simplify/cleanup texture tile addressing
9 years ago
Yuri Kunde Schlesner
a1c9ac7845
VideoCore: Move LookupTexture out of debug_utils.h
9 years ago
Yuri Kunde Schlesner
335df895b9
VideoCore: Consistently use shader configuration to load attributes
9 years ago
Yuri Kunde Schlesner
ab6954e942
VideoCore: Rename some types to more accurate names
9 years ago
Yuri Kunde Schlesner
0e9081b973
VideoCore/Shader: Move entry_point to SetupBatch
9 years ago
Yuri Kunde Schlesner
0f64274145
VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup
9 years ago
Yuri Kunde Schlesner
ade7ed7c5f
VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngine
9 years ago
Yuri Kunde Schlesner
a9b7752b9d
Debugger: Always use interpreter for shader debugging
9 years ago
Yuri Kunde Schlesner
dd4a1672a7
VideoCore/Shader: Split shader uniform state and shader engine
Currently there's only a single dummy implementation, which will be
split in a following commit.
9 years ago
Yuri Kunde Schlesner
1e1f939817
VideoCore/Shader: Use only entry_point as ShaderSetup param
This removes all implicit dependency of ShaderState on global PICA
state.
9 years ago
Yuri Kunde Schlesner
e3caf669b0
VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup
9 years ago
Kloen
380c165339
citra-qt: Removed unused and unimplemented ramview files.
9 years ago
Subv
cef5f45de2
Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.
This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses:
THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false.
THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.
9 years ago
Jonathan Hao
c18cb1b192
Fix some warnings ( #2399 )
9 years ago
bunnei
e26fbfd1d7
core: Replace "AppCore" nomenclature with just "CPU".
9 years ago
bunnei
232ef55c1a
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
Lioncash
8309d0dade
citra-qt: Move graphics debugging code into its own folder
Keeps all graphics debugging stuff from cluttering up the root debugger
folder
9 years ago
Lioncash
f2c307557a
disassembler: Remove mutable specifier from breakpoints member variable
Breakpoints has been const correct with regards to what the
DisassmblerModel needs for quite a while now.
9 years ago
Subv
5b1edc6ae7
Fixed the codestyle to match our clang-format rules.
9 years ago
Lioncash
d0e4d1182b
citra-qt: Make constructors explicit where applicable
9 years ago
Lioncash
327b23e4ce
citra-qt: Add missing #pragma once directives
9 years ago
Lioncash
4e7092881f
graphics_cmdlists: Get rid of variable shadowing
9 years ago
Lioncash
1e5644935d
graphics_cmdlists: Get rid of an unused variable
9 years ago
Lioncash
f1ee7e4e0e
graphics_cmdlists: Make LoadTexture and TextureInfoWidget src arguments const
9 years ago
Lioncash
dcb8113347
graphics_cmdlists: Make LoadImage internally linked
Puts the TextureInfoWidget definition in the anonymous namespace as well,
as it's only used in the translation unit as well.
9 years ago
Lioncash
963aedd8cc
Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
9 years ago
Subv
17b29d8865
WaitSynch: Removed unused variables and reduced SharedPtr copies.
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.
9 years ago
Subv
bdad00c73f
Threading: Added some utility functions and const correctness.
9 years ago
Subv
8634b8cb83
Threading: Reworked the way our scheduler works.
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.
9 years ago
Subv
2eceee3a4c
Fixed the rebase mistakes.
9 years ago
Ricardo de Almeida Gonzaga
13d46f6820
Fix typos
9 years ago
wwylele
f69a543110
implement wait tree widget
10 years ago
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
10 years ago
Emmanuel Gil Peyrot
ebdae19fd2
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.
10 years ago
Yuri Kunde Schlesner
396a8d91a4
Manually tweak source formatting and then re-run clang-format
10 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
10 years ago
Yuri Kunde Schlesner
c52754e79a
Qt: Fix MicroProfile dpi scaling
10 years ago
MerryMage
b3b3dd7591
Debugger/Callstack: Replace Memory::GetPointer with Memory::IsValidVirtualAddress
10 years ago
MerryMage
9b4187974b
Microprofile: DPI-aware drawing
10 years ago
Jannik Vogel
6c6d99ca51
Move default_attributes into Pica state
10 years ago