aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-04-17applets: Port current applets to take frontend in constructorZach Hilman
As opposed to using Core::System::GetInstance()
2019-04-17web_browser: Make OpenPage constZach Hilman
2019-04-17core: Remove specific applets in favor of AppletManagerZach Hilman
2019-04-17am: Delegate applet creation to AppletManagerZach Hilman
2019-04-17applets: Add AppletManager class to control lifetimeZach Hilman
2019-04-17kernel/thread: Unify wait synchronization typesLioncash
This is a holdover from Citra, where the 3DS has both WaitSynchronization1 and WaitSynchronizationN. The switch only has one form of wait synchronizing (literally WaitSynchonization). This allows us to throw out code that doesn't apply at all to the Switch kernel. Because of this unnecessary dichotomy within the wait synchronization utilities, we were also neglecting to properly handle waiting on multiple objects. While we're at it, we can also scrub out any lingering references to WaitSynchronization1/WaitSynchronizationN in comments, and change them to WaitSynchronization (or remove them if the mention no longer applies).
2019-04-17kernel/svc: Migrate svcCancelSynchronization behavior to a thread functionLioncash
The actual behavior of this function is slightly more complex than what we're currently doing within the supervisor call. To avoid dumping most of this behavior in the supervisor call itself, we can migrate this to another function.
2019-04-17kernel/wait_object: Make GetHighestPriorityReadyThread() a const member functionLioncash
This doesn't actually modify internal state of a wait object, so it can be const qualified.
2019-04-17yuzu/bootmanager: Replace unnnecessary constructor initializer list member ↵Lioncash
of GGLContext The default constructor will always run, even when not specified, so this is redundant. However, the context member can indeed be initialized in the constructor initializer list.
2019-04-16yuzu/bootmanager: Remove unnecessary includesLioncash
This include isn't used anymore so it can be removed.
2019-04-16yuzu/bootmanager: Resolve constructor initializer list warningsLioncash
Resolves -Wreorder warnings. These will automatically be initialized to nullptr anyways, so these were redundant.
2019-04-16Merge pull request #2315 from ReinUsesLisp/severity-decompilerbunnei
shader_ir/decode: Reduce the severity of common assertions
2019-04-16Merge pull request #2384 from ReinUsesLisp/gl-state-clearbunnei
gl_rasterizer: Apply just the needed state on Clear
2019-04-16Merge pull request #2405 from lioncash/qtbunnei
CMakeLists: Define QT_USE_QSTRINGBUILDER for the Qt target
2019-04-16Merge pull request #2092 from ReinUsesLisp/stgbunnei
shader/memory: Implement STG and global memory flushing
2019-04-16Merge pull request #2376 from lioncash/constbunnei
yuzu/configure_hotkey: Minor changes
2019-04-16Merge pull request #2401 from lioncash/guardbunnei
common/{lz4_compression, zstd_compression}: Add missing header guards
2019-04-16CMakeLists: Ensure we specify Unicode as the codepage on WindowsLioncash
Previously we were building with MBCS, which is pretty undesirable. We want the application to be Unicode-aware in general. Currently, we make the command line variant of yuzu use ANSI variants of the non-standard getopt functions that we link in for Windows, given we only have an ANSI option-set. We should really replace getopt with a library that we make all build types of yuzu link in, but this will have to do for the time being.
2019-04-16kernel/vm_manager: Remove usages of global system accessorsLioncash
Makes the dependency on the system instance explicit within VMManager's interface.
2019-04-16Implement IsBlockContinousFernando Sahmkow
This detects when a GPU Memory Block is not continous within host cpu memory.
2019-04-16Apply Const correctness to SwizzleKepler and replace u32 for size_t on ↵Fernando Sahmkow
iterators.
2019-04-16Use ReadBlockUnsafe for fetyching DMA CommandListsFernando Sahmkow
2019-04-16Document unsafe versions and add BlockCopyUnsafeFernando Sahmkow
2019-04-15Use ReadBlockUnsafe for Shader CacheFernando Sahmkow
2019-04-15Use ReadBlockUnsafe on TIC and TSC readingFernando Sahmkow
Use ReadBlockUnsafe on TIC and TSC reading as memory is never flushed from host GPU there.
2019-04-15GPU MemoryManager: Implement ReadBlockUnsafe and WriteBlockUnsafeFernando Sahmkow
2019-04-15Use WriteBlock and ReadBlock.Fernando Sahmkow
2019-04-15Merge pull request #2382 from lioncash/tablebunnei
service: Update service function tables
2019-04-15Merge pull request #2393 from lioncash/svcbunnei
kernel/svc: Implement svcMapProcessCodeMemory/svcUnmapProcessCodeMemory
2019-04-15Merge pull request #2398 from lioncash/boostbunnei
kernel/thread: Remove BoostPriority()
2019-04-15Implement Block Linear copies in Kepler Memory.Fernando Sahmkow
2019-04-15vk_shader_decompiler: Add missing operationsReinUsesLisp
2019-04-15shader_ir/decode: Fix half float pre-operations and remove MetaHalfArithmeticReinUsesLisp
Operations done before the main half float operation (like HAdd) were managing a packed value instead of the unpacked one. Adding an unpacked operation allows us to drop the per-operand MetaHalfArithmetic entry, simplifying the code overall.
2019-04-15gl_shader_decompiler: Fix MrgH0 decompilationReinUsesLisp
GLSL decompilation for HMergeH0 was wrong. This addresses that issue.
2019-04-15shader_ir/decode: Implement half float saturationReinUsesLisp
2019-04-15shader_ir/decode: Reduce severity of unimplemented half-float FTZReinUsesLisp
2019-04-15renderer_opengl: Implement half float NaN comparisonsReinUsesLisp
2019-04-15shader_ir: Avoid using static on heap-allocated objectsReinUsesLisp
Using static here might be faster at runtime, but it adds a heap allocation called before main.
2019-04-15Do some corrections in conversion shader instructions.Fernando Sahmkow
Corrects encodings for I2F, F2F, I2I and F2I Implements Immediate variants of all four conversion types. Add assertions to unimplemented stuffs.
2019-04-15CMakeLists: Define QT_USE_QSTRINGBUILDER for the Qt targetLioncash
This is a compile definition introduced in Qt 4.8 for reducing the total potential number of strings created when performing string concatenation. This allows for less memory churn. This can be read about here: https://blog.qt.io/blog/2011/06/13/string-concatenation-with-qstringbuilder/ For a change that isn't source-compatible, we only had one occurrence that actually need to have its type clarified, which is pretty good, as far as transitioning goes.
2019-04-15svc: Specify handle value in thread's nameLioncash
Allows the handle to be seen alongside the entry point.
2019-04-15Correct Kepler Memory on Linear Pushes.Fernando Sahmkow
2019-04-15Support compressed formats on linear textures.Fernando Sahmkow
2019-04-15common/{lz4_compression, zstd_compression}: Add missing header guardsLioncash
These two files were missing the #pragma once directive.
2019-04-15Correct Pitch in Fermi2DFernando Sahmkow
2019-04-15kernel/thread: Remove BoostPriority()Lioncash
This is a holdover from Citra that currently remains unused, so it can be removed from the Thread interface.
2019-04-14kernel/thread: Remove unused guest_handle member variableLioncash
This member variable is entirely unused. It was only set but never actually utilized. Given that, we can remove it to get rid of noise in the thread interface.
2019-04-14gl_shader_decompiler: Use variable AOFFI on supported hardwareReinUsesLisp
2019-04-14shader_ir: Implement STG, keep track of global memory usage and flushReinUsesLisp
2019-04-13Merge pull request #2378 from lioncash/robunnei
ldr: Minor amendments to IPC-related parameters