mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Update the comment for ReplacedHandle"
This commit is contained in:
committed by
Android (Google) Code Review
commit
776a7ea1c8
@@ -177,7 +177,8 @@ class ComposerResources {
|
||||
bool mustValidateDisplay(Display display);
|
||||
|
||||
// When a buffer in the cache is replaced by a new one, we must keep it
|
||||
// alive until it has been replaced in ComposerHal.
|
||||
// alive until it has been replaced in ComposerHal because it is still using
|
||||
// the old buffer.
|
||||
class ReplacedHandle {
|
||||
public:
|
||||
explicit ReplacedHandle(bool isBuffer) : mIsBuffer(isBuffer) {}
|
||||
|
||||
Reference in New Issue
Block a user