summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-09-05gl_rasterizer: Implement a VAO cache.Markus Wick
This patch caches VAO objects instead of re-emiting all pointers per draw call. Configuring this pointers is known as a fast task, but it yields too many GL calls. So for better performance, just bind the VAO instead of 16 pointers.
2018-09-05renderer_opengl: Implement a buffer cache.Markus Wick
The idea of this cache is to avoid redundant uploads. So we are going to cache the uploaded buffers within the stream_buffer and just reuse the old pointers. The next step is to implement a VBO cache on GPU memory, but for now, I want to check the overhead of the cache management. Fetching the buffer over PCI-E should be quite fast.
2018-09-04Merge pull request #1240 from degasus/optimizationsbunnei
gl_shader_cache: Use an u32 for the binding point cache.
2018-09-04gl_shader_cache: Use an u32 for the binding point cache.Markus Wick
The std::string generation with its malloc and free requirement was a noticeable overhead. Also switch to an ordered_map to avoid the std::hash call. As those maps usually have a size of two elements, the lookup time shall not matter.
2018-09-04main: Only show DRD deprecation warning onceZach Hilman
2018-09-04control_metadata: Use alternate language names if AmericanEnglish isn't ↵Zach Hilman
available
2018-09-04card_image: Add program title ID getterZach Hilman
2018-09-04qt: Add deprecation warnings for DRD formatZach Hilman
2018-09-04registration: Fix NSP installation errorsZach Hilman
2018-09-04nsp: Comply with style and performance guidelinesZach Hilman
2018-09-04qt: Add UI support for NSP filesZach Hilman
2018-09-04registration: Add support for installing NSP filesZach Hilman
2018-09-04loader: Add AppLoader for NSP filesZach Hilman
2018-09-04card_image: Parse XCI secure partition with NSPZach Hilman
Eliminated duplicate code and adds support for Rev1+ carts
2018-09-04file_sys: Add Nintendo Submission Package (NSP)Zach Hilman
2018-09-04drd: Load title ID from program metadataZach Hilman
Previously only loaded from control metadata
2018-09-04loader: Add NSP file type and NSP-specific errorsZach Hilman
2018-09-04key_manager: Avoid autogeneration if key existsZach Hilman
2018-09-04Merge pull request #1238 from lioncash/explicitbunnei
common/logging: Minor changes
2018-09-04Merge pull request #1237 from degasus/optimizationsbunnei
Optimizations
2018-09-04Merge pull request #1223 from DarkLordZach/custom-nand-sd-dirsbunnei
file_sys: Allow for custom NAND/SD directories
2018-09-04Merge pull request #1232 from lioncash/copybunnei
gl_shader_decompiler: Use used_shaders member variable directly within GenerateDeclarations()
2018-09-04Merge pull request #1235 from lioncash/forward-declbunnei
file_sys: Replace includes with forward declarations where applicable
2018-09-04Merge pull request #1236 from degasus/microprofilebunnei
Update microprofile scopes.
2018-09-04Merge pull request #1230 from lioncash/sslbunnei
ssl: Move SSL class to cpp file
2018-09-04common/logging: Amend documentation commentsLioncash
Multi-line doc comments still need the '<' after the ///, otherwise it's treated as a regular comment and makes the original doc comment broken in viewers, IDEs, etc. While we're at it, also fix some typos in the comments.
2018-09-04common/logging/filter: Replace C-style case with C++ static_castLioncash
2018-09-04common/logging/filter: Make constructor explicitLioncash
Implicit conversions aren't desirable here.
2018-09-04core: Use a raw pointer in GetGPUDebugContext.Markus Wick
This helper is called very often. The memory ownership shall not be transfered, so just return the raw pointer.
2018-09-04command_processor: Use std::array for bound_engines.Markus Wick
subchannel is a 3 bit field. So there must not be more than 8 bound engines. And using a hashmap for up to 8 values is a bit overpowered.
2018-09-04Update microprofile scopes.Markus Wick
Blame the subsystems which deserve the blame :) The updated list is not complete, just the ones I've spotted on random sampling the stack trace.
2018-09-03file_sys: Replace includes with forward declarations where applicableLioncash
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-09-03Merge pull request #1231 from lioncash/globalbunnei
service: Migrate global named port map to the KernelCore class
2018-09-03qt: Add message about not moving contents on dir changeZach Hilman
2018-09-03qt: Add UI options to change NAND/SD dirsZach Hilman
2018-09-03settings: Save and load NAND/SD dirs from configZach Hilman
2018-09-02gl_shader_decompiler: Use used_shaders member variable directly within ↵Lioncash
GenerateDeclarations() Using the getter function intended for external code here makes an unnecessary copy of the already-accessible used_shaders vector.
2018-09-02vfs_real: Forward declare IOFileLioncash
Eliminates the need to rebuild some source files if the file_util header ever changes. This also uncovered some indirect inclusions, which have also been fixed.
2018-09-02service: Migrate global named port map to the KernelCore classLioncash
Now that we have a class representing the kernel in some capacity, we now have a place to put the named port map, so we move it over and get rid of another piece of global state within the core.
2018-09-02ssl: Move SSL class to cpp fileLioncash
This isn't required to be visible to anything outside of the main source file, and will eliminate needing to rebuild anything else including the header if the SSL class needs to be changed in the future.
2018-09-02Merge pull request #1213 from DarkLordZach/octopath-fsbunnei
filesystem/maxwell_3d: Various changes to boot Project Octopath Traveller
2018-09-02Merge pull request #1215 from ogniK5377/texs-nodep-assertbunnei
Added assert for TEXS nodep
2018-09-02Merge pull request #1220 from FearlessTobi/extensions-qolbunnei
yuzu: Display the unsupported GL extensions in the popup
2018-09-02Merge pull request #1214 from ogniK5377/ipa-assertbunnei
Added better asserts to IPA, Renamed IPA modes to match mesa
2018-09-02Merge pull request #1216 from ogniK5377/ffma-assertbunnei
Added FFMA asserts and missing fields
2018-09-02Merge pull request #1218 from ogniK5377/fmul-assertbunnei
Added FMUL asserts
2018-09-02filesystem: Move dir retrieval after path checking in DeleteFile()Lioncash
We don't need to do the lookup if the path is considered empty currently.
2018-09-01citra_qt: Display the unsupported GL extensions in the popupfearlessTobi
2018-09-01Removed saturate assertDavid Marcec
Unneeded as we already implement it
2018-09-01Removed saturate assertDavid Marcec
Saturate already implemented