Demo application that renders a triangle using Vulkan on the Pixel 3A.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

vulkan_ggp.h 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #ifndef VULKAN_GGP_H_
  2. #define VULKAN_GGP_H_ 1
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright (c) 2015-2019 The Khronos Group Inc.
  8. **
  9. ** Licensed under the Apache License, Version 2.0 (the "License");
  10. ** you may not use this file except in compliance with the License.
  11. ** You may obtain a copy of the License at
  12. **
  13. ** http://www.apache.org/licenses/LICENSE-2.0
  14. **
  15. ** Unless required by applicable law or agreed to in writing, software
  16. ** distributed under the License is distributed on an "AS IS" BASIS,
  17. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. ** See the License for the specific language governing permissions and
  19. ** limitations under the License.
  20. */
  21. /*
  22. ** This header is generated from the Khronos Vulkan XML API Registry.
  23. **
  24. */
  25. #define VK_GGP_stream_descriptor_surface 1
  26. #define VK_GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION 1
  27. #define VK_GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME "VK_GGP_stream_descriptor_surface"
  28. typedef VkFlags VkStreamDescriptorSurfaceCreateFlagsGGP;
  29. typedef struct VkStreamDescriptorSurfaceCreateInfoGGP {
  30. VkStructureType sType;
  31. const void* pNext;
  32. VkStreamDescriptorSurfaceCreateFlagsGGP flags;
  33. GgpStreamDescriptor streamDescriptor;
  34. } VkStreamDescriptorSurfaceCreateInfoGGP;
  35. typedef VkResult (VKAPI_PTR *PFN_vkCreateStreamDescriptorSurfaceGGP)(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
  36. #ifndef VK_NO_PROTOTYPES
  37. VKAPI_ATTR VkResult VKAPI_CALL vkCreateStreamDescriptorSurfaceGGP(
  38. VkInstance instance,
  39. const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo,
  40. const VkAllocationCallbacks* pAllocator,
  41. VkSurfaceKHR* pSurface);
  42. #endif
  43. #define VK_GGP_frame_token 1
  44. #define VK_GGP_FRAME_TOKEN_SPEC_VERSION 1
  45. #define VK_GGP_FRAME_TOKEN_EXTENSION_NAME "VK_GGP_frame_token"
  46. typedef struct VkPresentFrameTokenGGP {
  47. VkStructureType sType;
  48. const void* pNext;
  49. GgpFrameToken frameToken;
  50. } VkPresentFrameTokenGGP;
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54. #endif