summaryrefslogtreecommitdiff
path: root/src/video_core/framebuffer_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/framebuffer_config.h')
-rw-r--r--src/video_core/framebuffer_config.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/video_core/framebuffer_config.h b/src/video_core/framebuffer_config.h
index b1d455e30..5921d830e 100644
--- a/src/video_core/framebuffer_config.h
+++ b/src/video_core/framebuffer_config.h
@@ -6,18 +6,14 @@
6 6
7#include "common/common_types.h" 7#include "common/common_types.h"
8#include "common/math_util.h" 8#include "common/math_util.h"
9#include "core/hle/service/nvflinger/pixel_format.h"
9 10
10namespace Tegra { 11namespace Tegra {
12
11/** 13/**
12 * Struct describing framebuffer configuration 14 * Struct describing framebuffer configuration
13 */ 15 */
14struct FramebufferConfig { 16struct FramebufferConfig {
15 enum class PixelFormat : u32 {
16 A8B8G8R8_UNORM = 1,
17 RGB565_UNORM = 4,
18 B8G8R8A8_UNORM = 5,
19 };
20
21 enum class TransformFlags : u32 { 17 enum class TransformFlags : u32 {
22 /// No transform flags are set 18 /// No transform flags are set
23 Unset = 0x00, 19 Unset = 0x00,
@@ -38,9 +34,9 @@ struct FramebufferConfig {
38 u32 width{}; 34 u32 width{};
39 u32 height{}; 35 u32 height{};
40 u32 stride{}; 36 u32 stride{};
41 PixelFormat pixel_format{};
42 37
43 TransformFlags transform_flags{}; 38 TransformFlags transform_flags{};
39 android::PixelFormat pixel_format{};
44 Common::Rectangle<int> crop_rect; 40 Common::Rectangle<int> crop_rect;
45}; 41};
46 42