Yuri Kunde Schlesner
fc0204b2c0
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
1465b0b919
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
e7c2eba35d
Remove built-in (non-Microprofile) profiler
9 years ago
Yuri Kunde Schlesner
e00a6d67f5
Qt: Re-organize setup of debugging widgets
9 years ago
Yuri Kunde Schlesner
ddf23d4a2e
VideoCore: Split regs.h inclusions
9 years ago
Yuri Kunde Schlesner
1b3b6d9d9a
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
a0b1957425
VideoCore: Move Regs to its own file
9 years ago
Yuri Kunde Schlesner
6f9218c8ec
VideoCore: Split framebuffer 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
114222b11e
Pica/Texture: Simplify/cleanup texture tile addressing
9 years ago
Yuri Kunde Schlesner
d1270b647c
VideoCore: Move LookupTexture out of debug_utils.h
9 years ago
Yuri Kunde Schlesner
067b9b54bd
VideoCore: Consistently use shader configuration to load attributes
9 years ago
Yuri Kunde Schlesner
a4a4b6408c
VideoCore: Rename some types to more accurate names
9 years ago
Yuri Kunde Schlesner
ab0b74b0f3
VideoCore/Shader: Move entry_point to SetupBatch
9 years ago
Yuri Kunde Schlesner
1994f1a6f2
VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup
9 years ago
Yuri Kunde Schlesner
46fc50931f
VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngine
9 years ago
Yuri Kunde Schlesner
2c14dbdb64
Debugger: Always use interpreter for shader debugging
9 years ago
Yuri Kunde Schlesner
73e7bc2592
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
03d2b6aa89
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
d6533112fe
VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup
9 years ago
Kloen
e0e1b347a4
citra-qt: Removed unused and unimplemented ramview files.
9 years ago
Subv
bcad1d6f12
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
1df720ed08
Fix some warnings ( #2399 )
9 years ago
bunnei
8cfd0762fd
core: Replace "AppCore" nomenclature with just "CPU".
9 years ago
bunnei
d504f6cf08
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
Lioncash
0ecbd152b1
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
20112a1c26
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
00decc1180
Fixed the codestyle to match our clang-format rules.
9 years ago
Lioncash
b24112862e
citra-qt: Make constructors explicit where applicable
9 years ago
Lioncash
94f0a00f0e
citra-qt: Add missing #pragma once directives
9 years ago
Lioncash
e221b00122
graphics_cmdlists: Get rid of variable shadowing
9 years ago
Lioncash
a1f25eb04a
graphics_cmdlists: Get rid of an unused variable
9 years ago
Lioncash
520b6a7ae4
graphics_cmdlists: Make LoadTexture and TextureInfoWidget src arguments const
9 years ago
Lioncash
95adb797c5
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
b0ebdfae34
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
d4815e828d
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
44c59feca6
Threading: Added some utility functions and const correctness.
9 years ago
Subv
5bc10a74f6
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
4c4f50dfaf
Fixed the rebase mistakes.
9 years ago
Ricardo de Almeida Gonzaga
07fdcf150d
Fix typos
10 years ago
wwylele
8b25c12ce8
implement wait tree widget
10 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
10 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.
10 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
10 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
10 years ago
Yuri Kunde Schlesner
6a35762dec
Qt: Fix MicroProfile dpi scaling
10 years ago
MerryMage
cbb1b25fe0
Debugger/Callstack: Replace Memory::GetPointer with Memory::IsValidVirtualAddress
10 years ago
MerryMage
49dea00b11
Microprofile: DPI-aware drawing
10 years ago
Jannik Vogel
101eb11369
Move default_attributes into Pica state
10 years ago