Lines Matching refs:fenceFd

366         ANativeWindowBuffer** buffer, int* fenceFd) {  in hook_dequeueBuffer()  argument
368 return c->dequeueBuffer(buffer, fenceFd); in hook_dequeueBuffer()
372 ANativeWindowBuffer* buffer, int fenceFd) { in hook_cancelBuffer() argument
374 return c->cancelBuffer(buffer, fenceFd); in hook_cancelBuffer()
378 ANativeWindowBuffer* buffer, int fenceFd) { in hook_queueBuffer() argument
380 return c->queueBuffer(buffer, fenceFd); in hook_queueBuffer()
387 int fenceFd = -1; in hook_dequeueBuffer_DEPRECATED() local
388 int result = c->dequeueBuffer(&buf, &fenceFd); in hook_dequeueBuffer_DEPRECATED()
392 sp<Fence> fence(new Fence(fenceFd)); in hook_dequeueBuffer_DEPRECATED()
535 int Surface::dequeueBuffer(android_native_buffer_t** buffer, int* fenceFd) { in dequeueBuffer() argument
564 *fenceFd = -1; in dequeueBuffer()
630 *fenceFd = fence->dup(); in dequeueBuffer()
631 if (*fenceFd == -1) { in dequeueBuffer()
638 *fenceFd = -1; in dequeueBuffer()
655 int fenceFd) { in cancelBuffer() argument
661 if (fenceFd >= 0) { in cancelBuffer()
662 close(fenceFd); in cancelBuffer()
667 if (fenceFd >= 0) { in cancelBuffer()
668 close(fenceFd); in cancelBuffer()
672 sp<Fence> fence(fenceFd >= 0 ? new Fence(fenceFd) : Fence::NO_FENCE); in cancelBuffer()
700 int Surface::queueBuffer(android_native_buffer_t* buffer, int fenceFd) { in queueBuffer() argument
717 if (fenceFd >= 0) { in queueBuffer()
718 close(fenceFd); in queueBuffer()
723 if (fenceFd >= 0) { in queueBuffer()
724 close(fenceFd); in queueBuffer()
734 sp<Fence> fence(fenceFd >= 0 ? new Fence(fenceFd) : Fence::NO_FENCE); in queueBuffer()
1822 int fenceFd = -1; in lock() local
1823 status_t err = dequeueBuffer(&out, &fenceFd); in lock()
1848 copyBlt(backBuffer, frontBuffer, copyback, &fenceFd); in lock()
1880 newDirtyRegion.bounds(), &vaddr, fenceFd); in lock()