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