summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGPU
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-09-04 19:56:00 +0200
committerLinus Groh <mail@linusgroh.de>2022-09-11 22:37:07 +0100
commiteb81b66b4e0aa71de6728364924e97d8161ff6d8 (patch)
tree66baf8afa8b833aefe678aa83091ed0e44e70f36 /Userland/Libraries/LibGPU
parent1d36bfdac13332c8fc5272130bfb0dddf33cc91f (diff)
downloadserenity-eb81b66b4e0aa71de6728364924e97d8161ff6d8.zip
LibGL+LibGPU+LibSoftGPU: Rename `blit_color_buffer_to`
This makes it consistent with our other `blit_from_color_buffer` and paves the way for a third method that will be introduced in one of the next commits.
Diffstat (limited to 'Userland/Libraries/LibGPU')
-rw-r--r--Userland/Libraries/LibGPU/Device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGPU/Device.h b/Userland/Libraries/LibGPU/Device.h
index 712bc1338a..b40704e4c4 100644
--- a/Userland/Libraries/LibGPU/Device.h
+++ b/Userland/Libraries/LibGPU/Device.h
@@ -47,7 +47,7 @@ public:
virtual void clear_color(FloatVector4 const&) = 0;
virtual void clear_depth(DepthType) = 0;
virtual void clear_stencil(StencilType) = 0;
- virtual void blit_color_buffer_to(Gfx::Bitmap& target) = 0;
+ virtual void blit_from_color_buffer(Gfx::Bitmap& target) = 0;
virtual void blit_from_color_buffer(void*, Vector2<i32> offset, GPU::ImageDataLayout const&) = 0;
virtual void blit_from_depth_buffer(void*, Vector2<i32> offset, GPU::ImageDataLayout const&) = 0;
virtual void blit_to_color_buffer_at_raster_position(void const*, GPU::ImageDataLayout const&) = 0;