Home
last modified time | relevance | path

Searched refs:acquireFenceFd (Results 1 – 5 of 5) sorted by relevance

/external/drm_hwcomposer/
Ddrmdisplaycomposition.cpp35 layer.acquireFenceFd = -1; in DrmCompositionLayer()
57 if (iter->layer.acquireFenceFd >= 0) in ~DrmDisplayComposition()
58 close(iter->layer.acquireFenceFd); in ~DrmDisplayComposition()
108 layer->acquireFenceFd = -1; // We own this now in AddLayer()
Ddrmdisplaycompositor.cpp148 if (layer->acquireFenceFd >= 0) { in ApplyFrame()
149 ret = sync_wait(layer->acquireFenceFd, -1); in ApplyFrame()
151 ALOGE("Failed to wait for acquire %d/%d", layer->acquireFenceFd, ret); in ApplyFrame()
155 close(layer->acquireFenceFd); in ApplyFrame()
156 layer->acquireFenceFd = -1; in ApplyFrame()
Dglworker.cpp359 static int EGLFenceWait(EGLDisplay egl_display, int acquireFenceFd) { in EGLFenceWait() argument
362 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, acquireFenceFd, in EGLFenceWait()
368 close(acquireFenceFd); in EGLFenceWait()
563 if (layer->acquireFenceFd >= 0) in Composite()
564 close(layer->acquireFenceFd); in Composite()
572 ret = EGLFenceWait(egl_display_, layer->acquireFenceFd); in Composite()
Dhwcomposer.cpp204 if (layer->acquireFenceFd >= 0) { in hwc_set_cleanup()
205 close(layer->acquireFenceFd); in hwc_set_cleanup()
206 layer->acquireFenceFd = -1; in hwc_set_cleanup()
376 layer->acquireFenceFd = -1; in hwc_set()
392 composite_layer.acquireFenceFd = ret == -EALREADY ? -1 : ret; in hwc_set()
Dgl_compositor.h52 int DoFenceWait(int acquireFenceFd);