Browse Source
Merge pull request #3815 from FernandoS27/command-list-2
Merge pull request #3815 from FernandoS27/command-list-2
GPU: More optimizations to GPU Command List Processing and DMA Copy Optimizationspull/15/merge
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 198 additions and 66 deletions
-
1src/video_core/CMakeLists.txt
-
20src/video_core/dma_pusher.cpp
-
11src/video_core/dma_pusher.h
-
22src/video_core/engines/engine_interface.h
-
10src/video_core/engines/fermi_2d.cpp
-
8src/video_core/engines/fermi_2d.h
-
13src/video_core/engines/kepler_compute.cpp
-
8src/video_core/engines/kepler_compute.h
-
13src/video_core/engines/kepler_memory.cpp
-
8src/video_core/engines/kepler_memory.h
-
28src/video_core/engines/maxwell_3d.cpp
-
10src/video_core/engines/maxwell_3d.h
-
50src/video_core/engines/maxwell_dma.cpp
-
8src/video_core/engines/maxwell_dma.h
-
34src/video_core/gpu.cpp
-
2src/video_core/macro_interpreter.cpp
-
14src/video_core/textures/decoders.cpp
-
4src/video_core/textures/decoders.h
@ -0,0 +1,22 @@ |
|||
// Copyright 2020 yuzu Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include <type_traits> |
|||
#include "common/common_types.h" |
|||
|
|||
namespace Tegra::Engines { |
|||
|
|||
class EngineInterface { |
|||
public: |
|||
/// Write the value to the register identified by method. |
|||
virtual void CallMethod(u32 method, u32 method_argument, bool is_last_call) = 0; |
|||
|
|||
/// Write multiple values to the register identified by method. |
|||
virtual void CallMultiMethod(u32 method, const u32* base_start, u32 amount, |
|||
u32 methods_pending) = 0; |
|||
}; |
|||
|
|||
} // namespace Tegra::Engines |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue