/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_pipe_sync.c | 28 lvp_pipe_sync_validate(ASSERTED struct lvp_pipe_sync *sync) in lvp_pipe_sync_validate() argument 30 if (sync->signaled) in lvp_pipe_sync_validate() 31 assert(sync->fence == NULL); in lvp_pipe_sync_validate() 39 struct lvp_pipe_sync *sync = vk_sync_as_lvp_pipe_sync(vk_sync); in lvp_pipe_sync_init() local 41 mtx_init(&sync->lock, mtx_plain); in lvp_pipe_sync_init() 42 cnd_init(&sync->changed); in lvp_pipe_sync_init() 43 sync->signaled = (initial_value != 0); in lvp_pipe_sync_init() 44 sync->fence = NULL; in lvp_pipe_sync_init() 54 struct lvp_pipe_sync *sync = vk_sync_as_lvp_pipe_sync(vk_sync); in lvp_pipe_sync_finish() local 56 lvp_pipe_sync_validate(sync); in lvp_pipe_sync_finish() 64 lvp_pipe_sync_signal_with_fence(struct lvp_device *device, struct lvp_pipe_sync *sync, struct pipe_fence_handle *fence) lvp_pipe_sync_signal_with_fence() argument 82 struct lvp_pipe_sync *sync = vk_sync_as_lvp_pipe_sync(vk_sync); lvp_pipe_sync_signal() local 100 struct lvp_pipe_sync *sync = vk_sync_as_lvp_pipe_sync(vk_sync); lvp_pipe_sync_reset() local 143 lvp_pipe_sync_wait_locked(struct lvp_device *device, struct lvp_pipe_sync *sync, uint64_t wait_value, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) lvp_pipe_sync_wait_locked() argument 230 struct lvp_pipe_sync *sync = vk_sync_as_lvp_pipe_sync(vk_sync); lvp_pipe_sync_wait() local [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_sync.c | 82 struct vk_sync *sync, in vk_sync_init() 94 assert(type->size >= sizeof(*sync)); in vk_sync_init() 95 memset(sync, 0, type->size); in vk_sync_init() 96 sync->type = type; in vk_sync_init() 97 sync->flags = flags; in vk_sync_init() 99 return type->init(device, sync, initial_value); in vk_sync_init() 104 struct vk_sync *sync) in vk_sync_finish() 106 sync->type->finish(device, sync); in vk_sync_finish() 116 struct vk_sync *sync; in vk_sync_create() local 81 vk_sync_init(struct vk_device *device, struct vk_sync *sync, const struct vk_sync_type *type, enum vk_sync_flags flags, uint64_t initial_value) vk_sync_init() argument 103 vk_sync_finish(struct vk_device *device, struct vk_sync *sync) vk_sync_finish() argument 135 vk_sync_destroy(struct vk_device *device, struct vk_sync *sync) vk_sync_destroy() argument 143 vk_sync_signal(struct vk_device *device, struct vk_sync *sync, uint64_t value) vk_sync_signal() argument 158 vk_sync_get_value(struct vk_device *device, struct vk_sync *sync, uint64_t *value) vk_sync_get_value() argument 167 vk_sync_reset(struct vk_device *device, struct vk_sync *sync) vk_sync_reset() argument 187 assert_valid_wait(struct vk_sync *sync, uint64_t wait_value, enum vk_sync_wait_flags wait_flags) assert_valid_wait() argument 214 __vk_sync_wait(struct vk_device *device, struct vk_sync *sync, uint64_t wait_value, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) __vk_sync_wait() argument 240 vk_sync_wait(struct vk_device *device, struct vk_sync *sync, uint64_t wait_value, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) vk_sync_wait() argument 349 vk_sync_import_opaque_fd(struct vk_device *device, struct vk_sync *sync, int fd) vk_sync_import_opaque_fd() argument 364 vk_sync_export_opaque_fd(struct vk_device *device, struct vk_sync *sync, int *fd) vk_sync_export_opaque_fd() argument 380 vk_sync_import_sync_file(struct vk_device *device, struct vk_sync *sync, int sync_file) vk_sync_import_sync_file() argument 396 vk_sync_export_sync_file(struct vk_device *device, struct vk_sync *sync, int *sync_file) vk_sync_export_sync_file() argument [all...] |
H A D | vk_sync.h | 39 /** Set if a sync type supports the binary mode of operation 59 /** Set if a sync type supports the timeline mode of operation 80 /** Set if this sync supports GPU waits */ 83 /** Set if a sync type supports multiple GPU waits on one signal state 97 /** Set if a sync type supports vk_sync_wait() and vk_sync_wait_many() */ 100 /** Set if a sync type supports vk_sync_reset() 106 /** Set if a sync type supports vk_sync_signal() */ 111 * vk_sync_wait_many() will support the bit regardless. If the sync type 116 /** Set if a sync type supports the VK_SYNC_WAIT_PENDING bit 123 /** Set if a sync typ 295 struct vk_sync *sync; global() member 302 struct vk_sync *sync; global() member [all...] |
H A D | vk_sync_binary.c | 29 to_vk_sync_binary(struct vk_sync *sync) in to_vk_sync_binary() argument 31 assert(sync->type->init == vk_sync_binary_init); in to_vk_sync_binary() 33 return container_of(sync, struct vk_sync_binary, sync); in to_vk_sync_binary() 38 struct vk_sync *sync, in vk_sync_binary_init() 41 struct vk_sync_binary *binary = to_vk_sync_binary(sync); in vk_sync_binary_init() 44 container_of(binary->sync.type, struct vk_sync_binary_type, sync); in vk_sync_binary_init() 46 assert(!(sync->flags & VK_SYNC_IS_TIMELINE)); in vk_sync_binary_init() 47 assert(!(sync in vk_sync_binary_init() 37 vk_sync_binary_init(struct vk_device *device, struct vk_sync *sync, uint64_t initial_value) vk_sync_binary_init() argument 56 vk_sync_binary_finish(struct vk_device *device, struct vk_sync *sync) vk_sync_binary_finish() argument 65 vk_sync_binary_reset(struct vk_device *device, struct vk_sync *sync) vk_sync_binary_reset() argument 76 vk_sync_binary_signal(struct vk_device *device, struct vk_sync *sync, uint64_t value) vk_sync_binary_signal() argument [all...] |
H A D | vk_drm_syncobj.c | 38 to_drm_syncobj(struct vk_sync *sync) in to_drm_syncobj() argument 40 assert(vk_sync_type_is_drm_syncobj(sync->type)); in to_drm_syncobj() 41 return container_of(sync, struct vk_drm_syncobj, base); in to_drm_syncobj() 46 struct vk_sync *sync, in vk_drm_syncobj_init() 49 struct vk_drm_syncobj *sobj = to_drm_syncobj(sync); in vk_drm_syncobj_init() 52 if (!(sync->flags & VK_SYNC_IS_TIMELINE) && initial_value) in vk_drm_syncobj_init() 62 if ((sync->flags & VK_SYNC_IS_TIMELINE) && initial_value) { in vk_drm_syncobj_init() 66 vk_drm_syncobj_finish(device, sync); in vk_drm_syncobj_init() 77 struct vk_sync *sync) in vk_drm_syncobj_finish() 79 struct vk_drm_syncobj *sobj = to_drm_syncobj(sync); in vk_drm_syncobj_finish() 45 vk_drm_syncobj_init(struct vk_device *device, struct vk_sync *sync, uint64_t initial_value) vk_drm_syncobj_init() argument 76 vk_drm_syncobj_finish(struct vk_device *device, struct vk_sync *sync) vk_drm_syncobj_finish() argument 87 vk_drm_syncobj_signal(struct vk_device *device, struct vk_sync *sync, uint64_t value) vk_drm_syncobj_signal() argument 108 vk_drm_syncobj_get_value(struct vk_device *device, struct vk_sync *sync, uint64_t *value) vk_drm_syncobj_get_value() argument 125 vk_drm_syncobj_reset(struct vk_device *device, struct vk_sync *sync) vk_drm_syncobj_reset() argument 141 sync_has_sync_file(struct vk_device *device, struct vk_sync *sync) sync_has_sync_file() argument 294 vk_drm_syncobj_import_opaque_fd(struct vk_device *device, struct vk_sync *sync, int fd) vk_drm_syncobj_import_opaque_fd() argument 317 vk_drm_syncobj_export_opaque_fd(struct vk_device *device, struct vk_sync *sync, int *fd) vk_drm_syncobj_export_opaque_fd() argument 334 vk_drm_syncobj_import_sync_file(struct vk_device *device, struct vk_sync *sync, int sync_file) vk_drm_syncobj_import_sync_file() argument 351 vk_drm_syncobj_export_sync_file(struct vk_device *device, struct vk_sync *sync, int *sync_file) vk_drm_syncobj_export_sync_file() argument [all...] |
H A D | vk_sync_timeline.c | 36 to_vk_sync_timeline(struct vk_sync *sync) in to_vk_sync_timeline() argument 38 assert(sync->type->init == vk_sync_timeline_init); in to_vk_sync_timeline() 40 return container_of(sync, struct vk_sync_timeline, sync); in to_vk_sync_timeline() 58 struct vk_sync *sync, in vk_sync_timeline_init() 61 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync); in vk_sync_timeline_init() 65 container_of(timeline->sync.type, struct vk_sync_timeline_type, sync); in vk_sync_timeline_init() 88 struct vk_sync *sync) in vk_sync_timeline_finish() 90 struct vk_sync_timeline *timeline = to_vk_sync_timeline(sync); in vk_sync_timeline_finish() 57 vk_sync_timeline_init(struct vk_device *device, struct vk_sync *sync, uint64_t initial_value) vk_sync_timeline_init() argument 87 vk_sync_timeline_finish(struct vk_device *device, struct vk_sync *sync) vk_sync_timeline_finish() argument 392 vk_sync_timeline_signal(struct vk_device *device, struct vk_sync *sync, uint64_t value) vk_sync_timeline_signal() argument 406 vk_sync_timeline_get_value(struct vk_device *device, struct vk_sync *sync, uint64_t *value) vk_sync_timeline_get_value() argument 504 vk_sync_timeline_wait(struct vk_device *device, struct vk_sync *sync, uint64_t wait_value, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) vk_sync_timeline_wait() argument [all...] |
H A D | vk_sync_timeline.h | 37 struct vk_sync_type sync; member 56 struct vk_sync sync; member 75 * and then anv_bo_timeline_sync_type.sync can be used as a sync type to 79 struct vk_sync sync; member 92 struct vk_sync *sync, 121 vk_sync_as_timeline(struct vk_sync *sync) in vk_sync_as_timeline() argument 123 if (!vk_sync_type_is_vk_sync_timeline(sync->type)) in vk_sync_as_timeline() 126 return container_of(sync, struct vk_sync_timeline, sync); in vk_sync_as_timeline() [all...] |
H A D | vk_sync_binary.h | 33 struct vk_sync_type sync; member 49 struct vk_sync sync; member 57 struct vk_sync *sync, 67 vk_sync_as_binary(struct vk_sync *sync) in vk_sync_as_binary() argument 69 if (!vk_sync_type_is_vk_sync_binary(sync->type)) in vk_sync_as_binary() 72 return container_of(sync, struct vk_sync_binary, sync); in vk_sync_as_binary()
|
H A D | vk_queue.c | 301 if ((submit->waits[i].sync->flags & VK_SYNC_IS_TIMELINE) && in vk_queue_submit_final() 306 if (vk_sync_type_is_dummy(submit->waits[i].sync->type)) { in vk_queue_submit_final() 312 submit->waits[i].sync = NULL; in vk_queue_submit_final() 321 vk_sync_as_timeline(submit->waits[i].sync); in vk_queue_submit_final() 338 submit->waits[i].sync = &submit->_wait_points[i]->sync; in vk_queue_submit_final() 343 vk_sync_as_binary(submit->waits[i].sync); in vk_queue_submit_final() 345 submit->waits[i].sync = &binary->timeline; in vk_queue_submit_final() 349 assert((submit->waits[i].sync->flags & VK_SYNC_IS_TIMELINE) || in vk_queue_submit_final() 366 assert((submit->signals[i].sync in vk_queue_submit_final() 667 struct vk_sync *sync; vk_queue_submit() local 748 struct vk_sync *sync = vk_semaphore_get_active_sync(semaphore); vk_queue_submit() local 1063 vk_queue_signal_sync(struct vk_queue *queue, struct vk_sync *sync, uint32_t signal_value) vk_queue_signal_sync() argument 1295 struct vk_sync *sync; vk_common_QueueWaitIdle() local [all...] |
H A D | vk_fence.c | 270 .sync = vk_fence_get_active_sync(fence), in vk_common_WaitForFences() 324 * differently, there can only be one OPAQUE_FD sync type. in vk_common_GetPhysicalDeviceExternalFenceProperties() 360 struct vk_sync *temporary = NULL, *sync; in vk_common_ImportFenceFdKHR() local 370 sync = temporary; in vk_common_ImportFenceFdKHR() 372 sync = &fence->permanent; in vk_common_ImportFenceFdKHR() 374 assert(handle_type & vk_sync_fence_handle_types(sync->type)); in vk_common_ImportFenceFdKHR() 379 result = vk_sync_import_opaque_fd(device, sync, fd); in vk_common_ImportFenceFdKHR() 383 result = vk_sync_import_sync_file(device, sync, fd); in vk_common_ImportFenceFdKHR() 426 struct vk_sync *sync = vk_fence_get_active_sync(fence); in vk_common_GetFenceFdKHR() local 431 result = vk_sync_export_opaque_fd(device, sync, pF in vk_common_GetFenceFdKHR() [all...] |
/third_party/mesa3d/src/egl/main/ |
H A D | eglsync.c | 39 * Parse the list of sync attributes and return the proper error code. 42 _eglParseSyncAttribList(_EGLSync *sync, const EGLAttrib *attrib_list) in _eglParseSyncAttribList() argument 56 if (sync->Type == EGL_SYNC_CL_EVENT_KHR) { in _eglParseSyncAttribList() 57 sync->CLEvent = val; in _eglParseSyncAttribList() 63 if (sync->Type == EGL_SYNC_NATIVE_FENCE_ANDROID) { in _eglParseSyncAttribList() 65 sync->SyncFd = val; in _eglParseSyncAttribList() 76 _eglLog(_EGL_DEBUG, "bad sync attribute 0x%" PRIxPTR, attr); in _eglParseSyncAttribList() 86 _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type, in _eglInitSync() argument 91 _eglInitResource(&sync->Resource, sizeof(*sync), dis in _eglInitSync() 123 _eglGetSyncAttrib(_EGLDisplay *disp, _EGLSync *sync, EGLint attribute, EGLAttrib *value) _eglGetSyncAttrib() argument [all...] |
H A D | eglsync.h | 42 /* A sync is a display resource */ 54 _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type, 59 _eglGetSyncAttrib(_EGLDisplay *disp, _EGLSync *sync, 64 * Increment reference count for the sync. 67 _eglGetSync(_EGLSync *sync) in _eglGetSync() argument 69 if (sync) in _eglGetSync() 70 _eglGetResource(&sync->Resource); in _eglGetSync() 71 return sync; in _eglGetSync() 76 * Decrement reference count for the sync. 79 _eglPutSync(_EGLSync *sync) in _eglPutSync() argument 90 _eglLinkSync(_EGLSync *sync) _eglLinkSync() argument 101 _eglUnlinkSync(_EGLSync *sync) _eglUnlinkSync() argument 114 _EGLSync *sync = (_EGLSync *) handle; _eglLookupSync() local 125 _eglGetSyncHandle(_EGLSync *sync) _eglGetSyncHandle() argument [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_bo_sync.c | 29 to_anv_bo_sync(struct vk_sync *sync) in to_anv_bo_sync() argument 31 assert(sync->type == &anv_bo_sync_type); in to_anv_bo_sync() 32 return container_of(sync, struct anv_bo_sync, sync); in to_anv_bo_sync() 41 struct anv_bo_sync *sync = to_anv_bo_sync(vk_sync); in anv_bo_sync_init() local 43 sync->state = initial_value ? ANV_BO_SYNC_STATE_SIGNALED : in anv_bo_sync_init() 46 return anv_device_alloc_bo(device, "bo-sync", 4096, in anv_bo_sync_init() 50 &sync->bo); in anv_bo_sync_init() 58 struct anv_bo_sync *sync = to_anv_bo_sync(vk_sync); in anv_bo_sync_finish() local 60 anv_device_release_bo(device, sync in anv_bo_sync_finish() 67 struct anv_bo_sync *sync = to_anv_bo_sync(vk_sync); anv_bo_sync_reset() local 114 struct anv_bo_sync *sync = to_anv_bo_sync(waits[i].sync); anv_bo_sync_wait() local 171 struct anv_bo_sync *sync = to_anv_bo_sync(waits[i].sync); anv_bo_sync_wait() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLSyncTest.cpp | 45 // If the client API doesn't have the necessary extension, test that sync creation fails and in TEST_P() 64 EGLSyncKHR sync = eglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, nullptr); in TEST_P() local 65 EXPECT_NE(sync, EGL_NO_SYNC_KHR); in TEST_P() 67 EXPECT_EGL_TRUE(eglDestroySyncKHR(display, sync)); in TEST_P() 71 sync = eglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, emptyAttributes); in TEST_P() 72 EXPECT_NE(sync, EGL_NO_SYNC_KHR); in TEST_P() 74 // DestroySync generates BAD_PARAMETER if the sync is not valid in TEST_P() 101 // ClientWaitSync generates EGL_BAD_PARAMETER if the sync object is not valid in TEST_P() 105 // GetSyncAttrib generates EGL_BAD_PARAMETER if the sync object is not valid, and value is not in TEST_P() 116 EXPECT_EGL_FALSE(eglGetSyncAttribKHR(display, sync, EGL_CL_EVENT_HANDL in TEST_P() 143 EGLSyncKHR sync = eglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, nullptr); TEST_P() local 170 EGLSyncKHR sync = eglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, nullptr); TEST_P() local 207 EGLSyncKHR sync = eglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, nullptr); global() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | FenceSyncTests.cpp | 146 GLsync sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in TEST_P() local 149 EXPECT_GL_TRUE(glIsSync(sync)); in TEST_P() 156 GLsync sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in TEST_P() local 158 // DeleteSync generates INVALID_VALUE when the sync is not valid in TEST_P() 172 EXPECT_GLENUM_EQ(GL_WAIT_FAILED, glClientWaitSync(sync, GL_SYNC_FLUSH_COMMANDS_BIT | 0x2, 0)); in TEST_P() 175 // glClientWaitSync generates GL_INVALID_VALUE and returns GL_WAIT_FAILED if the sync object is in TEST_P() 182 glWaitSync(sync, 1, GL_TIMEOUT_IGNORED); in TEST_P() 186 glWaitSync(sync, 0, 0); in TEST_P() 189 // glWaitSync generates GL_INVALID_VALUE if the sync object is not valid in TEST_P() 197 glGetSynciv(sync, GL_OBJECT_TYP in TEST_P() 215 GLsync sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); TEST_P() local 235 GLsync sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); TEST_P() local 293 GLsync sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); TEST_P() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | syncobj.c | 28 * Unlike textures and other objects that are shared between contexts, sync 30 * and delete behavior of sync objects is slightly different. References to 31 * sync objects are added: 45 * As with shader objects, sync object names become invalid as soon as 77 * Allocate/init the context state related to sync objects. 87 * Free the context state related to sync objects. 142 * - sync is unsignaled when ClientWaitSync is called, in __client_wait_sync() 146 * immediately after the creation of sync. in __client_wait_sync() 161 * Check if the given sync object is: 163 * - not in sync object 174 _mesa_get_and_ref_sync(struct gl_context *ctx, GLsync sync, bool incRefCount) _mesa_get_and_ref_sync() argument 214 _mesa_IsSync(GLsync sync) _mesa_IsSync() argument 224 delete_sync(struct gl_context *ctx, GLsync sync, bool no_error) delete_sync() argument 256 _mesa_DeleteSync_no_error(GLsync sync) _mesa_DeleteSync_no_error() argument 264 _mesa_DeleteSync(GLsync sync) _mesa_DeleteSync() argument 369 _mesa_ClientWaitSync_no_error(GLsync sync, GLbitfield flags, GLuint64 timeout) _mesa_ClientWaitSync_no_error() argument 379 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) _mesa_ClientWaitSync() argument 437 _mesa_WaitSync_no_error(GLsync sync, GLbitfield flags, GLuint64 timeout) _mesa_WaitSync_no_error() argument 447 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) _mesa_WaitSync() argument 475 _mesa_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) _mesa_GetSynciv() argument [all...] |
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_sync.c | 40 struct vk_sync *sync, in dzn_sync_init() 43 struct dzn_sync *dsync = container_of(sync, struct dzn_sync, vk); in dzn_sync_init() 46 assert(!(sync->flags & VK_SYNC_IS_SHAREABLE)); in dzn_sync_init() 59 struct vk_sync *sync) in dzn_sync_finish() 61 struct dzn_sync *dsync = container_of(sync, struct dzn_sync, vk); in dzn_sync_finish() 68 struct vk_sync *sync, in dzn_sync_signal() 71 struct dzn_sync *dsync = container_of(sync, struct dzn_sync, vk); in dzn_sync_signal() 73 if (!(sync->flags & VK_SYNC_IS_TIMELINE)) in dzn_sync_signal() 84 struct vk_sync *sync, in dzn_sync_get_value() 87 struct dzn_sync *dsync = container_of(sync, struc in dzn_sync_get_value() 39 dzn_sync_init(struct vk_device *device, struct vk_sync *sync, uint64_t initial_value) dzn_sync_init() argument 58 dzn_sync_finish(struct vk_device *device, struct vk_sync *sync) dzn_sync_finish() argument 67 dzn_sync_signal(struct vk_device *device, struct vk_sync *sync, uint64_t value) dzn_sync_signal() argument 83 dzn_sync_get_value(struct vk_device *device, struct vk_sync *sync, uint64_t *value) dzn_sync_get_value() argument 94 dzn_sync_reset(struct vk_device *device, struct vk_sync *sync) dzn_sync_reset() argument 152 struct dzn_sync *sync = container_of(waits[i].sync, struct dzn_sync, vk); dzn_sync_wait() local [all...] |
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
H A D | pvr_srv_sync.c | 43 struct vk_sync *sync, in pvr_srv_sync_init() 46 struct pvr_srv_sync *srv_sync = to_srv_sync(sync); in pvr_srv_sync_init() 54 void pvr_srv_sync_finish(struct vk_device *device, struct vk_sync *sync) in pvr_srv_sync_finish() argument 56 struct pvr_srv_sync *srv_sync = to_srv_sync(sync); in pvr_srv_sync_finish() 83 struct vk_sync *sync, in pvr_srv_sync_signal() 86 struct pvr_srv_sync *srv_sync = to_srv_sync(sync); in pvr_srv_sync_signal() 94 struct vk_sync *sync) in pvr_srv_sync_reset() 96 struct pvr_srv_sync *srv_sync = to_srv_sync(sync); in pvr_srv_sync_reset() 148 struct pvr_srv_sync *srv_sync = to_srv_sync(waits[i].sync); in pvr_srv_sync_wait_many() 154 * should make sure all the sync hav in pvr_srv_sync_wait_many() 42 pvr_srv_sync_init(struct vk_device *device, struct vk_sync *sync, uint64_t initial_value) pvr_srv_sync_init() argument 82 pvr_srv_sync_signal(struct vk_device *device, struct vk_sync *sync, UNUSED uint64_t value) pvr_srv_sync_signal() argument 93 pvr_srv_sync_reset(struct vk_device *device, struct vk_sync *sync) pvr_srv_sync_reset() argument 267 pvr_srv_sync_import_sync_file(struct vk_device *device, struct vk_sync *sync, int sync_file) pvr_srv_sync_import_sync_file() argument 285 pvr_srv_sync_export_sync_file(struct vk_device *device, struct vk_sync *sync, int *sync_file) pvr_srv_sync_export_sync_file() argument [all...] |
H A D | pvr_srv_sync.h | 47 void pvr_srv_sync_finish(struct vk_device *device, struct vk_sync *sync); 55 static inline struct pvr_srv_sync *to_srv_sync(struct vk_sync *sync) in to_srv_sync() argument 57 assert(!sync || pvr_sync_type_is_srv_sync(sync->type)); in to_srv_sync() 58 return container_of(sync, struct pvr_srv_sync, base); in to_srv_sync()
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
H A D | CalendarICU.java | 40 sync(); in unwrap() 46 sync(); in add() 64 // calendar fields. See private void sync(). 70 sync(); in clone() 77 sync(); in compareTo() 96 sync(); in equals() 104 sync(); in get() 192 sync(); in getTimeInMillis() 203 sync(); in hashCode() 218 sync(); in roll() 279 private void sync() { sync() method in CalendarICU [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_drm.c | 407 vk_sync_is_tu_timeline_sync(const struct vk_sync *sync) in vk_sync_is_tu_timeline_sync() argument 409 return sync->type == &tu_timeline_sync_type; in vk_sync_is_tu_timeline_sync() 413 to_tu_timeline_sync(struct vk_sync *sync) in to_tu_timeline_sync() argument 415 assert(sync->type == &tu_timeline_sync_type); in to_tu_timeline_sync() 416 return container_of(sync, struct tu_timeline_sync, base); in to_tu_timeline_sync() 420 tu_syncobj_from_vk_sync(struct vk_sync *sync) in tu_syncobj_from_vk_sync() argument 423 if (vk_sync_is_tu_timeline_sync(sync)) { in tu_syncobj_from_vk_sync() 424 syncobj = to_tu_timeline_sync(sync)->syncobj; in tu_syncobj_from_vk_sync() 425 } else if (vk_sync_type_is_drm_syncobj(sync->type)) { in tu_syncobj_from_vk_sync() 426 syncobj = vk_sync_as_drm_syncobj(sync) in tu_syncobj_from_vk_sync() 440 struct tu_timeline_sync *sync = to_tu_timeline_sync(vk_sync); tu_timeline_sync_init() local 462 struct tu_timeline_sync *sync = to_tu_timeline_sync(vk_sync); tu_timeline_sync_finish() local 474 struct tu_timeline_sync *sync = to_tu_timeline_sync(vk_sync); tu_timeline_sync_reset() local 534 struct tu_timeline_sync *sync = to_tu_timeline_sync(waits[i].sync); tu_timeline_sync_wait() local 557 struct tu_timeline_sync *sync = submitted_syncs[i]; tu_timeline_sync_wait() local 578 struct tu_timeline_sync *sync = to_tu_timeline_sync(waits[i].sync); tu_timeline_sync_wait() local 1074 struct tu_timeline_sync *sync = tu_queue_submit_locked() local 1089 struct tu_timeline_sync *sync = tu_queue_submit_locked() local 1164 struct vk_sync *sync = submit->waits[i].sync; tu_queue_submit() local 1173 struct vk_sync *sync = submit->signals[i].sync; tu_queue_submit() local 1195 tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync) tu_syncobj_to_fd() argument [all...] |
H A D | tu_kgsl.c | 320 TU_FROM_HANDLE(tu_syncobj, sync, syncobjs[i]); in sync_merge() 323 if (!sync->timestamp_valid) in sync_merge() 327 ret.timestamp = sync->timestamp; in sync_merge() 329 ret.timestamp = max_ts(ret.timestamp, sync->timestamp); in sync_merge() 331 ret.timestamp = min_ts(ret.timestamp, sync->timestamp); in sync_merge() 335 sync->timestamp_valid = false; in sync_merge() 473 struct kgsl_command_syncpoint sync = { in tu_QueueSubmit2() local 485 .synclist = (uintptr_t) &sync, in tu_QueueSubmit2() 509 "Failed to create sync file for timestamp: %s\n", in tu_QueueSubmit2() 539 struct tu_syncobj *sync in sync_create() local 696 tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync) tu_syncobj_to_fd() argument [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_renderer.h | 32 * A sync consists of a uint64_t counter. The counter can be updated by CPU 88 * Submit cs to the virtual sync queue identified by sync_queue_index. The 91 * VkQueue, the virtual sync queue is signaled. 97 * When sync_queue_cpu is true, it specifies the special CPU sync queue, 104 /* syncs to update when the virtual sync queue is signaled */ 206 struct vn_renderer_sync *sync); 209 struct vn_renderer_sync *sync, 214 struct vn_renderer_sync *sync, 219 struct vn_renderer_sync *sync, 224 struct vn_renderer_sync *sync, 423 vn_renderer_sync_destroy(struct vn_renderer *renderer, struct vn_renderer_sync *sync) vn_renderer_sync_destroy() argument 430 vn_renderer_sync_export_syncobj(struct vn_renderer *renderer, struct vn_renderer_sync *sync, bool sync_file) vn_renderer_sync_export_syncobj() argument 438 vn_renderer_sync_reset(struct vn_renderer *renderer, struct vn_renderer_sync *sync, uint64_t initial_val) vn_renderer_sync_reset() argument 446 vn_renderer_sync_read(struct vn_renderer *renderer, struct vn_renderer_sync *sync, uint64_t *val) vn_renderer_sync_read() argument 454 vn_renderer_sync_write(struct vn_renderer *renderer, struct vn_renderer_sync *sync, uint64_t val) vn_renderer_sync_write() argument [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_queue.c | 290 struct vk_sync *sync; in pvr_process_compute_cmd() local 297 &sync); in pvr_process_compute_cmd() 307 sync); in pvr_process_compute_cmd() 309 vk_sync_destroy(&device->vk, sync); in pvr_process_compute_cmd() 317 completions[PVR_JOB_TYPE_COMPUTE] = sync; in pvr_process_compute_cmd() 331 struct vk_sync *sync; in pvr_process_transfer_cmds() local 338 &sync); in pvr_process_transfer_cmds() 349 sync); in pvr_process_transfer_cmds() 351 vk_sync_destroy(&device->vk, sync); in pvr_process_transfer_cmds() 359 completions[PVR_JOB_TYPE_TRANSFER] = sync; in pvr_process_transfer_cmds() 370 struct vk_sync *sync; pvr_set_semaphore_payloads() local 429 struct vk_sync *sync; pvr_set_fence_payload() local 609 struct vk_sync *sync = vk_semaphore_get_active_sync(semaphore); pvr_QueueSubmit() local [all...] |
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/ |
H A D | RelationalStoreCloudSync.test.js | 539 * @tc.name cloud sync with no table, SyncMode is SYNC_MODE_TIME_FIRST and callback method
541 * @tc.desc cloud sync with no table, SyncMode is SYNC_MODE_TIME_FIRST and callback method
547 console.log(TAG + `cloud sync success:`);
555 console.log(TAG + `cloud sync fail, err code is ${err.code}, message is ${err.message}.`);
563 * @tc.name cloud sync with no table, SyncMode is SYNC_MODE_TIME_FIRST and promise method
565 * @tc.desc cloud sync with no table, SyncMode is SYNC_MODE_TIME_FIRST and promise method
571 console.log(TAG + `cloud sync success:`);
578 console.log(TAG + `cloud sync fail, err code is ${err.code}, message is ${err.message}.`);
586 * @tc.name cloud sync with table, SyncMode is SYNC_MODE_TIME_FIRST and callback method
588 * @tc.desc cloud sync wit [all...] |