This repository has been archived by the owner on Aug 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable zero buffer copy method for wayland VDA.
1080p video playback is quite unsmooth on VTC-1010, with only 15 fps and ~70% CPU usage. Root cause is current code spend too much time to put output vasurface to GL texture for more than 25ms for each frame, due to buffer copy between driver and user space. As a result, GPU swap buffer operations are not executed timely and then block render side composting. This CL enables a zero buffer copy solution that will put vasurface to GL texture inside GPU process. It creates an EGL image through EGL_DRM_BUFFER_MESA target, then binds the EGL image to GL texture. Local test result shows it gets 31 fps and ~25% CPU usage for 1080p playback. BUG = XWALK-2069
- Loading branch information
1 parent
9775269
commit 45f6768
Showing
4 changed files
with
141 additions
and
43 deletions.
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
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