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