summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-09-09Merge pull request #1272 from Subv/dma_2dbunnei
GPU/DMA: Partially implemented the 'enable_2d' bit in the DMA engine.
2018-09-09Merge pull request #1280 from zero334/improvementsbunnei
video_core: fixed arithmetic overflow warnings & improved code style
2018-09-09Implemented TXQ dimension query type, used by SMO.FernandoS27
2018-09-09video_core: fixed arithmetic overflow warnings & improved code stylePatrick Elsässer
- Fixed all warnings, for renderer_opengl items, which were indicating a possible incorrect behavior from integral promotion rules and types larger than those in which arithmetic is typically performed. - Added const for variables where possible and meaningful. - Added constexpr where possible.
2018-09-08Change name of TEXQ to TXQ, in order to match NVIDIA's namingFernandoS27
2018-09-08GPU/DMA: Partially implemented the 'enable_2d' bit in the DMA engine.Subv
When not set, this tells the GPU to only use the X size when performing a DMA copy. This is only implemented for linear->linear and tiled->tiled copies. Conversion copies still retain the assert. This bit is unset by some games for various purposes, and by nouveau when copying the vertex buffers.
2018-09-08Merge pull request #1256 from bunnei/tex-target-supportbunnei
Initial support for non-2D textures
2018-09-08Merge pull request #1265 from zhaowenlan1779/patch-1bunnei
yuzu: fix title bar display
2018-09-08audio_renderer: Rename AudioOut instance to audio_outMerryMage
2018-09-08yuzu: fix title bar displayPengfei Zhu
Previously the version number got hidden after starting a game.
2018-09-08Merge pull request #1246 from degasus/instanced_renderingbunnei
gl_rasterizer: Use baseInstance instead of moving the buffer points.
2018-09-08Merge pull request #1259 from lioncash/relocatebunnei
yuzu: Move GameListWorker to its own source files
2018-09-08gl_rasterizer: Use baseInstance instead of moving the buffer points.bunnei
This hopefully helps our cache not to redundant upload the vertex buffer. # Conflicts: # src/video_core/renderer_opengl/gl_rasterizer.cpp
2018-09-08video_core: Arithmetic overflow warning fix for gl_rasterizer (#1262)Patrick Elsässer
* video_core: Arithmetic overflow fix for gl_rasterizer - Fixed warnings, which were indicating incorrect behavior from integral promotion rules and types larger than those in which arithmetic is typically performed. - Added const for variables where possible and meaningful. * Changed the casts from C to C++ style Changed the C-style casts to C++ casts as proposed. Took also care about signed / unsigned behaviour.
2018-09-08gl_rasterizer_cache: Improve accuracy of RecreateSurface for non-2D textures.bunnei
2018-09-08maxwell_3d: Remove assert that no longer applies.bunnei
2018-09-08gl_rasterizer_cache: Partially implement several non-2D texture types.bunnei
2018-09-08gl_shader_decompiler: Partially implement several non-2D texture types (Subv).bunnei
2018-09-08gl_rasterizer: Implement texture wrap mode p.bunnei
2018-09-08gl_rasterizer_cache: Track texture depth.bunnei
2018-09-08gl_rasterizer_cache: Remove impl. of FlushGLBuffer.bunnei
- Will not work for non-2d textures, and was not used anyways.
2018-09-08gl_rasterizer_cache: Keep track of texture type per surface.bunnei
2018-09-08gl_rasterizer_cache: Remove unused DownloadGLTexture.bunnei
2018-09-08gl_state: Keep track of texture target.bunnei
2018-09-07Merge pull request #1257 from lioncash/processbunnei
core: Migrate current_process pointer to the kernel
2018-09-07yuzu: Move GameListWorker to its own source filesLioncash
This has gotten sufficiently large enough to warrant moving it to its own source files. Especially given it dumps the file_sys headers around code that doesn't use it for the most part. This'll also make it easier to introduce a type alias for the compatibility list, so a large unordered_map type declaration doesn't need to be specified all the time (we don't want to propagate the game_list_p.h include via the main game_list.h header).
2018-09-07For SDL FrontendCaptV0rt3x
2018-09-07Better Title Bar DisplayCaptV0rt3x
2018-09-06core: Migrate current_process pointer to the kernelLioncash
Given we now have the kernel as a class, it doesn't make sense to keep the current process pointer within the System class, as processes are related to the kernel. This also gets rid of a subtle case where memory wouldn't be freed on core shutdown, as the current_process pointer would never be reset, causing the pointed to contents to continue to live.
2018-09-06Merge pull request #1250 from lioncash/file-sysbunnei
file_sys/{nca_patch, patch_manager}: Amend unnecessary/missing includes.
2018-09-06Merge pull request #1249 from FearlessTobi/disable-vsyncbunnei
frontend: Set swap interval to 0
2018-09-06Merge pull request #1251 from lioncash/core-incbunnei
core/core: Remove unnecessary sm/controller include
2018-09-06Merge pull request #1252 from lioncash/headerbunnei
video_core/CMakeLists: Add missing gl_buffer_cache.h
2018-09-06Merge pull request #1253 from lioncash/explicitbunnei
video_core/gl_buffer_cache: Minor tidying changes
2018-09-06Merge pull request #1255 from bunnei/minor-optbunnei
gl_rasterizer: Call state.Apply only once on SetupShaders.
2018-09-06gl_rasterizer: Call state.Apply only once on SetupShaders.bunnei
2018-09-06gl_shader_decompiler: Implement saturate mode for IPA.bunnei
2018-09-06gl_buffer_cache: Default initialize member variablesLioncash
Ensures that the cache always has a deterministic initial state.
2018-09-06gl_buffer_cache: Make GetHandle() a const member functionLioncash
GetHandle() internally calls GetHandle() on the stream_buffer instance, which is a const member function, so this can be made const as well.
2018-09-06gl_buffer_cache: Remove unnecessary includesLioncash
2018-09-06gl_buffer_cache: Make constructor explicitLioncash
Implicit conversions during construction isn't desirable here.
2018-09-06video_core/CMakeLists: Add missing gl_buffer_cache.hLioncash
Without this, the header file won't show up by default within IDEs such as Visual Studio.
2018-09-06core/core: Remove unnecessary sm/controller includeLioncash
The only reason this include was necessary, was because the constructor wasn't defaulted in the cpp file and the compiler would inline it wherever it was used. However, given Controller is forward declared, all those inlined constructors would see an incomplete type, causing a compilation failure. So, we just place the constructor in the cpp file, where it can see the complete type definition, allowing us to remove this include.
2018-09-06file_sys/nca_patch: Amend constructor initializer list orderLioncash
Orders the elements in the initializer list in the order they're specified in the class. This prevents compiler warnings about initialization order.
2018-09-06file_sys/nca_patch: Remove unnecessary includesLioncash
romfs.h doesn't need to be included in the header, the only real dependency here is common's swap.h that needs to be included.
2018-09-06file_sys/patch_manager: Add missing includesLioncash
These includes were previously being satisfied indirectly.
2018-09-06frontend: Set swap interval to 0fearlessTobi
2018-09-06gl_shader_gen: Initialize position.Markus Wick
IMO the old code is fine, but nvidia raises shader compiler warnings. Trivial fix through...
2018-09-05Merge pull request #1243 from degasus/VAO_cachebunnei
gl_rasterizer: Implement a VAO cache.
2018-09-05Merge pull request #1244 from FernandoS27/ipabunnei
shader_decompiler: Implemented IPA Properly (Stage 1)