From b7dca4bb2a2cf488407ae051b40782f03fcabc62 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Thu, 13 Aug 2026 17:21:26 +0300 Subject: fix(graphics): support high-dpi direct file frames (#2680) --- src/api/schema/panes.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/api/schema/panes.rs') diff --git a/src/api/schema/panes.rs b/src/api/schema/panes.rs index c8d89c48..6435a422 100644 --- a/src/api/schema/panes.rs +++ b/src/api/schema/panes.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; pub(crate) const PANE_GRAPHICS_SET_MAX_BYTES: usize = 512 * 1024; pub(crate) const PANE_GRAPHICS_STREAM_MAX_BYTES: usize = 16 * 1024 * 1024; +pub(crate) const PANE_GRAPHICS_DIRECT_FILE_MAX_BYTES: usize = 400 * 1024 * 1024; pub(crate) const PANE_GRAPHICS_MAX_LAYERS_PER_PANE: usize = 16; pub(crate) const PANE_GRAPHICS_MAX_LAYERS_TOTAL: usize = 64; pub(crate) const PANE_GRAPHICS_MAX_INLINE_BYTES_TOTAL: usize = 64 * 1024 * 1024; -- cgit v1.2.3