mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 21:35:46 +00:00
hle: nvflinger: Migrate android namespace -> Service::android.
This commit is contained in:
parent
5849c9a4cd
commit
ca12a77670
35 changed files with 76 additions and 79 deletions
|
@ -190,13 +190,13 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
|
|||
}
|
||||
}
|
||||
|
||||
PixelFormat PixelFormatFromGPUPixelFormat(android::PixelFormat format) {
|
||||
PixelFormat PixelFormatFromGPUPixelFormat(Service::android::PixelFormat format) {
|
||||
switch (format) {
|
||||
case android::PixelFormat::Rgba8888:
|
||||
case Service::android::PixelFormat::Rgba8888:
|
||||
return PixelFormat::A8B8G8R8_UNORM;
|
||||
case android::PixelFormat::Rgb565:
|
||||
case Service::android::PixelFormat::Rgb565:
|
||||
return PixelFormat::R5G6B5_UNORM;
|
||||
case android::PixelFormat::Bgra8888:
|
||||
case Service::android::PixelFormat::Bgra8888:
|
||||
return PixelFormat::B8G8R8A8_UNORM;
|
||||
default:
|
||||
UNIMPLEMENTED_MSG("Unimplemented format={}", format);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue