summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-20 19:34:02 -0400
committerGravatar Lioncash2018-08-20 19:43:05 -0400
commit46ef072cf9e0636f7ba9f1414fdabeb607a88e0f (patch)
treeaf01f55406fdd493806ffc640e03519a0228b7ca /src/video_core/rasterizer_interface.h
parentrenderer_base: Make creation of the rasterizer, the responsibility of the ren... (diff)
downloadyuzu-46ef072cf9e0636f7ba9f1414fdabeb607a88e0f.tar.gz
yuzu-46ef072cf9e0636f7ba9f1414fdabeb607a88e0f.tar.xz
yuzu-46ef072cf9e0636f7ba9f1414fdabeb607a88e0f.zip
rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signature
This is an OpenGL renderer-specific data type. Given that, this type shouldn't be used within the base interface for the rasterizer. Instead, we can pass this information to the rasterizer via reference.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 499e84b89..a4a219d8d 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -8,8 +8,6 @@
8#include "video_core/gpu.h" 8#include "video_core/gpu.h"
9#include "video_core/memory_manager.h" 9#include "video_core/memory_manager.h"
10 10
11struct ScreenInfo;
12
13namespace VideoCore { 11namespace VideoCore {
14 12
15class RasterizerInterface { 13class RasterizerInterface {
@@ -55,7 +53,7 @@ public:
55 53
56 /// Attempt to use a faster method to display the framebuffer to screen 54 /// Attempt to use a faster method to display the framebuffer to screen
57 virtual bool AccelerateDisplay(const Tegra::FramebufferConfig& config, VAddr framebuffer_addr, 55 virtual bool AccelerateDisplay(const Tegra::FramebufferConfig& config, VAddr framebuffer_addr,
58 u32 pixel_stride, ScreenInfo& screen_info) { 56 u32 pixel_stride) {
59 return false; 57 return false;
60 } 58 }
61 59