mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Update the comment for ReplacedHandle
Test: n/a Bug: n/a Change-Id: I388af766fb1b5e78aabfc72c70883e71d05ce18c
This commit is contained in:
@@ -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