summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
2018-08-04Merge pull request #911 from lioncash/prototypebunnei
video_core: Remove unimplemented Start() function prototype
2018-08-04Merge pull request #913 from lioncash/unused-funcbunnei
memory: Remove unused GetSpecialHandlers() function
2018-08-04Merge pull request #914 from lioncash/codesetbunnei
kernel/process: Use accessors instead of class members for referencing segment array
2018-08-04Merge pull request #917 from lioncash/crashbunnei
kernel/thread: Fix potential crashes introduced in 26de4bb5
2018-08-03kernel/thread: Fix potential crashes introduced in ↵Lioncash
26de4bb521b1ace7af76eff4f6956cb23ac0d58c This amends cases where crashes can occur that were missed due to the odd way the previous code was set up (using 3DS memory regions that don't exist).
2018-08-03Merge pull request #910 from lioncash/unusedbunnei
gl_shader_decompiler: Remove unused variable in GenerateDeclarations()
2018-08-03kernel/process: Use std::array where applicableLioncash
2018-08-03kernel/process: Use accessors instead of class members for referencing ↵Lioncash
segment array Using member variables for referencing the segments array increases the size of the class in memory for little benefit. The same behavior can be achieved through the use of accessors that just return the relevant segment.
2018-08-03memory: Remove unused GetSpecialHandlers() functionLioncash
This is just unused code, so we may as well get rid of it.
2018-08-03Merge pull request #908 from lioncash/memorybunnei
core/memory: Get rid of 3DS leftovers
2018-08-03video_core: Remove unimplemented Start() function prototypeLioncash
Given this has no definition, we can just remove it entirely.
2018-08-03gl_shader_decompiler: Remove unused variable in GenerateDeclarations()Lioncash
This variable was being incremented, but we were never actually using it.
2018-08-03gl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const ↵Lioncash
member function This function doesn't modify class state, so it can be made const.
2018-08-03core/memory: Get rid of 3DS leftoversLioncash
Removes leftover code from citra that isn't needed.
2018-08-03Added ability to change username & language code in the settings ui. Added ↵David
IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
2018-08-03Merge pull request #895 from lioncash/sinkbunnei
sink_details: std::move std::function instances
2018-08-03Merge pull request #898 from lioncash/migbunnei
service: Add migration services
2018-08-03Merge pull request #900 from lioncash/initbunnei
math_util: Always initialize members of Rectangle
2018-08-03Merge pull request #892 from lioncash/globalbunnei
video_core: Make global EmuWindow instance part of the base renderer …
2018-08-03Merge pull request #894 from lioncash/objectbunnei
kernel: Move object class to its own source files
2018-08-03Merge pull request #904 from lioncash/staticbunnei
kernel/thread: Minor changes
2018-08-03Merge pull request #906 from lioncash/overridebunnei
input_common: minor changes
2018-08-03Merge pull request #907 from lioncash/slotbunnei
yuzu: Use Qt 5 signal/slots where applicable
2018-08-02Merge pull request #905 from lioncash/vmabunnei
kernel/vm_manager: Minor changes
2018-08-02Merge pull request #903 from lioncash/copybunnei
vfs_vector: Minor changes
2018-08-02Merge pull request #901 from lioncash/refbunnei
gl_shader_manager: Take ShaderSetup instances by const reference in UseProgrammableVertexShader() and UseProgrammableFragmentShader()
2018-08-02yuzu: Use Qt 5 signal/slots where applicableLioncash
Makes the signal/slot connections type-safe instead of string-based.
2018-08-02input_common: Use std::move where applicableLioncash
Avoids unnecessary atomic reference count increments and decrements
2018-08-02input_common: Add missing override specifiersLioncash
2018-08-02Merge pull request #899 from lioncash/unusedbunnei
hw: Remove unused files
2018-08-02Merge pull request #902 from lioncash/arraybunnei
gl_state: Make texture_units a std::array
2018-08-02Merge pull request #891 from lioncash/nsbunnei
service/ns: Add missing ns services
2018-08-02Implement RGB32F PixelFormat (#886) (used by Go Vacation)greggameplayer
2018-08-02Merge pull request #893 from lioncash/pscbunnei
service: Add the psc services
2018-08-02kernel/vm_manager: Convert loop into std::any_of()Lioncash
2018-08-02kernel/vm_manager: Use const where applicableLioncash
Makes our immutable state explicit.
2018-08-02kernel/vm_manager: Use the VAddr type alias in CarveVMA()Lioncash
These two variables correspond to address ranges.
2018-08-02kernel/thread: Make GetFreeThreadLocalSlot()'s loop indices size_tLioncash
Avoids using a u32 to compare against a range of size_t, which can be a source of warnings. While we're at it, compress a std::tie into a structured binding.
2018-08-02kernel/thread: Make GetFreeThreadLocalSlot() reference parameter a const ↵Lioncash
reference This function only reads the data being referenced, it doesn't modify it, so we can turn the reference into a const reference.
2018-08-02kernel/thread: Make GetFreeThreadLocalSlot() internally linkedLioncash
This function isn't used outside of this translation unit, so we can make it internally linked.
2018-08-02vfs_vector: Remove unused variable in FindAndRemoveVectorElement()Lioncash
This wasn't being used for anything, so it can be removed.
2018-08-02vfs_vector: Avoid unnecessary copies where applicableLioncash
The lambda elements should be taken by const reference here, and we can move the virtual directory passed to ReplaceFileWithSubdirectory()
2018-08-02gl_state: Make texture_units a std::arrayLioncash
Gets rid of the use of a raw C array.
2018-08-02gl_shader_manager: Take ShaderSetup instances by const reference in ↵Lioncash
UseProgrammableVertexShader() and UseProgrammableFragmentShader() Avoids performing unnecessary copies of 65560 byte sized ShaderSetup instances, considering it's only used as part of lookup and not modified. Given the parameters were already const, it's likely taking these parameters by reference was intended but the ampersand was forgotten.
2018-08-02math_util: Always initialize members of RectangleLioncash
Prevents potentially using the members uninitialized.
2018-08-02hw: Remove unused filesLioncash
None of these files are used in any meaningful way. They're just leftovers from citra. Also has the benefit of getting rid of an unused global variable.
2018-08-02service: Add migration servicesLioncash
Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew.
2018-08-02audio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototypeLioncash
This makes the Buffer::Tag usage consistent with the Stream class's prototype of GetTagsAndReleaseBuffers().
2018-08-01sink_details: Deduplicate long std::function repetitionLioncash
We can just use type aliases to avoid needing to write the same long type twice