compatible_formats.h 453 B

12345678910111213141516
  1. // Copyright 2020 yuzu Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "video_core/surface.h"
  6. namespace VideoCore::Surface {
  7. bool IsViewCompatible(PixelFormat format_a, PixelFormat format_b, bool broken_views,
  8. bool native_bgr);
  9. bool IsCopyCompatible(PixelFormat format_a, PixelFormat format_b, bool native_bgr);
  10. } // namespace VideoCore::Surface