summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* travis: running mingw build on travis ciGravatar tech4me2018-09-1912-16/+273
| | | | This commit also fixed a broken cmake dependency with unicorn
* Merge pull request #1196 from FearlessTobi/ccache-consistencyGravatar bunnei2018-08-314-16/+6
|\ | | | | .travis: Use Citras ccache for builds instead of yuzus
| * travis: use Citras ccacheGravatar fearlessTobi2018-08-314-16/+6
| |
* | Merge pull request #1212 from lioncash/forward-declGravatar bunnei2018-08-3129-66/+185
|\ \ | |/ |/| core/core: Replace includes with forward declarations where applicable
| * core/core: Replace includes with forward declarations where applicableGravatar Lioncash2018-08-3129-66/+185
|/ | | | | | | | | | | The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
* Merge pull request #1205 from bunnei/improve-rasterizer-cache-2Gravatar bunnei2018-08-3111-297/+227
|\ | | | | Various fixes and improvements to rasterizer cache 2: Electric Boogaloo
| * gl_rasterizer_cache: Use accurate framebuffer setting for accurate copies.Gravatar bunnei2018-08-312-73/+54
| |
| * gl_rasterizer_cache: Also use reserve cache for RecreateSurface.Gravatar bunnei2018-08-312-24/+18
| |
| * rasterizer_cache: Use boost::interval_map for a more accurate cache.Gravatar bunnei2018-08-311-33/+45
| |
| * gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.Gravatar bunnei2018-08-3111-138/+70
| |
| * gl_rasterizer: Fix issues with the rasterizer cache.Gravatar bunnei2018-08-314-46/+57
|/ | | | | - Use a single cached page map. - Fix calculation of ending page.
* Implement BC6H_UF16 & BC6H_SF16 (#1092)Gravatar greggameplayer2018-08-313-31/+55
| | | | | | | | | * Implement BC6H_UF16 & BC6H_SF16 Require by ARMS * correct coding style * correct coding style part 2
* Merge pull request #1204 from lioncash/pimplGravatar bunnei2018-08-315-279/+387
|\ | | | | core: Make the main System class use the PImpl idiom
| * core: Make the main System class use the PImpl idiomGravatar Lioncash2018-08-315-279/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | core.h is kind of a massive header in terms what it includes within itself. It includes VFS utilities, kernel headers, file_sys header, ARM-related headers, etc. This means that changing anything in the headers included by core.h essentially requires you to rebuild almost all of core. Instead, we can modify the System class to use the PImpl idiom, which allows us to move all of those headers to the cpp file and forward declare the bulk of the types that would otherwise be included, reducing compile times. This change specifically only performs the PImpl portion.
* | Merge pull request #1207 from degasus/hotfixGravatar bunnei2018-08-311-1/+1
|\ \ | | | | | | Report correct shader size.
| * | Report correct shader size.Gravatar Markus Wick2018-08-311-1/+1
| | | | | | | | | | | | | | | Seems like this was an oversee in regards to 1fd979f50a9f4c21fa8cafba7268d959e3076924 It changed GLShader::ProgramCode to a std::vector, so sizeof is wrong.
* | | Merge pull request #1208 from Hexagon12/pred-comp-14Gravatar bunnei2018-08-312-3/+4
|\ \ \ | |/ / |/| | Add predicate comparison 14 (GreaterEqualWithNan)
| * | Added predicate comparison GreaterEqualWithNanGravatar Hexagon122018-08-312-3/+4
|/ /
* | Merge pull request #1195 from FearlessTobi/port-gamelist-compatGravatar bunnei2018-08-3013-7/+196
|\ \ | | | | | | yuzu: Show game compatibility in the game list (PR ported from Citra)
| * | Show game compatibility within yuzuGravatar fearlessTobi2018-08-2913-7/+196
| | |
* | | gl_shader_decompiler: Implement POPC (#1203)Gravatar Laku2018-08-302-0/+19
| | | | | | | | | | | | | | | | | | * Implement POPC * implement invert
* | | Merge pull request #1200 from bunnei/improve-ipaGravatar bunnei2018-08-302-1/+39
|\ \ \ | |_|/ |/| | gl_shader_decompiler: Improve IPA for Pass mode with Position attribute.
| * | gl_shader_decompiler: Improve IPA for Pass mode with Position attribute.Gravatar bunnei2018-08-292-1/+39
| | |
* | | Merge pull request #1198 from lioncash/kernelGravatar bunnei2018-08-3054-442/+671
|\ \ \ | | | | | | | | kernel: Eliminate kernel global state
| * | | kernel: Eliminate kernel global stateGravatar Lioncash2018-08-2854-442/+671
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header.
* | | Merge pull request #1202 from FearlessTobi/port-3825Gravatar bunnei2018-08-302-1/+13
|\ \ \ | | | | | | | | Port #3825 from Citra: "travis: share environment variables with Docker"
| * | | Remove Citra specific variableGravatar fearlessTobi2018-08-291-3/+0
| | | |
| * | | travis: share env variables with DockerGravatar liushuyu2018-08-292-1/+16
| |/ /
* | | Merge pull request #1172 from tech4me/impl_iadd3Gravatar bunnei2018-08-302-1/+84
|\ \ \ | |/ / |/| | Shaders: Implemented IADD3
| * | Shaders: Implemented IADD3Gravatar tech4me2018-08-292-1/+84
|/ /
* | Merge pull request #1193 from lioncash/privGravatar bunnei2018-08-287-26/+40
|\ \ | | | | | | gpu: Make memory_manager private
| * | gpu: Make memory_manager privateGravatar Lioncash2018-08-287-26/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the class interface consistent and provides accessors for obtaining a reference to the memory manager instance. Given we also return references, this makes our more flimsy uses of const apparent, given const doesn't propagate through pointers in the way one would typically expect. This makes our mutable state more apparent in some places.
* | | Merge pull request #1192 from lioncash/unusedGravatar bunnei2018-08-281-2/+0
|\ \ \ | | | | | | | | gl_rasterizer: Remove unused variables
| * | | gl_rasterizer: Remove unused variablesGravatar Lioncash2018-08-281-2/+0
| |/ /
* | | Merge pull request #1191 from lioncash/noexceptGravatar bunnei2018-08-281-1/+1
|\ \ \ | | | | | | | | hle/result: Make ResultVal's move constructor as noexcept
| * | | hle/result: Make ResultVal's move constructor as noexceptGravatar Lioncash2018-08-281-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many containers within the standard library provide different behaviors based on whether or not a move constructor/assignment operator can be guaranteed not to throw or not. Notably, implementations will generally use std::move_if_noexcept (or an internal implementation of it) to provide strong exception guarantees. If a move constructor potentially throws (in other words, is not noexcept), then certain behaviors will create copies, rather than moving the values. For example, consider std::vector. When a std::vector calls resize(), there are two ways the elements can be relocated to the new block of memory (if a reallocation happens), by copy, or by moving the existing elements into the new block of memory. If a type does not have a guarantee that it will not throw in the move constructor, a copy will happen. However, if it can be guaranteed that the move constructor won't throw, then the elements will be moved. This just allows ResultVal to be moved instead of copied all the time if ever used in conjunction with containers for whatever reason.
* | | Merge pull request #1194 from lioncash/allocGravatar bunnei2018-08-281-2/+1
|\ \ \ | |_|/ |/| | gl_shader_cache: Remove unused program_code vector in GetShaderAddress()
| * | gl_shader_cache: Remove unused program_code vector in GetShaderAddress()Gravatar Lioncash2018-08-281-2/+1
| |/ | | | | | | | | | | | | | | Given std::vector is a type with a non-trivial destructor, this variable cannot be optimized away by the compiler, even if unused. Because of that, something that was intended to be fairly lightweight, was actually allocating 32KB and deallocating it at the end of the function.
* | Merge pull request #1190 from FearlessTobi/im-so-retardedGravatar bunnei2018-08-282-1/+2
|\ \ | |/ |/| yuzu: Fix two stupid errors made in #1141
| * Fix two stupid errors made in #1141Gravatar fearlessTobi2018-08-282-1/+2
|/
* Merge pull request #1165 from bunnei/shader-cacheGravatar bunnei2018-08-2712-417/+387
|\ | | | | renderer_opengl: Implement a new shader cache.
| * renderer_opengl: Implement a new shader cache.Gravatar bunnei2018-08-279-285/+250
| |
| * gl_rasterizer_cache: Update to use RasterizerCache base class.Gravatar bunnei2018-08-273-132/+20
| |
| * video_core: Add RasterizerCache class for common cache management code.Gravatar bunnei2018-08-272-0/+117
| |
* | Merge pull request #1189 from FearlessTobi/fix-stick-directionsGravatar bunnei2018-08-271-2/+2
|\ \ | | | | | | yuzu: Fix input UI direction order for the right stick
| * | yuzu: Fix stick UI direction orderGravatar fearlessTobi2018-08-281-2/+2
|/ /
* | Merge pull request #1177 from lioncash/errGravatar bunnei2018-08-274-12/+15
|\ \ | |/ |/| kernel/error: Amend several error codes
| * kernel/error: Amend error code for ERR_MAX_CONNECTIONS_REACHEDGravatar Lioncash2018-08-251-2/+4
| | | | | | | | | | | | We can make this error code an alias of the resource limit exceeded error code, allowing us to get rid of the lingering 3DS error code of the same type.
| * kernel/error: Amend error code for ERR_PORT_NAME_TOO_LONGGravatar Lioncash2018-08-251-2/+1
| | | | | | | | | | We can treat this as an alias of TooLarge for documentation purposes. This also lets us get rid of another lingering 3DS-related error code.
| * kernel/error: Add error code for the handle table being fullGravatar Lioncash2018-08-253-4/+4
| | | | | | | | | | This replaces the lingering 3DS constant with the proper one, and utilizes it within HandleTable's Create() member function.