diff options
author | 2025-01-09 05:37:52 -0800 | |
---|---|---|
committer | 2025-01-09 05:38:44 -0800 | |
commit | 5b48206c46a30c56d6acd4e900337f4561a4e260 (patch) | |
tree | 3a472b9cb4fbf866b94b3e7e5e62c0c4d875e506 /libs/hwui/renderthread | |
parent | 4109b47910ce9c361cc8cc0195963696c0eaf2e7 (diff) |
Modify the log information of semaphore in finishFrame
With the version change, the log information about the creation and acquisition failure of semaphore in the VulkanManager::finishFrame function is not updated. It is recommended to modify the log content to make the output log clearer.
Signed-off-by:
Shuangxi Xiang <xiangshuangxi@xiaomi.corp-partner.google.com>
Change-Id: I1cb5a73765d4f780dc004a68337a1bfbdf2565e8
Diffstat (limited to 'libs/hwui/renderthread')
-rw-r--r-- | libs/hwui/renderthread/VulkanManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/renderthread/VulkanManager.cpp b/libs/hwui/renderthread/VulkanManager.cpp index e3023937964e..a0d1cbc12578 100644 --- a/libs/hwui/renderthread/VulkanManager.cpp +++ b/libs/hwui/renderthread/VulkanManager.cpp @@ -674,7 +674,7 @@ VulkanManager::VkDrawResult VulkanManager::finishFrame(SkSurface* surface) { VkSemaphore semaphore; VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); ALOGE_IF(VK_SUCCESS != err, - "VulkanManager::makeSwapSemaphore(): Failed to create semaphore"); + "VulkanManager::finishFrame(): Failed to create semaphore"); if (err == VK_SUCCESS) { sharedSemaphore = sp<SharedSemaphoreInfo>::make(mDestroySemaphore, mDevice, semaphore); @@ -722,7 +722,7 @@ VulkanManager::VkDrawResult VulkanManager::finishFrame(SkSurface* surface) { int fenceFd = -1; VkResult err = mGetSemaphoreFdKHR(mDevice, &getFdInfo, &fenceFd); - ALOGE_IF(VK_SUCCESS != err, "VulkanManager::swapBuffers(): Failed to get semaphore Fd"); + ALOGE_IF(VK_SUCCESS != err, "VulkanManager::finishFrame(): Failed to get semaphore Fd"); drawResult.presentFence.reset(fenceFd); } else { ALOGE("VulkanManager::finishFrame(): Semaphore submission failed"); |