summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-03-06Merge pull request #2201 from lioncash/audio-retvalbunnei
hle/service/audio/audout_u: Correct lack of return in failure case of AppendAudioOutBufferImpl()
2019-03-06Merge pull request #2204 from lioncash/wait-treebunnei
yuzu/debugger/wait_tree: Remove use of global CurrentProcess accessor
2019-03-06hle/service/audio/audout_u: Correct lack of return in failure case of ↵Lioncash
AppendAudioOutBufferImpl() Previously we were overwriting the error case with a success code further down (which is definitely not what we should be doing here).
2019-03-06Merge pull request #2194 from lioncash/membunnei
svc: Move memory range checking functions to the VMManager class
2019-03-06Merge pull request #2200 from lioncash/audiobunnei
hle/service/audio: Extract audio error codes to a header
2019-03-06Merge pull request #2203 from lioncash/engines-includebunnei
video_core/engines: Remove unnecessary includes
2019-03-05yuzu/debugger/wait_tree: Remove use of global CurrentProcess accessorLioncash
We already have the thread instance that was created under the current process, so we can just pass the handle table of it along to retrieve the owner of the mutex.
2019-03-05video_core/engines: Remove unnecessary includesLioncash
Removes a few unnecessary dependencies on core-related machinery, such as the core.h and memory.h, which reduces the amount of rebuilding necessary if those files change. This also uncovered some indirect dependencies within other source files. This also fixes those.
2019-03-05hle/service/audio: Extract audio error codes to a headerLioncash
Places all error codes in an easily includable header. This also corrects the unsupported error code (I accidentally used the hex value when I meant to use the decimal one).
2019-03-05video_core/surface: Remove obsolete TODO in PixelFormatFromRenderTargetFormat()Lioncash
This isn't needed anymore, according to Hexagon
2019-03-05kernel/thread: Remove obsolete TODO in Create()Lioncash
This is a TODO carried over from Citra that doesn't apply here.
2019-03-04Merge pull request #2185 from FearlessTobi/port-4630bunnei
Port citra-emu/citra#4630: "Memory: don't lock hle mutex in memory read/write"
2019-03-04vm_manager: Use range helpers in HeapAlloc() and HeapFree()Lioncash
Significantly tidies up two guard conditionals.
2019-03-04vm_manager: Provide address range checking functions for other memory regionsLioncash
Makes the interface uniform when it comes to checking various memory regions.
2019-03-04svc: Migrate address range checking functions to VMManagerLioncash
Provides a bit of a more proper interface for these functions.
2019-03-04Merge pull request #2165 from ReinUsesLisp/unbind-texbunnei
gl_rasterizer: Unbind textures but don't apply the gl_state
2019-03-04Merge pull request #2188 from lioncash/log-staticbunnei
logging/backend: Move CreateEntry into the Impl class. Relocate local static to a class variable
2019-03-03Merge pull request #2189 from lioncash/webbunnei
web_service: Remove unnecessary inclusions
2019-03-02web_service: Remove unnecessary inclusionsLioncash
Reduces the potential amount of rebuilding necessary if any headers change. In particular, we were including a header from the core library when we don't even link the core library to the web_service library, so this also gets rid of an indirect dependency.
2019-03-02Merge pull request #2154 from FearlessTobi/port-4647Mat M
Port citra-emu/citra#4647: "citra_qt/main: make SPEED_LIMIT_STEP static constexpr"
2019-03-02logging/backend: Make time_origin a class variable instead of a local staticLioncash
Moves local global state into the Impl class itself and initializes it at the creation of the instance instead of in the function. This makes it nicer for weakly-ordered architectures, given the CreateEntry() class won't need to have atomic loads executed for each individual call to the CreateEntry class.
2019-03-02logging/backend: Move CreateEntry into the Impl classLioncash
This function is only ever used within this source file and makes it easier to remove static state in the following change.
2019-03-02Merge pull request #2183 from ReinUsesLisp/vk-buffer-cache-clangMat M
vk_buffer_cache: Fix clang-format
2019-03-02citra_qt/main: make SPEED_LIMIT_STEP static constexprfearlessTobi
MSVC does not seem to like using constexpr values in a lambda that were declared outside of it. Previously on MSVC build the hotkeys to inc-/decrease the speed limit were not working correctly because in the lambda the SPEED_LIMIT_STEP had garbage values. After googling around a bit I found: https://github.com/codeplaysoftware/computecpp-sdk/issues/95 which seems to be a similar issue. Trying the suggested fix to make the variable static constexpr also fixes the bug here.
2019-03-02Memory: don't lock hle mutex in memory read/writeWeiyi Wang
The comment already invalidates itself: neither MMIO nor rasterizer cache belongsHLE kernel state. This mutex has a too large scope if MMIO or cache is included, which is prone to dead lock when multiple thread acquires these resource at the same time. If necessary, each MMIO component or rasterizer should have their own lock.
2019-03-02Merge pull request #2182 from bunnei/my-wasted-fridaybunnei
fuck git for ruining my day, I will learn but I will not forgive
2019-03-02vk_buffer_cache: Fix clang-formatReinUsesLisp
2019-03-02Merge pull request #2178 from ReinUsesLisp/vk-buffer-cachebunnei
vk_buffer_cache: Implement a buffer cache
2019-03-02fuck git for ruining my day, I will learn but I will not forgivebunnei
2019-03-01vk_buffer_cache: Implement a buffer cacheReinUsesLisp
This buffer cache is just like OpenGL's buffer cache with some minor style changes. It uses VKStreamBuffer.
2019-03-01Merge pull request #2173 from lioncash/capturebunnei
yuzu/compatdb: Remove unused lambda capture
2019-03-01Merge pull request #2180 from lioncash/audrenbunnei
service/audio: Provide an implementation of ExecuteAudioRendererRendering
2019-03-01service/audio/audren_u: Implement OpenAudioRendererAutoLioncash
This currently has the same behavior as the regular OpenAudioRenderer API function, so we can just move the code within OpenAudioRenderer to an internal function that both service functions call.
2019-03-01service/audio: Provide an implementation of ExecuteAudioRendererRenderingLioncash
This service function appears to do nothing noteworthy on the switch. All it does at the moment is either return an error code or abort the system. Given we obviously don't want to kill the system, we just opt for always returning the error code.
2019-02-28gl_rasterizer: Remove texture unbinding after dispatching a draw callReinUsesLisp
Unbinding was required when OpenGL delete operations didn't unbind a resource if it was bound. This is no longer needed and can be removed.
2019-02-28gl_state: Fixup multibind bugReinUsesLisp
2019-02-27Merge pull request #2174 from lioncash/fwdbunnei
service/hid: Amend forward declaration of ServiceManager
2019-02-27Merge pull request #2152 from ReinUsesLisp/vk-stream-bufferbunnei
vk_stream_buffer: Implement a stream buffer
2019-02-27Merge pull request #2121 from FernandoS27/texception2bunnei
Improve the Accuracy of the Rasterizer Cache through a Texception Pass
2019-02-27Merge pull request #2172 from lioncash/reorderbunnei
gl_rasterizer/vk_memory_manager: Silence -Wreorder warnings
2019-02-27Devirtualize Register/Unregister and use a wrapper instead.Fernando Sahmkow
2019-02-27Corrections and redesign.Fernando Sahmkow
2019-02-27Fix linux compile error.Fernando Sahmkow
2019-02-27Remove NotifyFrameBuffer as we are doing a texception pass every drawcall.Fernando Sahmkow
2019-02-27Remove certain optimizations that caused texception to fail in certain ↵Fernando Sahmkow
scenarios.
2019-02-27Bug fixes and formattingFernando Sahmkow
2019-02-27rasterizer_cache_gl: Implement Texception PassFernando Sahmkow
2019-02-27rasterizer_cache_gl: Implement Partial Reinterpretation of Surfaces.Fernando Sahmkow
2019-02-27rasterizer_cache: mark reinterpreted surfaces and add ability to reload ↵Fernando Sahmkow
marked surfaces on next use.
2019-02-27rasterizer_cache_gl: Notify on framebuffer changeFernando Sahmkow