aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/fermi_2d.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-04-24 22:00:40 -0500
committerSubv <subv2112@gmail.com>2018-04-25 12:54:26 -0500
commit20d86d8a36dca4bf1b465193745a365c3ab9abcd (patch)
tree632e5bf883d27a84d4891bad54ac1426023097ed /src/video_core/engines/fermi_2d.h
parent5ab597041f885ed552344ff890a0dff6a53c1f1e (diff)
GPU: Partially implemented the Fermi2D surface copy operation.
The hardware allows for some rather complicated operations to be performed on the data during the copy, this is not implemented. Only same-format same-size raw copies are implemented for now.
Diffstat (limited to 'src/video_core/engines/fermi_2d.h')
-rw-r--r--src/video_core/engines/fermi_2d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/engines/fermi_2d.h b/src/video_core/engines/fermi_2d.h
index 78d06218f..0c5b413cc 100644
--- a/src/video_core/engines/fermi_2d.h
+++ b/src/video_core/engines/fermi_2d.h
@@ -88,6 +88,11 @@ public:
} regs{};
MemoryManager& memory_manager;
+
+private:
+ /// Performs the copy from the source surface to the destination surface as configured in the
+ /// registers.
+ void HandleSurfaceCopy();
};
#define ASSERT_REG_POSITION(field_name, position) \