summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2022-03-19 21:51:16 -0700
committerGravatar bunnei2022-03-24 18:13:33 -0700
commitca12a77670d1463c2257bcdd829bb9bc56f1461b (patch)
tree8c6f7781383232909584d65e982376cb2e7ecd46 /src/video_core/surface.cpp
parenthle: nvflinger: BufferQueueProducer: Handle SetPreallocatedBuffer with empty ... (diff)
downloadyuzu-ca12a77670d1463c2257bcdd829bb9bc56f1461b.tar.gz
yuzu-ca12a77670d1463c2257bcdd829bb9bc56f1461b.tar.xz
yuzu-ca12a77670d1463c2257bcdd829bb9bc56f1461b.zip
hle: nvflinger: Migrate android namespace -> Service::android.
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index f7d29534e..5f428d35d 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -190,13 +190,13 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
190 } 190 }
191} 191}
192 192
193PixelFormat PixelFormatFromGPUPixelFormat(android::PixelFormat format) { 193PixelFormat PixelFormatFromGPUPixelFormat(Service::android::PixelFormat format) {
194 switch (format) { 194 switch (format) {
195 case android::PixelFormat::Rgba8888: 195 case Service::android::PixelFormat::Rgba8888:
196 return PixelFormat::A8B8G8R8_UNORM; 196 return PixelFormat::A8B8G8R8_UNORM;
197 case android::PixelFormat::Rgb565: 197 case Service::android::PixelFormat::Rgb565:
198 return PixelFormat::R5G6B5_UNORM; 198 return PixelFormat::R5G6B5_UNORM;
199 case android::PixelFormat::Bgra8888: 199 case Service::android::PixelFormat::Bgra8888:
200 return PixelFormat::B8G8R8A8_UNORM; 200 return PixelFormat::B8G8R8A8_UNORM;
201 default: 201 default:
202 UNIMPLEMENTED_MSG("Unimplemented format={}", format); 202 UNIMPLEMENTED_MSG("Unimplemented format={}", format);