Image.cpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibVirtGPU/Image.h>
  7. namespace VirtGPU {
  8. Image::Image(void const* ownership_token, GPU::PixelFormat const& pixel_format, u32 width, u32 height, u32 depth, u32 max_levels)
  9. : GPU::Image(ownership_token, pixel_format, width, height, depth, max_levels)
  10. {
  11. dbgln("VirtGPU::Image::Image(): unimplemented");
  12. }
  13. void Image::regenerate_mipmaps()
  14. {
  15. dbgln("VirtGPU::Image::regenerate_mipmaps(): unimplemented");
  16. }
  17. void Image::write_texels(u32, Vector3<i32> const&, void const*, GPU::ImageDataLayout const&)
  18. {
  19. dbgln("VirtGPU::Image::write_texels(): unimplemented");
  20. }
  21. void Image::read_texels(u32, Vector3<i32> const&, void*, GPU::ImageDataLayout const&) const
  22. {
  23. dbgln("VirtGPU::Image::read_texels(): unimplemented");
  24. }
  25. void Image::copy_texels(GPU::Image const&, u32, Vector3<u32> const&, Vector3<u32> const&, u32, Vector3<u32> const&)
  26. {
  27. dbgln("VirtGPU::Image::copy_texels(): unimplemented");
  28. }
  29. }