mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel/Graphics: Increase VirtIO GPU transfer buffer size to 4MiB
This is necessary to allow transferring frame buffers larger than ~500x500 pixels back to user space. Until the buffer management is improved this allows us to at least test the existing game ports.
This commit is contained in:
parent
2658351fa6
commit
07053d32dd
Notes:
sideshowbarker
2024-07-17 06:54:15 +09:00
Author: https://github.com/sunverwerth Commit: https://github.com/SerenityOS/serenity/commit/07053d32dd Pull-request: https://github.com/SerenityOS/serenity/pull/16590 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/ccapitalK Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/supercomputer7 ✅
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ private:
|
|||
HashMap<OpenFileDescription*, LockRefPtr<PerContextState>> m_context_state_lookup;
|
||||
// Memory management for backing buffers
|
||||
NonnullOwnPtr<Memory::Region> m_transfer_buffer_region;
|
||||
constexpr static size_t NUM_TRANSFER_REGION_PAGES = 256;
|
||||
constexpr static size_t NUM_TRANSFER_REGION_PAGES = 1024;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue