Lines Matching refs:fence
197 // At this point we know the output buffer acquire fence,
287 uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) {
292 status_t result = mSource[source]->dequeueBuffer(sslot, fence, async,
319 mSource[source]->cancelBuffer(*sslot, *fence);
331 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, bool async,
334 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, async, w, h, format, usage);
386 *fence = mOutputFence;
389 result = dequeueBuffer(source, format, usage, &sslot, fence);
436 // slot and fence as we just queued.
453 // Extract the GLES release fence for HWC to acquire
471 void VirtualDisplaySurface::cancelBuffer(int pslot, const sp<Fence>& fence) {
473 return mSource[SOURCE_SINK]->cancelBuffer(mapProducer2SourceSlot(SOURCE_SINK, pslot), fence);
481 mapProducer2SourceSlot(source, pslot), fence);
554 // On GLES-only frames, we don't have the right output buffer acquire fence
556 // (for use in HWC prepare) but not the fence; we'll call this again with
557 // the proper fence once we have it.