/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngDisplayContext.cpp | 172 if (layer.acquireFenceFd != -1) { 173 // sync_wait(layer.acquireFenceFd, 16ms); 174 close(layer.acquireFenceFd); 175 layer.acquireFenceFd = -1; 182 if (fbt.acquireFenceFd != -1) { 184 close(fbt.acquireFenceFd); 185 fbt.acquireFenceFd = -1; 218 displays[i]->hwLayers[j].acquireFenceFd,
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/ |
TngDisplayContext.cpp | 172 if (layer.acquireFenceFd != -1) { 173 // sync_wait(layer.acquireFenceFd, 16ms); 174 close(layer.acquireFenceFd); 175 layer.acquireFenceFd = -1; 182 if (fbt.acquireFenceFd != -1) { 184 close(fbt.acquireFenceFd); 185 fbt.acquireFenceFd = -1; 218 displays[i]->hwLayers[j].acquireFenceFd,
|
/frameworks/av/media/ndk/include/media/ |
NdkImageReader.h | 379 * @param acquireFenceFd A sync fence fd defined in {@link sync.h}, which is used to signal when the 389 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd); 399 * @param acquireFenceFd A sync fence fd defined in {@link sync.h}, which is used to signal when the 409 AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd);
|
/frameworks/av/media/ndk/ |
NdkImageReader.cpp | 369 AImageReader::acquireImageLocked(/*out*/AImage** image, /*out*/int* acquireFenceFd) { 379 bool waitForFence = acquireFenceFd == nullptr; 459 if (acquireFenceFd != nullptr) { 460 *acquireFenceFd = buffer->mFence->dup(); 548 AImageReader::acquireNextImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { 550 return acquireImageLocked(image, acquireFenceFd); 554 AImageReader::acquireLatestImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { 562 media_status_t ret = acquireImageLocked(&prevImage, acquireFenceFd); 567 ret = acquireImageLocked(&nextImage, acquireFenceFd); 573 if (acquireFenceFd == nullptr) [all...] |
/device/generic/goldfish/hwcomposer/ |
hwcomposer.cpp | 72 if (fb_layer->acquireFenceFd > 0) { 74 err = sync_wait(fb_layer->acquireFenceFd, kAcquireWarningMS); 77 fb_layer->acquireFenceFd, kAcquireWarningMS); 79 close(fb_layer->acquireFenceFd); 86 releaseFenceFd = dup(fb_layer->acquireFenceFd); 87 fb_layer->acquireFenceFd = -1;
|
/external/drm_hwcomposer/ |
virtualcompositorworker.cpp | 70 composition->layer_acquire_fences.emplace_back(layer->acquireFenceFd); 71 layer->acquireFenceFd = -1;
|
glworker.cpp | 394 static int EGLFenceWait(EGLDisplay egl_display, int acquireFenceFd) { 397 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, acquireFenceFd, 402 ALOGE("Failed to make EGLSyncKHR from acquireFenceFd: %s", GetEGLError()); 403 close(acquireFenceFd);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_copybit.cpp | 456 if(list->hwLayers[abcRenderBufIdx].acquireFenceFd >=0){ 458 list->hwLayers[abcRenderBufIdx].acquireFenceFd); 469 close(list->hwLayers[abcRenderBufIdx].acquireFenceFd); 470 list->hwLayers[abcRenderBufIdx].acquireFenceFd = -1; 514 if(list->hwLayers[last].acquireFenceFd >=0) { 516 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); 544 if (list->hwLayers[i].acquireFenceFd != -1 547 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); 552 close(list->hwLayers[i].acquireFenceFd); 553 list->hwLayers[i].acquireFenceFd = -1 [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_copybit.cpp | 465 if(list->hwLayers[abcRenderBufIdx].acquireFenceFd >=0){ 467 list->hwLayers[abcRenderBufIdx].acquireFenceFd); 478 close(list->hwLayers[abcRenderBufIdx].acquireFenceFd); 479 list->hwLayers[abcRenderBufIdx].acquireFenceFd = -1; 524 if(list->hwLayers[last].acquireFenceFd >=0) { 526 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); 557 if (list->hwLayers[i].acquireFenceFd != -1 560 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); 565 close(list->hwLayers[i].acquireFenceFd); 566 list->hwLayers[i].acquireFenceFd = -1 [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_copybit.cpp | 568 if(list->hwLayers[abcRenderBufIdx].acquireFenceFd >=0){ 570 list->hwLayers[abcRenderBufIdx].acquireFenceFd); 582 close(list->hwLayers[last].acquireFenceFd); 583 list->hwLayers[last].acquireFenceFd = -1; 638 if(list->hwLayers[last].acquireFenceFd >=0) { 640 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); 664 if (list->hwLayers[i].acquireFenceFd != -1 667 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); 672 close(list->hwLayers[i].acquireFenceFd); 673 list->hwLayers[i].acquireFenceFd = -1 [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_copybit.cpp | 298 if(list->hwLayers[last].acquireFenceFd >=0) { 300 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); 320 if (list->hwLayers[i].acquireFenceFd != -1 323 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); 328 close(list->hwLayers[i].acquireFenceFd); 329 list->hwLayers[i].acquireFenceFd = -1; 344 list->hwLayers[last].acquireFenceFd >= 0) { 345 close(list->hwLayers[last].acquireFenceFd); 346 list->hwLayers[last].acquireFenceFd = -1; 483 acquireFd = layer->acquireFenceFd; [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_utils.cpp | 642 if(list->hwLayers[i].acquireFenceFd >= 0) { 643 close(list->hwLayers[i].acquireFenceFd); 644 list->hwLayers[i].acquireFenceFd = -1; 688 int& acquireFenceFd = 689 ctx->mLayerRotMap[dpy]->getLayer(i)->acquireFenceFd; 690 rotData.acq_fen_fd = acquireFenceFd; 693 close(acquireFenceFd); 695 acquireFenceFd = dup(rotData.rel_fen_fd); 709 list->hwLayers[i].acquireFenceFd >= 0) { 713 acquireFd[count++] = list->hwLayers[i].acquireFenceFd; [all...] |
hwc_copybit.cpp | 265 if (list->hwLayers[i].acquireFenceFd != -1 ) { 267 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); 272 close(list->hwLayers[i].acquireFenceFd); 273 list->hwLayers[i].acquireFenceFd = -1;
|
/hardware/libhardware/include/hardware/ |
hwcomposer.h | 197 * The HWC takes ownership of the acquireFenceFd and is responsible 200 int acquireFenceFd; [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
copybit.h | 219 * @param acquireFenceFd is the acquire fence 224 int acquireFenceFd);
|
/hardware/qcom/display/msm8226/libcopybit/ |
copybit.h | 219 * @param acquireFenceFd is the acquire fence 224 int acquireFenceFd);
|
/hardware/qcom/display/msm8909/libcopybit/ |
copybit.h | 221 * @param acquireFenceFd is the acquire fence 226 int acquireFenceFd);
|
/hardware/qcom/display/msm8994/libcopybit/ |
copybit.h | 222 * @param acquireFenceFd is the acquire fence 227 int acquireFenceFd);
|
/hardware/qcom/display/msm8996/libcopybit/ |
copybit.h | 236 * @param acquireFenceFd is the acquire fence 241 int acquireFenceFd);
|
/hardware/qcom/display/msm8998/libcopybit/ |
copybit.h | 236 * @param acquireFenceFd is the acquire fence 241 int acquireFenceFd);
|
/hardware/qcom/display/sdm845/libcopybit/ |
copybit.h | 236 * @param acquireFenceFd is the acquire fence 241 int acquireFenceFd);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposer_hwc1.cpp | 626 disp.framebufferTarget->acquireFenceFd = -1; 651 int acquireFenceFd = -1; 653 acquireFenceFd = acquireFence->dup(); 656 // ALOGD("fbPost: handle=%p, fence=%d", buf->handle, acquireFenceFd); 659 disp.framebufferTarget->acquireFenceFd = acquireFenceFd; 762 disp.framebufferTarget->acquireFenceFd = -1; [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_display.cpp | 420 if (swap_interval_zero_ && hwc_layer->acquireFenceFd >= 0) { 421 close(hwc_layer->acquireFenceFd); 422 hwc_layer->acquireFenceFd = -1; 424 layer_buffer->acquire_fence_fd = hwc_layer->acquireFenceFd; 710 if (hwc_layer.acquireFenceFd >= 0) { 711 close(hwc_layer.acquireFenceFd); 712 hwc_layer.acquireFenceFd = -1; 879 if (hwc_layer.acquireFenceFd >= 0) { 880 int error = sync_wait(hwc_layer.acquireFenceFd, 1000); [all...] |
/hardware/qcom/display/sdm845/sdm/libs/hwc/ |
hwc_display.cpp | 519 if (swap_interval_zero_ && hwc_layer->acquireFenceFd >= 0) { 520 close(hwc_layer->acquireFenceFd); 521 hwc_layer->acquireFenceFd = -1; 523 layer_buffer.acquire_fence_fd = hwc_layer->acquireFenceFd; 874 if (hwc_layer.acquireFenceFd >= 0) { 875 close(hwc_layer.acquireFenceFd); 876 hwc_layer.acquireFenceFd = -1; [all...] |
/hardware/interfaces/graphics/allocator/2.0/default/ |
Gralloc1On0Adapter.h | 371 int32_t acquireFenceFd) { 415 *accessRegion, outData, acquireFenceFd);
|