Home
last modified time | relevance | path

Searched refs:fenceFd (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/img/hwcomposer/moorefield_hdmi/platforms/merrifield_plus/
DPlatfBufferManager.cpp67 int fenceFd; in blitGrallocBuffer() local
72 srcCrop.y, 0, -1, &fenceFd)) { in blitGrallocBuffer()
78 sync_wait(fenceFd, -1); in blitGrallocBuffer()
80 close(fenceFd); in blitGrallocBuffer()
/hardware/libhardware/include/hardware/
Dgralloc.h283 void** vaddr, int fenceFd);
297 buffer_handle_t handle, int* fenceFd);
313 struct android_ycbcr *ycbcr, int fenceFd);
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp166 int fenceFd; in gfx_Blit() local
167 err = GrallocMod->Blit(GrallocMod, src, dest, w, h, 0, 0, 0, -1, &fenceFd); in gfx_Blit()
169 sync_wait(fenceFd, -1); in gfx_Blit()
170 close(fenceFd); in gfx_Blit()
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DVirtualDevice.cpp59 static void my_close_fence(const char* func, const char* fenceName, int& fenceFd) in my_close_fence() argument
61 if (fenceFd != -1) { in my_close_fence()
62 ALOGV("%s: closing fence %s (fd=%d)", func, fenceName, fenceFd); in my_close_fence()
63 int err = close(fenceFd); in my_close_fence()
67 fenceFd = -1; in my_close_fence()
71 static void my_sync_wait_and_close(const char* func, const char* fenceName, int& fenceFd) in my_sync_wait_and_close() argument
73 if (fenceFd != -1) { in my_sync_wait_and_close()
74 ALOGV("%s: waiting on fence %s (fd=%d)", func, fenceName, fenceFd); in my_sync_wait_and_close()
75 int err = sync_wait(fenceFd, 300); in my_sync_wait_and_close()
79 my_close_fence(func, fenceName, fenceFd); in my_sync_wait_and_close()