-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extend the API to export frame buffers using DRM PRIME file descriptors
Export frame buffers, providing applications like those based on libegt with DRM PRIME file descriptors. Hence applications can next pass these DRM PRIME file descriptors down to libm2d, which finally use them to import the frame buffers created by libplanes so the GPU can ultimately render into these frame buffers. Signed-off-by: Cyrille Pitchen <[email protected]> Signed-off-by: Ludovic Desroches <[email protected]>
- Loading branch information
1 parent
c7bcfd5
commit cc92dcd
Showing
5 changed files
with
81 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,8 @@ struct kms_framebuffer { | |
uint32_t handle; | ||
uint32_t id; | ||
|
||
int prime_fd; | ||
|
||
void *ptr; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters