2022-04-23 08:59:50 +00:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-06-26 22:22:29 +00:00
|
|
|
|
2020-07-21 04:42:17 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-06-26 22:22:29 +00:00
|
|
|
#include "video_core/surface.h"
|
|
|
|
|
|
|
|
namespace VideoCore::Surface {
|
|
|
|
|
2021-03-04 19:12:25 +00:00
|
|
|
bool IsViewCompatible(PixelFormat format_a, PixelFormat format_b, bool broken_views,
|
|
|
|
bool native_bgr);
|
2020-06-26 22:22:29 +00:00
|
|
|
|
2021-03-04 19:12:25 +00:00
|
|
|
bool IsCopyCompatible(PixelFormat format_a, PixelFormat format_b, bool native_bgr);
|
2020-06-26 22:22:29 +00:00
|
|
|
|
|
|
|
} // namespace VideoCore::Surface
|