aboutsummaryrefslogtreecommitdiff
path: root/nvimporter.cpp
AgeCommit message (Collapse)Author
2015-06-10drm_hwcomposer: Reference count NvImporter buffersSean Paul
Instead of directly freeing buffers from the NvImporter release callback, use reference counting to ensure that we: (a) don't free the buffer while NvGralloc is still using it (b) don't free the buffer while HWC is still using it Before this patch, we weren't satisifying (b). This would cause us to free a buffer before and while it was on the screen. Change-Id: I6bbc541c72df4d5f12a8734de2f2e68168b73a07 Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-06-04drm_hwcomposer: Wrap the importers in a classSean Paul
This will allow us to move the importer functionality into the drmcompositor. Change-Id: I4274ebd1776c4d7879342c54a2b7c4095ebc50f4 Signed-off-by: Sean Paul <seanpaul@chromium.org>