Home
last modified time | relevance | path

Searched refs:timeline (Results 1 – 25 of 46) sorted by relevance

12

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_sync_timeline.c61 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 …]
Dvk_sync_binary.c51 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()
Dvk_sync_timeline.h47 struct vk_sync_timeline *timeline; member
96 struct vk_sync_timeline *timeline,
107 struct vk_sync_timeline *timeline,
Dvk_sync_binary.h53 struct vk_sync timeline; member
Dvk_queue.c321 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/
Dsync_device.cpp21 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()
Dgoldfish_sync.cpp162 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/
Dsync_device.h33 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);
Dgoldfish_sync.h121 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/
DSyncThread.cpp134 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 …]
DSyncThread.h68 void triggerWaitVk(VkFence vkFence, uint64_t timeline);
77 void triggerWait(gl::EmulatedEglFenceSync* fenceSync, uint64_t timeline);
98 void triggerWaitVkQsri(VkImage vkImage, uint64_t timeline);
DRenderControl.cpp262 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 …]
DVirtioGpuTimelines.cpp92 for (const auto& [ring, timeline] : mTimelineQueues) { in poll()
/hardware/interfaces/graphics/composer/2.4/vts/functional/
DVtsHalGraphicsComposerV2_4TargetTest.cpp173 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/
DVK_KHR_timeline_semaphore.adoc32 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 …]
DVK_KHR_ray_tracing_maintenance1.adoc56 acceleration structure size on the device timeline
/hardware/interfaces/graphics/composer/2.4/utils/passthrough/include/composer-passthrough/2.4/
DHwcHal.h148 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/
DComposerHal.h51 const VsyncPeriodChangeTimeline& timeline) = 0;
70 VsyncPeriodChangeTimeline* timeline) = 0;
DComposerClient.h153 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/
DComposerVts.cpp96 VsyncPeriodChangeTimeline* timeline) { in setActiveConfigWithConstraints() argument
101 *timeline = tmpTimeline; in setActiveConfigWithConstraints()
/hardware/interfaces/graphics/composer/aidl/vts/
DVtsHalGraphicsComposer3_TargetTest.cpp502 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/
DComposerVts.h87 VsyncPeriodChangeTimeline* timeline);
/hardware/google/graphics/common/hwc3/
DComposerClient.h49 const VsyncPeriodChangeTimeline& timeline) override;
117 VsyncPeriodChangeTimeline* timeline) override;
DComposerClient.cpp347 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/
DIComposerCallback.hal42 * @param updatedTimeline is the new timeline for the vsync period change.

12