commit | 06d63de03cb2a551ca99608f5aa0c4f3e200b0fc | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Wed Jan 04 14:58:51 2017 +0800 |
committer | Iliyan Malchev <malchev@google.com> | Thu Feb 09 06:17:54 2017 +0000 |
tree | e5a7b120a0e081fb07cd8dfa806d744844821b44 | |
parent | f757977dfe80151074ee548805c7b4ccc7299c59 [diff] [blame] |
surfaceflinger: cache HWC client targets and buffers Remember HWC client targets and buffers, and make sure we send each unique slot/handle pair only once. This allows the composer to clone/register/retain each buffer only once. Test: builds and boots Change-Id: Ib485189043a9c132031e82d4d7380ace3bf9453d
diff --git a/services/surfaceflinger/DisplayHardware/DisplaySurface.h b/services/surfaceflinger/DisplayHardware/DisplaySurface.h index d801bb3..cb08f08 100644 --- a/services/surfaceflinger/DisplayHardware/DisplaySurface.h +++ b/services/surfaceflinger/DisplayHardware/DisplaySurface.h
@@ -25,6 +25,7 @@ namespace android { // --------------------------------------------------------------------------- +class Fence; class IGraphicBufferProducer; class String8;