Color format for copy in multigpu setup
Browse files at this commit0777769e719b7c9b7c980d4ea66288bfbb4da5b3Parent: ef5b737- fix
- color format for copy in multigpu setup
1 changed file +3 -3
- src/backend/tty.rs +3 -3
src/backend/tty.rsmodified+3 -3
| @@ -70,10 +70,10 @@ use crate::render_helpers::renderer::AsGlesRenderer; | ||
| 70 | 70 | use crate::render_helpers::{resources, shaders, RenderCtx, RenderTarget}; |
| 71 | 71 | use crate::utils::{get_monotonic_time, is_laptop_panel, logical_output, PanelOrientation}; |
| 72 | 72 | |
| 73 | -const SUPPORTED_COLOR_FORMATS: [Fourcc; 8] = [ | |
| 74 | - Fourcc::Xrgb2101010, | |
| 73 | +// specific 10-bit formats for multigpu setup, | |
| 74 | +// i.e. copying from rendering Nvidia dGPU to target iGPU. | |
| 75 | +const SUPPORTED_COLOR_FORMATS: [Fourcc; 6] = [ | |
| 75 | 76 | Fourcc::Xbgr2101010, |
| 76 | - Fourcc::Argb2101010, | |
| 77 | 77 | Fourcc::Abgr2101010, |
| 78 | 78 | Fourcc::Xrgb8888, |
| 79 | 79 | Fourcc::Xbgr8888, |