ladybird/Userland/Libraries/LibVirtGPU/Image.cpp
Stephan Unverwerth c52abe0bea LibVirtGPU: Add a new GPU device that talks to our VirtIO-GPU driver
At this moment this only contains function stubs.
2022-12-26 09:39:20 +01:00

37 lines
1 KiB
C++

/*
* Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibVirtGPU/Image.h>
namespace VirtGPU {
Image::Image(void const* ownership_token, GPU::PixelFormat const& pixel_format, u32 width, u32 height, u32 depth, u32 max_levels)
: GPU::Image(ownership_token, pixel_format, width, height, depth, max_levels)
{
dbgln("VirtGPU::Image::Image(): unimplemented");
}
void Image::regenerate_mipmaps()
{
dbgln("VirtGPU::Image::regenerate_mipmaps(): unimplemented");
}
void Image::write_texels(u32, Vector3<i32> const&, void const*, GPU::ImageDataLayout const&)
{
dbgln("VirtGPU::Image::write_texels(): unimplemented");
}
void Image::read_texels(u32, Vector3<i32> const&, void*, GPU::ImageDataLayout const&) const
{
dbgln("VirtGPU::Image::read_texels(): unimplemented");
}
void Image::copy_texels(GPU::Image const&, u32, Vector3<u32> const&, Vector3<u32> const&, u32, Vector3<u32> const&)
{
dbgln("VirtGPU::Image::copy_texels(): unimplemented");
}
}