SurfaceReference should store a parent SurfaceId and child SurfaceRange |
|||
Issue descriptionThis will remove the need to update the references when a surface in the SurfaceRange activates and will enforce a stricter garbage collection scheme.
,
Jul 30
Currently SurfaceAggregator also calls GetLatestInFlightSurface. In order to minimize the number of times we call this method, I would rather not infer references inside of GarbageCollectSurfaces. Instead, we should update the references first, then finish DrawAndSwap, then garbage-collect.
,
Jul 30
@samans what do you mean by "update the references first". Are you suggesting we keep the references to be (surfaceId -> surfaceId) and infer references on activation?
,
Jul 30
If not, where do we infer the references other than GarbageCollectSurfaces?
,
Jul 31
,
Aug 1
|
|||
►
Sign in to add a comment |
|||
Comment 1 by akaba@google.com
, Jul 30