Descriptioncc: refcount resources as we send them to the parent
This allows us to fully specify the resources used by the frame, so that we can:
- allow more than one frame in flight
- allow duplicating the frame for aura::Window::RecreateLayers
For every frame we generate, we increase the "exported_count" in the child.
Every time we import the resources for a frame, we increase the "imported count"
in the parent. The contract is that we return resources exactly once for every
time it's exported.
BUG=263068
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218173
Patch Set 1 #
Total comments: 25
Patch Set 2 : rebase #Patch Set 3 : address review comments #
Total comments: 2
Patch Set 4 : nits #
Messages
Total messages: 11 (0 generated)
|