summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1137 from lioncash/namespaceGravatar bunnei2018-08-2221-23/+70
|\ | | | | renderer_opengl: Namespace OpenGL code
| * renderer_opengl: Namespace OpenGL codeGravatar Lioncash2018-08-2221-23/+70
| | | | | | | | | | | | | | Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future.
* | config: Fixed icon size get set to 0Gravatar tech4me2018-08-211-1/+1
|/
* Merge pull request #1136 from tech4me/masterGravatar bunnei2018-08-226-11/+45
|\ | | | | qt/main: Port part of citra(#3411), open savedata works
| * qt/main: Port part of citra(#3411), open savedata worksGravatar tech4me2018-08-216-11/+45
| |
* | Merge pull request #840 from FearlessTobi/port-3353Gravatar bunnei2018-08-2210-25/+94
|\ \ | | | | | | Port #3353 from Citra: "citra-qt: Add customizable speed limit target "
| * | Port #3353 from CitraGravatar fearlessTobi2018-08-2110-25/+94
| | |
* | | Merge pull request #1154 from OatmealDome/topology-linesGravatar bunnei2018-08-221-0/+2
|\ \ \ | | | | | | | | maxwell_to_gl: Implement PrimitiveTopology::Lines
| * | | maxwell_to_gl: Implement PrimitiveTopology::LinesGravatar OatmealDome2018-08-221-0/+2
| | | | | | | | | | | | Used by Splatoon 2's debug menu.
* | | | Merge pull request #1141 from FearlessTobi/port-3902Gravatar bunnei2018-08-222-0/+18
|\ \ \ \ | | | | | | | | | | Port #3902 from Citra: "Add restart hotkey & menu option"
| * | | | Port #3902 from Citra: "Add restart hotkey & menu option"Gravatar fearlessTobi2018-08-212-0/+18
| | |_|/ | |/| |
* | | | Merge pull request #1124 from Subv/logic_opsGravatar bunnei2018-08-226-7/+108
|\ \ \ \ | |_|/ / |/| | | GPU: Implemented logic ops.
| * | | GPU: Implemented the logic op functionality of the GPU.Gravatar Subv2018-08-203-0/+61
| | | | | | | | | | | | | | | | This will ASSERT if blending is enabled at the same time as logic ops.
| * | | GLState: Allow enabling/disabling GL_COLOR_LOGIC_OP independently from blending.Gravatar Subv2018-08-202-6/+19
| | | |
| * | | GPU: Added registers for the logicop functionality.Gravatar Subv2018-08-201-1/+28
| | |/ | |/|
* | | Merge pull request #1147 from lioncash/warnGravatar bunnei2018-08-221-1/+1
|\ \ \ | | | | | | | | logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance
| * | | logging/text_formatter: Use empty braces for initializing ↵Gravatar Lioncash2018-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONSOLE_SCREEN_BUFFER_INFO instance The previous form of initializing done here is a C-ism, an empty set of braces is sufficient for initializing (and doesn't potentially cause missing brace warnings, given the first member of the struct is a COORD struct).
* | | | Merge pull request #1151 from bunnei/revert-4a2ee191Gravatar bunnei2018-08-222-153/+31
|\ \ \ \ | | | | | | | | | | Revert "Shader: Use the right sampler type in the TEX, TEXS and TLDS …"
| * | | | Revert "Shader: Use the right sampler type in the TEX, TEXS and TLDS ↵Gravatar bunnei2018-08-212-153/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instructions." - This reverts commit 3ef4b3d4b445960576f10d1ba6521580d03e3da8. - This commit had broken a lot of games. We really should do a full implementation of this in one change.
* | | | | Added missing include for pl:uGravatar David Marcec2018-08-221-0/+1
| | | | | | | | | | | | | | | | | | | | Should fix any compile errors
* | | | | PL:U Added BFTTF loading(Loading from System NAND dumps) (#1088)Gravatar David2018-08-211-25/+140
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added bfttf loading We can now load system bfttf fonts from system archives AND shared memory dumps. This allows people who have installed their system nand dumps to yuzu to automatically get shared font support. We also now don't hard code the offsets or the sizes of the shared fonts and it's all calculated for us now. * Addressed plu fixups * Style changes for plu * Fixed logic error for plu and added more error checks.
* | | | Merge pull request #1145 from lioncash/fwd-declGravatar bunnei2018-08-215-4/+7
|\ \ \ \ | | | | | | | | | | vfs: Replace mode.h include with forward declarations where applicable
| * | | | vfs: Replace mode.h include with forward declarations where applicableGravatar Lioncash2018-08-215-4/+7
| |/ / / | | | | | | | | | | | | | | | | Avoids the need to rebuild these source files if the mode header changes.
* | | | Merge pull request #1146 from lioncash/amGravatar bunnei2018-08-211-3/+4
|\ \ \ \ | | | | | | | | | | am: Utilize std::array within PopLaunchParameter()
| * | | | am: Utilize std::array within PopLaunchParameter()Gravatar Lioncash2018-08-211-3/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | Gets rid of the potential for C array-to-pointer decay, and also makes pointer arithmetic to get the end of the copy range unnecessary. We can just use std::array's begin() and end() member functions.
* | | | Merge pull request #1148 from lioncash/audio-warnGravatar bunnei2018-08-211-1/+1
|\ \ \ \ | | | | | | | | | | audio_core/filter: Add explicit cast to assignment in Process()
| * | | | audio_core/filter: Add explicit cast to assignment in Process()Gravatar Lioncash2018-08-211-1/+1
| |/ / / | | | | | | | | | | | | | | | | Previously this would cause warnings about implicit conversions to s16 from a double
* / / / shader_bytecode: Parenthesize conditional expression within GetTextureType()Gravatar Lioncash2018-08-211-1/+1
|/ / / | | | | | | | | | Resolves a -Wlogical-op-parentheses warning.
* | | Merge pull request #1143 from lioncash/incGravatar bunnei2018-08-212-1/+1
|\ \ \ | | | | | | | | sdmc_factory: Remove unnecessary core include
| * | | sdmc_factory: Remove unnecessary core includeGravatar Lioncash2018-08-212-1/+1
| | |/ | |/| | | | | | | | | | This doesn't require the central core header to be included, it just needs the vfs headers.
* | | Merge pull request #1139 from lioncash/bitfieldGravatar bunnei2018-08-211-2/+1
|\ \ \ | | | | | | | | bit_field: Convert ToBool() into explicit operator bool
| * | | bit_field: Convert ToBool() into explicit operator boolGravatar Lioncash2018-08-211-2/+1
| |/ / | | | | | | | | | Gets rid of a TODO that is long overdue.
* | | Merge pull request #1140 from FearlessTobi/port-4056Gravatar bunnei2018-08-212-0/+14
|\ \ \ | | | | | | | | Port #4056 from Citra: "Add Clear Recent Files menu action"
| * | | Port #4056 from Citra: "Add Clear Recent Files menu action"Gravatar fearlessTobi2018-08-212-0/+14
| |/ /
* / / perf_stats: Change MAX_LAG_TIME_US to an appropriate valueGravatar MerryMage2018-08-211-1/+1
|/ / | | | | | | | | | | | | | | | | | | 25us is far too small, and would result in std::this_thread::sleep_for being called with this as a maximum value. This means that a guest application that produces frames instantly would only be limited to 40 kHz. 25ms is a more appropriate value, as it allows for a 60 Hz refresh rate while providing enough slack in the negative region.
* | Merge pull request #1123 from lioncash/screenGravatar bunnei2018-08-217-30/+25
|\ \ | | | | | | rasterizer_interface: Remove renderer-specific ScreenInfo type from AccelerateDraw() in RasterizerInterface
| * | rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signatureGravatar Lioncash2018-08-205-17/+14
| | | | | | | | | | | | | | | | | | This is an OpenGL renderer-specific data type. Given that, this type shouldn't be used within the base interface for the rasterizer. Instead, we can pass this information to the rasterizer via reference.
| * | renderer_base: Make creation of the rasterizer, the responsibility of the ↵Gravatar Lioncash2018-08-204-14/+12
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | renderers themselves Given we use a base-class type within the renderer for the rasterizer (RasterizerInterface), we want to allow renderers to perform more complex initialization if they need to do such a thing. This makes it important to reserve type information. Given the OpenGL renderer is quite simple settings-wise, this is just a simple shuffling of the initialization code. For something like Vulkan however this might involve doing something like: // Initialize and call rasterizer-specific function that requires // the full type of the instance created. auto raster = std::make_unique<VulkanRasterizer>(some, params); raster->CallSomeVulkanRasterizerSpecificFunction(); // Assign to base class variable rasterizer = std::move(raster)
* | Merge pull request #1129 from lioncash/headerGravatar bunnei2018-08-2111-8/+40
|\ \ | | | | | | romfs_factory, service/filesystem: Use forward declarations where applicable
| * | service/filesystem: Use forward declarations where applicableGravatar Lioncash2018-08-209-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | Avoids the need to rebuild multiple source files if the filesystem code headers change. This also gets rid of a few instances of indirect inclusions being relied upon
| * | romfs_factory: Remove unnecessary includes and use forward declarations ↵Gravatar Lioncash2018-08-203-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | where applicable Avoids the need to rebuild whatever includes the romfs factory header if the loader header ever changes. We also don't need to include the main core header. We can instead include the headers we specifically need.
* | | Merge pull request #1132 from Subv/gl_FragDepthGravatar bunnei2018-08-211-1/+6
|\ \ \ | | | | | | | | Shaders: Implement depth writing in fragment shaders.
| * | | Shaders: Implement depth writing in fragment shaders.Gravatar Subv2018-08-201-1/+6
| | | | | | | | | | | | | | | | We'll write <last color output reg + 2> to gl_FragDepth.
* | | | Merge pull request #1134 from lioncash/logGravatar bunnei2018-08-211-1/+1
|\ \ \ \ | | | | | | | | | | renderer_opengl: Use LOG_DEBUG for GL_DEBUG_SEVERITY_NOTIFICATION and GL_DEBUG_SEVERITY_LOW logs
| * | | | renderer_opengl: Use LOG_DEBUG for GL_DEBUG_SEVERITY_NOTIFICATION and ↵Gravatar Lioncash2018-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GL_DEBUG_SEVERITY_LOW logs LOG_TRACE is only enabled on debug builds which can be quite slow when trying to debug graphics issues. Instead we can log the messages to the debug log, which is available on both release and debug builds.
* | | | | Merge pull request #1121 from Subv/tex_reinterpretGravatar bunnei2018-08-214-16/+70
|\ \ \ \ \ | |/ / / / |/| | | | Rasterizer: Use PBOs to reinterpret texture formats when games re-use the same memory.
| * | | | Rasterizer: Reinterpret the raw texture bytes instead of blitting (and thus ↵Gravatar Subv2018-08-201-3/+49
| | | | | | | | | | | | | | | | | | | | doing format conversion) to a new texture when a game requests an old texture address with a different format.
| * | | | Rasterizer: Don't attempt to copy over the old texture's data when doing a ↵Gravatar Subv2018-08-204-13/+21
| | |_|/ | |/| | | | | | | | | | format reinterpretation if we're only going to clear the framebuffer.
* | | | Merge pull request #1133 from lioncash/guardGravatar bunnei2018-08-201-0/+2
|\ \ \ \ | |_|/ / |/| | | gl_stream_buffer: Add missing header guard
| * | | gl_stream_buffer: Add missing header guardGravatar Lioncash2018-08-201-0/+2
| | | | | | | | | | | | | | | | | | | | Prevents potential compilation errors from occuring due to multiple inclusions