mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
27 lines
674 B
C++
27 lines
674 B
C++
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
#include "common/math_util.h"
|
|
#include "core/hle/service/nvnflinger/buffer_transform_flags.h"
|
|
#include "core/hle/service/nvnflinger/pixel_format.h"
|
|
|
|
namespace Tegra {
|
|
|
|
/**
|
|
* Struct describing framebuffer configuration
|
|
*/
|
|
struct FramebufferConfig {
|
|
VAddr address{};
|
|
u32 offset{};
|
|
u32 width{};
|
|
u32 height{};
|
|
u32 stride{};
|
|
Service::android::PixelFormat pixel_format{};
|
|
Service::android::BufferTransformFlags transform_flags{};
|
|
Common::Rectangle<int> crop_rect;
|
|
};
|
|
|
|
} // namespace Tegra
|