/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_semaphore_vk.cpp | 41 &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 D | gpu_semaphore_vk.h | 30 VkSemaphore semaphore { VK_NULL_HANDLE };
|
H A D | node_context_pool_manager_vk.h | 39 VkSemaphore semaphore { VK_NULL_HANDLE };
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
H A D | rs_surface_ohos_vulkan.cpp | 110 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 D | rs_surface_ohos_vulkan.h | 42 VkSemaphore semaphore) in DestroySemaphoreInfo() 43 : mDestroyFunction(destroyFunction), mDevice(device), mSemaphore(semaphore) {} in DestroySemaphoreInfo() 103 void CreateVkSemaphore(VkSemaphore& semaphore,
|
H A D | rs_vulkan_context.cpp | 99 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 D | rs_vulkan_context.h | 48 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 D | semaphore_linux.c | 16 #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 D | surface_ohos_vulkan.cpp | 126 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 D | surface_ohos_vulkan.h | 49 VkSemaphore* semaphore, RsVulkanContext& vkContext, NativeBufferUtils::NativeSurfaceInfo& nativeSurface);
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/ |
H A D | btm_thread.c | 25 #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 D | mutex.h | 20 #include <semaphore.h>
|
/foundation/distributedhardware/device_manager/services/implementation/include/ability/ |
H A D | dm_ability_manager.h | 19 #include <semaphore.h>
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_common_header.h | 22 #include <semaphore.h>
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/ |
H A D | sys_common_header.h | 29 #include <semaphore.h>
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | surface.cpp | 157 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 D | modal_system_app_freeze_uiextension.h | 22 #include <semaphore.h>
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_daemon_client.h | 19 #include <semaphore.h>
|
/foundation/multimedia/image_effect/frameworks/native/render_environment/base/ |
H A D | im_base_type.h | 40 #include <semaphore.h>
|
/foundation/multimedia/av_session/frameworks/js/napi/session/include/ |
H A D | napi_async_callback.h | 21 #include <semaphore.h>
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_surface_test.cpp | 130 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 D | rssurfaceohosvulkan_fuzzer.cpp | 267 VkSemaphore semaphore;
in DoCreateVkSemaphore() local 268 rsSurfaceOhosVulkan->CreateVkSemaphore(semaphore, vkContext, nativeSurface);
in DoCreateVkSemaphore()
|
/foundation/ability/ability_runtime/test/unittest/lifecycle_test/ |
H A D | lifecycle_test_base.h | 21 #include <semaphore.h>
|
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_semaphore.h | 24 #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 D | recorder_sink.h | 24 #include <semaphore.h>
|