summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-04-20Merge pull request #373 from lioncash/enum2bunnei
gl_rasterizer_cache: Make MatchFlags an enum class
2018-04-20Merge pull request #372 from lioncash/enumbunnei
resource_limit: Make ResourceTypes an enum class
2018-04-20gl_rasterizer_cache: Make MatchFlags an enum classLioncash
Prevents implicit conversions and scope pollution.
2018-04-20core: Relocate g_service_manager to the System classLioncash
Converts the service manager from a global into an instance-based variable.
2018-04-20resource_limit: Make ResourceTypes an enum classLioncash
Prevents enum identifiers from leaking into the surrounding scope.
2018-04-20Merge pull request #340 from mailwl/vi-updatebunnei
Service/VI: stub SetLayerVisibility, fix GetDisplayResolution output
2018-04-20Merge pull request #367 from lioncash/clampbunnei
math_util: Remove the Clamp() function
2018-04-20Merge pull request #361 from lioncash/commonbunnei
common_types: Minor changes
2018-04-20math_util: Remove the Clamp() functionLioncash
C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
2018-04-20Merge pull request #360 from lioncash/namespacesbunnei
service: Use nested namespace specifiers where applicable
2018-04-20Merge pull request #364 from lioncash/thread-localbunnei
common/thread: Remove unnecessary feature checking for thread_local
2018-04-20Merge pull request #362 from lioncash/snprintfbunnei
common_funcs: Remove check for VS versions that we don't even support
2018-04-20Merge pull request #363 from lioncash/array-sizebunnei
common_funcs: Remove ARRAY_SIZE macro
2018-04-20Merge pull request #366 from lioncash/vecbunnei
vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]
2018-04-20Merge pull request #365 from lioncash/codeblockbunnei
common: Remove code_block.h
2018-04-19vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]Lioncash
These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators).
2018-04-19common: Remove code_block.hLioncash
We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so this header isn't necessary any more.
2018-04-19common/thread: Remove unnecessary feature checking for thread_localLioncash
Every compiler we require already supports it.
2018-04-19common_funcs: Remove ARRAY_SIZE macroLioncash
C++17 has non-member size() which we can just call where necessary.
2018-04-19common_funcs: Remove check for VS versions that we don't even supportLioncash
We don't support any VS versions that don't already have snprintf in the standard library implementation.
2018-04-19common_types: Convert typedefs to using aliasesLioncash
May as well while we're making changes to this file.
2018-04-19common_types: Remove unnecessary check for whether or not__func__ is definedLioncash
VS has supported this for quite a while.
2018-04-19service: Use nested namespace specifiers where applicableLioncash
Tidies up namespace declarations
2018-04-19Merge pull request #357 from lioncash/guardbunnei
renderer_opengl: Add missing header guards
2018-04-19Merge pull request #358 from lioncash/explicitbunnei
disk_filesystem: Minor changes
2018-04-19vi: Remove redundant initializers in the constructorsLioncash
2018-04-19disk_filesystem: Remove unused total_entries_in_directory member from ↵Lioncash
Disk_Directory
2018-04-19disk_filesystem: Remove redundant initializer in Disk_Directory's constructorLioncash
2018-04-19disk_filesystem: Make constructors explicit where applicableLioncash
2018-04-19renderer_opengl: Add missing header guardsLioncash
2018-04-19Merge pull request #356 from lioncash/shaderbunnei
glsl_shader_decompiler: Minor API changes to ShaderWriter
2018-04-19Merge pull request #355 from Subv/shader_instrbunnei
ShaderGen: Fixed TEXS overriding its own texcoords and implemented fmul32i
2018-04-19glsl_shader_decompiler: Use std::string_view instead of std::string for ↵Lioncash
AddLine() This function doesn't need to take ownership of the string data being given to it, considering all we do is append the characters to the internal string instance. Instead, use a string view to simply reference the string data without any potential heap allocation. Now anything that is a raw const char* won't need to be converted to a std::string before appending.
2018-04-19glsl_shader_decompiler: Add AddNewLine() function to ShaderWriterLioncash
Avoids constructing a std::string just to append a newline character
2018-04-19glsl_shader_decompiler: Add char overload for ShaderWriter's AddLine()Lioncash
Avoids constructing a std::string just to append a character.
2018-04-19glsl_shader_decompiler: Append indentation without constructing a separate ↵Lioncash
std::string The interface of std::string already lets us append N copies of a character to an existing string.
2018-04-19ShaderGen: Implemented the fmul32i shader instruction.Subv
2018-04-19ShaderGen: Fixed a case where the TEXS instruction would use the same ↵Subv
registers for the input and the output. It will now save the coords before writing the outputs in a subscope.
2018-04-19Implement Pull #3528 from citra: use nvidia graphics automatically on ↵N00byKing
laptops with optimus (with AMD support) (#271) * Port 3528: use nvidia graphics automatically on laptops with optimus * Force dedicated AMD Card for switchable Graphics * Ran clang-format
2018-04-19Merge pull request #352 from bunnei/fix-microprofileJames Rowe
nvflinger: Call MicroProfileFlip on NVFlinger::Compose.
2018-04-18GPU: Add support for the DXT23 and DXT45 compressed texture formats.Subv
2018-04-18nvflinger: Call MicroProfileFlip on NVFlinger::Compose.bunnei
2018-04-18Merge pull request #351 from Subv/tex_formatsbunnei
GPU: Implemented the B5G6R5 format.
2018-04-18GPU: Implemented the B5G6R5 format.Subv
2018-04-18gl_shader_gen: Support vertical/horizontal viewport flipping. (#347)bunnei
* gl_shader_gen: Support vertical/horizontal viewport flipping. * fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
2018-04-18GLCache: Added boilerplate code to make supporting configurable texture ↵Subv
component types. For now only the UNORM type is supported.
2018-04-18GLCache: Unify texture and framebuffer formats when converting to OpenGL.Subv
2018-04-18GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8.Subv
2018-04-18GPU: Pitch textures are now supported, don't assert when encountering them.Subv
2018-04-18GLCache: Take into account the texture's block height when caching and ↵Subv
unswizzling.