Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 - 25 of 56) sorted by relevance

123

/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_semaphore_vk.cpp41 &plat_.semaphore)); // pSemaphore in GpuSemaphoreVk()
49 plat_.semaphore = VulkanHandleCast<VkSemaphore>(handle); in GpuSemaphoreVk()
55 if (ownsResources_ && plat_.semaphore) { in ~GpuSemaphoreVk()
59 plat_.semaphore, // semaphore in ~GpuSemaphoreVk()
62 plat_.semaphore = VK_NULL_HANDLE; in ~GpuSemaphoreVk()
67 return VulkanHandleCast<uint64_t>(plat_.semaphore); in GetHandle()
H A Dgpu_semaphore_vk.h30 VkSemaphore semaphore { VK_NULL_HANDLE };
H A Dnode_context_pool_manager_vk.h39 VkSemaphore semaphore { VK_NULL_HANDLE };
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_surface_ohos_vulkan.cpp110 VkSemaphore& semaphore, RsVulkanContext& vkContext, NativeBufferUtils::NativeSurfaceInfo& nativeSurface) in CreateVkSemaphore()
117 auto res = vkInterface.vkCreateSemaphore(vkInterface.GetDevice(), &semaphoreInfo, nullptr, &semaphore); in CreateVkSemaphore()
120 semaphore = VK_NULL_HANDLE; in CreateVkSemaphore()
128 importSemaphoreFdInfo.semaphore = semaphore; in CreateVkSemaphore()
135 vkInterface.vkDestroySemaphore(vkInterface.GetDevice(), semaphore, nullptr); in CreateVkSemaphore()
136 semaphore = VK_NULL_HANDLE; in CreateVkSemaphore()
213 VkSemaphore semaphore = VK_NULL_HANDLE; in RequestFrame() local
214 CreateVkSemaphore(semaphore, vkContext, nativeSurface); in RequestFrame()
215 if (semaphore ! in RequestFrame()
109 CreateVkSemaphore( VkSemaphore& semaphore, RsVulkanContext& vkContext, NativeBufferUtils::NativeSurfaceInfo& nativeSurface) CreateVkSemaphore() argument
255 VkSemaphore semaphore = vkContext.RequireSemaphore(); FlushFrame() local
[all...]
H A Drs_surface_ohos_vulkan.h42 VkSemaphore semaphore) in DestroySemaphoreInfo()
43 : mDestroyFunction(destroyFunction), mDevice(device), mSemaphore(semaphore) {} in DestroySemaphoreInfo()
103 void CreateVkSemaphore(VkSemaphore& semaphore,
H A Drs_vulkan_context.cpp99 vkDestroySemaphore(device_, semaphoreFence.semaphore, nullptr); in ~RsVulkanInterface()
477 RS_LOGE("Device lost clear all semaphore fences, count [%{public}zu] ", usedSemaphoreFenceList_.size()); in DestroyAllSemaphoreFence()
479 vkDestroySemaphore(device_, semaphoreFence.semaphore, nullptr); in DestroyAllSemaphoreFence()
488 // 3000 means too many used semaphore fences in RequireSemaphore()
490 RS_LOGE("Too many used semaphore fences, count [%{public}zu] ", usedSemaphoreFenceList_.size()); in RequireSemaphore()
495 vkDestroySemaphore(device_, semaphoreFence.semaphore, nullptr); in RequireSemaphore()
502 vkDestroySemaphore(device_, it->semaphore, nullptr); in RequireSemaphore()
503 it->semaphore = VK_NULL_HANDLE; in RequireSemaphore()
515 VkSemaphore semaphore; in RequireSemaphore() local
516 auto err = vkCreateSemaphore(device_, &semaphoreInfo, nullptr, &semaphore); in RequireSemaphore()
523 SendSemaphoreWithFd(VkSemaphore semaphore, int fenceFd) SendSemaphoreWithFd() argument
[all...]
H A Drs_vulkan_context.h48 CallbackSemaphoreInfo(RsVulkanInterface& vkContext, VkSemaphore semaphore, int fenceFd) in CallbackSemaphoreInfo()
50 mSemaphore(semaphore), in CallbackSemaphoreInfo()
216 void SendSemaphoreWithFd(VkSemaphore semaphore, int fenceFd);
261 VkSemaphore semaphore; member
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dsemaphore_linux.c16 #include "platform/include/semaphore.h"
49 Semaphore *semaphore = (Semaphore *)malloc(sizeof(Semaphore)); in SemaphoreCreate() local
50 if (semaphore == NULL) { in SemaphoreCreate()
56 (void)memset_s(semaphore, sizeof(Semaphore), 0, sizeof(Semaphore)); in SemaphoreCreate()
57 semaphore->fd = efd; in SemaphoreCreate()
58 semaphore->mutex = mutex; in SemaphoreCreate()
60 return semaphore; in SemaphoreCreate()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/
H A Dsurface_ohos_vulkan.cpp126 VkSemaphore* semaphore, RsVulkanContext& vkContext, NativeBufferUtils::NativeSurfaceInfo& nativeSurface) in CreateVkSemaphore()
133 rsInterface.vkCreateSemaphore(rsInterface.GetDevice(), &semaphoreInfo, nullptr, semaphore); in CreateVkSemaphore()
138 importSemaphoreFdInfo.semaphore = *semaphore; in CreateVkSemaphore()
211 VkSemaphore semaphore; in NativeRequestFrame() local
212 CreateVkSemaphore(&semaphore, vkContext, nativeSurface); in NativeRequestFrame()
213 nativeSurface.drawingSurface->Wait(1, semaphore); in NativeRequestFrame()
271 VkSemaphore semaphore; in NativeFlushFrame() local
272 vkContext.vkCreateSemaphore(vkContext.GetDevice(), &semaphoreInfo, nullptr, &semaphore); in NativeFlushFrame()
275 backendSemaphore.initVulkan(semaphore); in NativeFlushFrame()
125 CreateVkSemaphore( VkSemaphore* semaphore, RsVulkanContext& vkContext, NativeBufferUtils::NativeSurfaceInfo& nativeSurface) CreateVkSemaphore() argument
[all...]
H A Dsurface_ohos_vulkan.h49 VkSemaphore* semaphore, RsVulkanContext& vkContext, NativeBufferUtils::NativeSurfaceInfo& nativeSurface);
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_thread.c25 #include "platform/include/semaphore.h"
85 Semaphore *semaphore; member
101 if (context->semaphore != NULL) { in RunAllTaskInQueueTask()
102 SemaphorePost(context->semaphore); in RunAllTaskInQueueTask()
110 .semaphore = NULL, in RunAllTaskInQueue()
116 context.semaphore = SemaphoreCreate(0); in RunAllTaskInQueue()
118 SemaphoreWait(context.semaphore); in RunAllTaskInQueue()
119 SemaphoreDelete(context.semaphore); in RunAllTaskInQueue()
/foundation/multimedia/media_foundation/engine/include/foundation/osal/thread/
H A Dmutex.h20 #include <semaphore.h>
/foundation/distributedhardware/device_manager/services/implementation/include/ability/
H A Ddm_ability_manager.h19 #include <semaphore.h>
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_common_header.h22 #include <semaphore.h>
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_common_header.h29 #include <semaphore.h>
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dsurface.cpp157 void Surface::Wait(int32_t time, const VkSemaphore& semaphore) in Wait() argument
165 impl_->Wait(time, semaphore); in Wait()
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dmodal_system_app_freeze_uiextension.h22 #include <semaphore.h>
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_daemon_client.h19 #include <semaphore.h>
/foundation/multimedia/image_effect/frameworks/native/render_environment/base/
H A Dim_base_type.h40 #include <semaphore.h>
/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_async_callback.h21 #include <semaphore.h>
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_surface_test.cpp130 VkSemaphore semaphore; in HWTEST_F() local
131 surface->Wait(5, semaphore); // 5: time in HWTEST_F()
136 surface->Wait(1000, semaphore); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rssurfaceohosvulkan_fuzzer/
H A Drssurfaceohosvulkan_fuzzer.cpp267 VkSemaphore semaphore; in DoCreateVkSemaphore() local
268 rsSurfaceOhosVulkan->CreateVkSemaphore(semaphore, vkContext, nativeSurface); in DoCreateVkSemaphore()
/foundation/ability/ability_runtime/test/unittest/lifecycle_test/
H A Dlifecycle_test_base.h21 #include <semaphore.h>
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/
H A Dgraphic_semaphore.h24 #include <semaphore.h>
31 static constexpr int32_t MAX_SEM_COUNT = 1000; // 1000: max number of semaphore count
78 /** Increases the count of the specified semaphore object by a specified amount. */
/foundation/multimedia/media_lite/services/recorder_lite/impl/include/
H A Drecorder_sink.h24 #include <semaphore.h>

Completed in 15 milliseconds

123