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.
10 years ago
Jonathan Hao
1df720ed08
Fix some warnings ( #2399 )
10 years ago
bunnei
8cfd0762fd
core: Replace "AppCore" nomenclature with just "CPU".
10 years ago
bunnei
d504f6cf08
core: Consolidate core and system state, remove system module & cleanups.
10 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
10 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.
10 years ago
Subv
00decc1180
Fixed the codestyle to match our clang-format rules.
10 years ago
Lioncash
b24112862e
citra-qt: Make constructors explicit where applicable
10 years ago
Lioncash
94f0a00f0e
citra-qt: Add missing #pragma once directives
10 years ago
Lioncash
e221b00122
graphics_cmdlists: Get rid of variable shadowing
10 years ago
Lioncash
a1f25eb04a
graphics_cmdlists: Get rid of an unused variable
10 years ago
Lioncash
520b6a7ae4
graphics_cmdlists: Make LoadTexture and TextureInfoWidget src arguments const
10 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.
10 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.
10 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.
10 years ago
Subv
44c59feca6
Threading: Added some utility functions and const correctness.
10 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.
10 years ago
Subv
4c4f50dfaf
Fixed the rebase mistakes.
10 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
Jannik Vogel
acfb5257dd
Turn ShaderSetup into struct
10 years ago
Alexander Laties
17e9bc5392
fixup simple type conversions where possible
10 years ago
Jannik Vogel
3261520e19
citra_qt: Replace 'Pica Framebuffer Debugger' with 'Pica Surface Viewer'
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
Yuri Kunde Schlesner
2396b01d5d
Common: Remove section measurement from profiler ( #1731 )
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.
10 years ago
Henrik Rydgård
eaf9abfe8e
Make Citra build with MICROPROFILE_ENABLED set to 0 ( #1709 )
* 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
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
Sam Spilsbury
3cae13c76b
debugger: Warn if we reach an unreachable format
10 years ago
Jannik Vogel
9e29ed3f66
PICA: Fix MAD/MADI encoding
11 years ago
Jannik Vogel
49010f5379
Fix attribute mapping in vs debugger
11 years ago
Dwayne Slater
141fe87a0f
Add immediate mode vertex submission
11 years ago
Lioncash
a64af28cf2
core: Use unique_ptr for holding the interpreter instances
11 years ago
Rohit Nirmal
c157d4ddd6
Silence -Wsign-compare warnings.
11 years ago
Yuri Kunde Schlesner
222d77c31a
GSP: Implement command 0x05, used for flushing caches
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.)
11 years ago
Lioncash
1ab765ff61
general: Replace 0 literals with nullptr where applicable
11 years ago
Lioncash
c9aecc0404
graphics_breakpoints_p: Add missing override specifier
11 years ago
Lioncash
5c77b656b8
General: Replace NULL and '0' usages with nullptr where applicable
11 years ago
Lioncash
0638df7136
citra_qt: Reorganize headers
11 years ago
Yuri Kunde Schlesner
65b26655ac
Shader Debugger: Allow editing of input vertex data
11 years ago
Yuri Kunde Schlesner
1b79a72723
Shader Debugger: Highlight current instruction instead of focusing
This avoid some annoying focus stealing in some situations, and looks
nicer in general.
11 years ago
Yuri Kunde Schlesner
5dd7b48297
Shader Debugger: Remove useless signal
11 years ago