mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[idd] lgmp: pointer motion data doesn't require 1MB buffers
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled
This commit is contained in:
@@ -13,16 +13,17 @@ is strongly recommended, but the IDD can start in software mode without one.
|
||||
Determining memory
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Calculate the base IVSHMEM requirement as:
|
||||
Calculate the IVSHMEM requirement as:
|
||||
|
||||
.. math::
|
||||
|
||||
\text{BASE SIZE} =
|
||||
\text{REQUIRED BYTES} =
|
||||
\left(\left\lceil\frac{\text{WIDTH} \times 4}{256}\right\rceil
|
||||
\times 256\right) \times \text{HEIGHT} \times 3
|
||||
+ (4 \times 1024 \times 1024)
|
||||
|
||||
Additional shared memory is required for protocol metadata and alignment. The
|
||||
values below include that requirement and are rounded up to a power of two.
|
||||
Convert the result to MiB and round it up to the next power of two. The common
|
||||
values below have already been rounded.
|
||||
|
||||
If a configured mode does not fit, the IDD omits it from the Windows mode list.
|
||||
If a client-requested dynamic resolution does not fit, the helper refuses it
|
||||
@@ -40,15 +41,15 @@ not publish a truncated frame.
|
||||
* - Maximum resolution
|
||||
- Total IVSHMEM size (MiB)
|
||||
* - 1920x1080 (1080p)
|
||||
- 64
|
||||
- 32
|
||||
* - 1920x1200
|
||||
- 64
|
||||
- 32
|
||||
* - 2560x1440 (1440p)
|
||||
- 128
|
||||
- 64
|
||||
* - 3440x1440
|
||||
- 128
|
||||
- 64
|
||||
* - 3840x2160 (4K)
|
||||
- 256
|
||||
- 128
|
||||
* - 5120x1440
|
||||
- 128
|
||||
* - 5120x2880 (5K)
|
||||
|
||||
Reference in New Issue
Block a user