Commit 82873d4
committed
[Wayland] Use read-only anonymous file abstraction for wayland-keymap sharing
Add ro_anonymous_file, an abstraction around anonymous read-only files.
Files can be created by calling os_ro_anonymous_file_create(), passing
the data of the file. Subsequent calls to os_ro_anonymous_file_get_fd()
return a fd that's ready to be send over the socket.
Use this new abstraction in meta-wayland-keyboard for sending keymap data to the clients without having to copy it unnecessarily.1 parent f902ccb commit 82873d4
File tree
11 files changed
+775
-73
lines changed- cogl/tests/conform
- src
- core
- tests
- wayland-test-clients
- wayland
11 files changed
+775
-73
lines changedFile renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
378 | 392 | | |
379 | 393 | | |
380 | 394 | | |
| |||
0 commit comments