/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_sync_timeline.c | 61 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync); in vk_sync_timeline_init() local 65 container_of(timeline->sync.type, struct vk_sync_timeline_type, sync); in vk_sync_timeline_init() 68 ret = mtx_init(&timeline->mutex, mtx_plain); in vk_sync_timeline_init() 72 ret = cnd_init(&timeline->cond); in vk_sync_timeline_init() 74 mtx_destroy(&timeline->mutex); in vk_sync_timeline_init() 78 timeline->highest_past = in vk_sync_timeline_init() 79 timeline->highest_pending = initial_value; in vk_sync_timeline_init() 80 list_inithead(&timeline->pending_points); in vk_sync_timeline_init() 81 list_inithead(&timeline->free_points); in vk_sync_timeline_init() 90 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync); in vk_sync_timeline_finish() local [all …]
|
D | vk_sync_binary.c | 51 return vk_sync_init(device, &binary->timeline, btype->timeline_type, in vk_sync_binary_init() 61 vk_sync_finish(device, &binary->timeline); in vk_sync_binary_finish() 84 return vk_sync_signal(device, &binary->timeline, binary->next_point); in vk_sync_binary_signal() 100 .sync = &binary->timeline, in vk_sync_binary_wait_many() 121 .size = offsetof(struct vk_sync_binary, timeline) + in vk_sync_binary_get_type()
|
D | vk_sync_timeline.h | 47 struct vk_sync_timeline *timeline; member 96 struct vk_sync_timeline *timeline, 107 struct vk_sync_timeline *timeline,
|
D | vk_sync_binary.h | 53 struct vk_sync timeline; member
|
D | vk_queue.c | 321 struct vk_sync_timeline *timeline = in vk_queue_submit_final() local 323 if (timeline) { in vk_queue_submit_final() 326 result = vk_sync_timeline_get_point(queue->base.device, timeline, in vk_queue_submit_final() 346 submit->waits[i].sync = &binary->timeline; in vk_queue_submit_final() 373 submit->signals[i].sync = &binary->timeline; in vk_queue_submit_final() 779 struct vk_sync_timeline *timeline = vk_sync_as_timeline(sync); in vk_queue_submit() local 780 if (timeline) { in vk_queue_submit() 783 result = vk_sync_timeline_alloc_point(queue->base.device, timeline, in vk_queue_submit()
|
/hardware/google/aemu/host-common/ |
D | sync_device.cpp | 21 static int defaultCreateFence(uint64_t timeline, uint32_t pt) { in defaultCreateFence() argument 22 (void)timeline; in defaultCreateFence() 27 static void defaultTimelineInc(uint64_t timeline, uint32_t howmuch) { in defaultTimelineInc() argument 28 (void)timeline; in defaultTimelineInc() 33 static void defaultDestroyTimeline(uint64_t timeline) { in defaultDestroyTimeline() argument 34 (void)timeline; in defaultDestroyTimeline()
|
D | goldfish_sync.cpp | 162 int goldfish_sync_create_fence(uint64_t timeline, uint32_t pt) { in goldfish_sync_create_fence() argument 164 timeline, pt, next_unique_id()); in goldfish_sync_create_fence() 167 void goldfish_sync_timeline_inc(uint64_t timeline, uint32_t howmuch) { in goldfish_sync_timeline_inc() argument 168 sendCommand(CMD_SYNC_TIMELINE_INC, timeline, howmuch); in goldfish_sync_timeline_inc() 171 void goldfish_sync_destroy_timeline(uint64_t timeline) { in goldfish_sync_destroy_timeline() argument 172 sendCommand(CMD_DESTROY_SYNC_TIMELINE, timeline, 0); in goldfish_sync_destroy_timeline()
|
/hardware/google/aemu/host-common/include/host-common/ |
D | sync_device.h | 33 typedef int (*emugl_sync_create_fence_t)(uint64_t timeline, uint32_t pt); 34 typedef void (*emugl_sync_timeline_inc_t)(uint64_t timeline, uint32_t howmuch); 35 typedef void (*emugl_sync_destroy_timeline_t)(uint64_t timeline); 37 typedef void (*emugl_sync_trigger_wait_t)(uint64_t glsync, uint64_t thread, uint64_t timeline);
|
D | goldfish_sync.h | 121 int goldfish_sync_create_fence(uint64_t timeline, uint32_t pt); 128 void goldfish_sync_timeline_inc(uint64_t timeline, uint32_t howmuch); 137 void goldfish_sync_destroy_timeline(uint64_t timeline);
|
/hardware/google/gfxstream/host/ |
D | SyncThread.cpp | 134 uint64_t timeline) { in triggerWait() argument 137 << " timeline=0x" << std::hex << timeline; in triggerWait() 139 [fenceSync, timeline, this](WorkerId) { in triggerWait() 140 doSyncWait(fenceSync, [timeline] { in triggerWait() 142 emugl::emugl_sync_timeline_inc(timeline, kTimelineInterval); in triggerWait() 291 void SyncThread::triggerWaitVk(VkFence vkFence, uint64_t timeline) { in triggerWaitVk() argument 294 << " timeline=0x" << std::hex << timeline; in triggerWaitVk() 296 [vkFence, timeline](WorkerId) { in triggerWaitVk() 297 doSyncWaitVk(vkFence, [timeline] { in triggerWaitVk() 299 emugl::emugl_sync_timeline_inc(timeline, kTimelineInterval); in triggerWaitVk() [all …]
|
D | SyncThread.h | 68 void triggerWaitVk(VkFence vkFence, uint64_t timeline); 77 void triggerWait(gl::EmulatedEglFenceSync* fenceSync, uint64_t timeline); 98 void triggerWaitVkQsri(VkImage vkImage, uint64_t timeline);
|
D | RenderControl.cpp | 262 uint64_t timeline); 1073 uint64_t timeline) { in rcTriggerWait() argument 1078 thread_ptr, timeline); in rcTriggerWait() 1080 timeline); in rcTriggerWait() 1083 thread_ptr, timeline); in rcTriggerWait() 1084 SyncThread::get()->triggerWaitVkQsri(reinterpret_cast<VkImage>(eglsync_ptr), timeline); in rcTriggerWait() 1089 fb->scheduleVsyncTask([eglsync_ptr, fenceSync, timeline](uint64_t) { in rcTriggerWait() 1093 eglsync_ptr, fenceSync, thread_ptr, timeline); in rcTriggerWait() 1094 SyncThread::get()->triggerWait(fenceSync, timeline); in rcTriggerWait() 1100 eglsync_ptr, fenceSync, thread_ptr, timeline); in rcTriggerWait() [all …]
|
D | VirtioGpuTimelines.cpp | 92 for (const auto& [ring, timeline] : mTimelineQueues) { in poll()
|
/hardware/interfaces/graphics/composer/2.4/vts/functional/ |
D | VtsHalGraphicsComposerV2_4TargetTest.cpp | 173 void waitForVsyncPeriodChange(Display display, const VsyncPeriodChangeTimeline& timeline, 200 VsyncPeriodChangeTimeline* timeline) { in setActiveConfigWithConstraints() argument 202 constraints, timeline); in setActiveConfigWithConstraints() 327 VsyncPeriodChangeTimeline timeline; in TEST_P() local 333 setActiveConfigWithConstraints(display, config, constraints, &timeline)); in TEST_P() 335 if (timeline.refreshRequired) { in TEST_P() 336 sendRefreshFrame(display, &timeline); in TEST_P() 338 waitForVsyncPeriodChange(display.get(), timeline, constraints.desiredTimeNanos, 0, in TEST_P() 368 VsyncPeriodChangeTimeline timeline; in TEST_P() local 375 mInvalidDisplayId, Config(0), constraints, &timeline)); in TEST_P() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_KHR_timeline_semaphore.adoc | 32 payload identifying a point in a timeline. 33 Such timeline semaphores support the following operations: 36 timeline semaphore. 37 * Host wait - A host operation that allows a blocking wait for a timeline 39 * Host signal - A host operation that allows advancing the timeline 41 * Device wait - A device operation that allows waiting for a timeline 43 * Device signal - A device operation that allows advancing the timeline 112 supported for timeline semaphores vs. binary semaphores. 132 timeline semaphores? 135 The only feature which cannot be supported universally is timeline semaphore [all …]
|
D | VK_KHR_ray_tracing_maintenance1.adoc | 56 acceleration structure size on the device timeline
|
/hardware/interfaces/graphics/composer/2.4/utils/passthrough/include/composer-passthrough/2.4/ |
D | HwcHal.h | 148 VsyncPeriodChangeTimeline* timeline) override { in setActiveConfigWithConstraints() argument 165 timeline->newVsyncAppliedTimeNanos = out_timeline.newVsyncAppliedTimeNanos; in setActiveConfigWithConstraints() 166 timeline->refreshRequired = out_timeline.refreshRequired; in setActiveConfigWithConstraints() 167 timeline->refreshTimeNanos = out_timeline.refreshTimeNanos; in setActiveConfigWithConstraints() 361 VsyncPeriodChangeTimeline timeline; in vsyncPeriodTimingChangedHook() local 362 timeline.newVsyncAppliedTimeNanos = updated_timeline->newVsyncAppliedTimeNanos; in vsyncPeriodTimingChangedHook() 363 timeline.refreshRequired = updated_timeline->refreshRequired; in vsyncPeriodTimingChangedHook() 364 timeline.refreshTimeNanos = updated_timeline->refreshTimeNanos; in vsyncPeriodTimingChangedHook() 365 hal->mEventCallback_2_4->onVsyncPeriodTimingChanged(display, timeline); in vsyncPeriodTimingChangedHook()
|
/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/ |
D | ComposerHal.h | 51 const VsyncPeriodChangeTimeline& timeline) = 0; 70 VsyncPeriodChangeTimeline* timeline) = 0;
|
D | ComposerClient.h | 153 VsyncPeriodChangeTimeline timeline = {}; in setActiveConfigWithConstraints() local 155 vsyncPeriodChangeConstraints, &timeline); in setActiveConfigWithConstraints() 156 hidl_cb(error, timeline); in setActiveConfigWithConstraints()
|
/hardware/interfaces/graphics/composer/2.4/utils/vts/ |
D | ComposerVts.cpp | 96 VsyncPeriodChangeTimeline* timeline) { in setActiveConfigWithConstraints() argument 101 *timeline = tmpTimeline; in setActiveConfigWithConstraints()
|
/hardware/interfaces/graphics/composer/aidl/vts/ |
D | VtsHalGraphicsComposer3_TargetTest.cpp | 502 const auto& [status, timeline] = mComposerClient->setActiveConfigWithConstraints( in TEST_P() 1433 void waitForVsyncPeriodChange(int64_t display, const VsyncPeriodChangeTimeline& timeline, in waitForVsyncPeriodChange() argument 1436 const auto kChangeDeadline = toTimePoint(timeline.newVsyncAppliedTimeNanos) + 100ms; in waitForVsyncPeriodChange() 1473 void sendRefreshFrame(const VtsDisplay& display, const VsyncPeriodChangeTimeline* timeline) { in sendRefreshFrame() argument 1474 if (timeline != nullptr) { in sendRefreshFrame() 1476 EXPECT_LT(timeline->refreshTimeNanos, timeline->newVsyncAppliedTimeNanos); in sendRefreshFrame() 1478 std::this_thread::sleep_until(toTimePoint(timeline->refreshTimeNanos)); in sendRefreshFrame() 1632 const auto& [status, timeline] = mComposerClient->setActiveConfigWithConstraints( in Test_setActiveConfigWithConstraints() 1636 EXPECT_TRUE(timeline.newVsyncAppliedTimeNanos >= constraints.desiredTimeNanos); in Test_setActiveConfigWithConstraints() 1639 EXPECT_TRUE(timeline.newVsyncAppliedTimeNanos - constraints.desiredTimeNanos <= in Test_setActiveConfigWithConstraints() [all …]
|
/hardware/interfaces/graphics/composer/2.4/utils/vts/include/composer-vts/2.4/ |
D | ComposerVts.h | 87 VsyncPeriodChangeTimeline* timeline);
|
/hardware/google/graphics/common/hwc3/ |
D | ComposerClient.h | 49 const VsyncPeriodChangeTimeline& timeline) override; 117 VsyncPeriodChangeTimeline* timeline) override;
|
D | ComposerClient.cpp | 347 VsyncPeriodChangeTimeline* timeline) { in setActiveConfigWithConstraints() argument 349 auto err = mHal->setActiveConfigWithConstraints(display, config, constraints, timeline); in setActiveConfigWithConstraints() 496 int64_t display, const VsyncPeriodChangeTimeline& timeline) { in onVsyncPeriodTimingChanged() argument 498 auto ret = mCallback->onVsyncPeriodTimingChanged(display, timeline); in onVsyncPeriodTimingChanged()
|
/hardware/interfaces/graphics/composer/2.4/ |
D | IComposerCallback.hal | 42 * @param updatedTimeline is the new timeline for the vsync period change.
|