tree: 594de300735c94a01dc9d63df63a4e71e65a73f9 [path history] [tgz]
  1. android/
  2. doc/
  3. fuchsia/
  4. ggp/
  5. shaders/
  6. win32/
  7. xcb/
  8. BufferVk.cpp
  9. BufferVk.h
  10. BUILD.gn
  11. CommandGraph.cpp
  12. CommandGraph.h
  13. CompilerVk.cpp
  14. CompilerVk.h
  15. ContextVk.cpp
  16. ContextVk.h
  17. DeviceVk.cpp
  18. DeviceVk.h
  19. DisplayVk.cpp
  20. DisplayVk.h
  21. FenceNVVk.cpp
  22. FenceNVVk.h
  23. FramebufferVk.cpp
  24. FramebufferVk.h
  25. gen_vk_format_table.py
  26. gen_vk_internal_shaders.py
  27. gen_vk_mandatory_format_support_table.py
  28. GlslangWrapperVk.cpp
  29. GlslangWrapperVk.h
  30. ImageVk.cpp
  31. ImageVk.h
  32. MemoryObjectVk.cpp
  33. MemoryObjectVk.h
  34. OverlayVk.cpp
  35. OverlayVk.h
  36. PersistentCommandPool.cpp
  37. PersistentCommandPool.h
  38. ProgramPipelineVk.cpp
  39. ProgramPipelineVk.h
  40. ProgramVk.cpp
  41. ProgramVk.h
  42. QueryVk.cpp
  43. QueryVk.h
  44. README.md
  45. RenderbufferVk.cpp
  46. RenderbufferVk.h
  47. RendererVk.cpp
  48. RendererVk.h
  49. RenderTargetVk.cpp
  50. RenderTargetVk.h
  51. SamplerVk.cpp
  52. SamplerVk.h
  53. SecondaryCommandBuffer.cpp
  54. SecondaryCommandBuffer.h
  55. SemaphoreVk.cpp
  56. SemaphoreVk.h
  57. ShaderVk.cpp
  58. ShaderVk.h
  59. SurfaceVk.cpp
  60. SurfaceVk.h
  61. SyncVk.cpp
  62. SyncVk.h
  63. TextureVk.cpp
  64. TextureVk.h
  65. TransformFeedbackVk.cpp
  66. TransformFeedbackVk.h
  67. UtilsVk.cpp
  68. UtilsVk.h
  69. VertexArrayVk.cpp
  70. VertexArrayVk.h
  71. vk_cache_utils.cpp
  72. vk_cache_utils.h
  73. vk_caps_utils.cpp
  74. vk_caps_utils.h
  75. vk_ext_provoking_vertex.h
  76. vk_format_map.json
  77. vk_format_table_autogen.cpp
  78. vk_format_utils.cpp
  79. vk_format_utils.h
  80. vk_helpers.cpp
  81. vk_helpers.h
  82. vk_internal_shaders_autogen.cpp
  83. vk_internal_shaders_autogen.gni
  84. vk_internal_shaders_autogen.h
  85. vk_mandatory_format_support_data.json
  86. vk_mandatory_format_support_table_autogen.cpp
  87. vk_utils.cpp
  88. vk_utils.h
  89. vk_wrapper.h
Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/README.md

ANGLE: Vulkan Back-end

ANGLE's Vulkan back-end implementation lives in this folder.

Vulkan is an explicit graphics API. It has a lot in common with other explicit APIs such as Microsoft‘s D3D12 and Apple’s Metal. Compared to APIs like OpenGL or D3D11 explicit APIs can offer a number of significant benefits:

  • Lower API call CPU overhead.
  • A smaller API surface with more direct hardware control.
  • Better support for multi-core programming.
  • Vulkan in particular has open-source tooling and tests.

Back-end Design

The RendererVk class represents an EGLDisplay. RendererVk owns shared global resources like the VkDevice, VkQueue, the Vulkan format tables and internal Vulkan shaders. The ContextVk class implements the back-end of a front-end OpenGL Context. ContextVk processes state changes and handles action commands like glDrawArrays and glDrawElements.

Implementation details can be found in the doc directory.