11 changed files with 50 additions and 33 deletions
-
1src/core/CMakeLists.txt
-
10src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
-
5src/core/hle/service/nvdrv/devices/nvdisp_disp0.h
-
21src/core/hle/service/nvflinger/pixel_format.h
-
4src/core/hle/service/nvflinger/ui/graphic_buffer.h
-
10src/video_core/framebuffer_config.h
-
8src/video_core/renderer_opengl/renderer_opengl.cpp
-
4src/video_core/renderer_opengl/renderer_opengl.h
-
10src/video_core/renderer_vulkan/vk_blit_screen.cpp
-
8src/video_core/surface.cpp
-
2src/video_core/surface.h
@ -0,0 +1,21 @@ |
|||
// SPDX-License-Identifier: GPL-3.0-or-later |
|||
// Copyright 2021 yuzu Emulator Project |
|||
|
|||
#pragma once |
|||
|
|||
#include "common/common_types.h" |
|||
|
|||
namespace android { |
|||
|
|||
enum class PixelFormat : u32 { |
|||
NoFormat = 0, |
|||
Rgba8888 = 1, |
|||
Rgbx8888 = 2, |
|||
Rgb888 = 3, |
|||
Rgb565 = 4, |
|||
Bgra8888 = 5, |
|||
Rgba5551 = 6, |
|||
Rgba4444 = 7, |
|||
}; |
|||
|
|||
} // namespace android |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue