| /* |
| * Copyright 2015, The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| * THIS FILE WAS GENERATED BY apic. DO NOT EDIT. |
| */ |
| |
| |
| #include "vulkan_types.h" |
| #include "vulkan_spy.h" |
| #include "vulkan_exports.h" |
| #include "spy.h" |
| |
| #include <gapic/get_gfx_proc_address.h> |
| #include <gapic/lock.h> |
| #include <gapic/log.h> |
| #include <gapic/target.h> // STDCALL |
| |
| #include <memory> |
| |
| #include <cstring> |
| |
| using namespace gapii; |
| |
| namespace gapii { |
| VKAPI_ATTR uint32_t VKAPI_CALL vkQueueSignalReleaseImageANDROID(VkQueue queue, uint32_t waitSemaphoreCount, VkSemaphore* pWaitSemaphores, VkImage image, int* pNativeFenceFd) { |
| Spy* s = Spy::get(); |
| s->VulkanSpy::enter("vkQueueSignalReleaseImageANDROID"); |
| auto _result_ = s->vkQueueSignalReleaseImageANDROID(queue, waitSemaphoreCount, pWaitSemaphores, image, pNativeFenceFd); |
| s->VulkanSpy::exit(); |
| return _result_; |
| } |
| VKAPI_ATTR uint32_t VKAPI_CALL vkQueueSubmit(VkQueue queue, uint32_t submitCount, VkSubmitInfo* pSubmits, VkFence fence) { |
| Spy* s = Spy::get(); |
| s->VulkanSpy::enter("vkQueueSubmit"); |
| auto _result_ = s->vkQueueSubmit(queue, submitCount, pSubmits, fence); |
| s->VulkanSpy::exit(); |
| return _result_; |
| } |
| VKAPI_ATTR uint32_t VKAPI_CALL vkQueueWaitIdle(VkQueue queue) { |
| Spy* s = Spy::get(); |
| s->VulkanSpy::enter("vkQueueWaitIdle"); |
| auto _result_ = s->vkQueueWaitIdle(queue); |
| s->VulkanSpy::exit(); |
| return _result_; |
| } |
| VKAPI_ATTR uint32_t VKAPI_CALL vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, VkBindSparseInfo* pBindInfo, VkFence fence) { |
| Spy* s = Spy::get(); |
| s->VulkanSpy::enter("vkQueueBindSparse"); |
| auto _result_ = s->vkQueueBindSparse(queue, bindInfoCount, pBindInfo, fence); |
| s->VulkanSpy::exit(); |
| return _result_; |
| } |
| VKAPI_ATTR uint32_t VKAPI_CALL vkQueuePresentKHR(VkQueue queue, VkPresentInfoKHR* pPresentInfo) { |
| Spy* s = Spy::get(); |
| s->VulkanSpy::enter("vkQueuePresentKHR"); |
| auto _result_ = s->vkQueuePresentKHR(queue, pPresentInfo); |
| s->VulkanSpy::exit(); |
| return _result_; |
| } |
| } |