Lines Matching +full:scope +full:- +full:manager
4 * Use of this source code is governed by a BSD-style license that can be
45 (*count)--; in decrement()
67 * the manager maintains a stack that corresponds with the depth-first traversal of the tasks
93 // - ScratchBuffer uses RAII to return the resource; ScratchResourceManager could adopt this
96 // - ScratchResourceManager is currently only available in snap(), but DrawBufferManager needs
99 // Alternatively, ScratchResourceManager could have the same lifetime as the buffer manager.
101 // Mark the resource as available for reuse. Must have been previously returned by this manager.
107 // added to the root task list, or explicitly when appending child tasks). The depth-first
112 // Each recursion in the depth-first traversal of the task graph pushes the stack. Going up
114 // listener that is triggered when either its scope is popped off or a consuming task that
121 // scope are invoked and removed from the list. This means that tasks must be externally
126 // writes with the renderpass that samples it to introduce a scope in the stack. Alternatively,
136 // Push a new scope onto the stack, preventing previously added pending listeners from being
140 // Pop the current scope off the stack. This does not invoke any pending listeners that were
141 // not consumed by a task within the ending scope. This can happen if an offscreen layer is
152 // marked in the current scope will be invoked.
156 // popScope() within the current scope. Registering the same listener multiple times will invoke
165 return fProxyReadCounts->get(proxy); in pendingReadCount()
170 return fProxyReadCounts->decrement(proxy); in removePendingRead()
184 // callers always need a specific sub-Resource and it limits the size of each search pool. It
185 // also allows for type-specific search heuristics by when selecting an available resource.
189 // start of a new scope.