tree: 41f3bcee48184eef9d1fb6961c8b43b071e23d0e [path history] [tgz]
  1. cl/
  2. d3d/
  3. gl/
  4. metal/
  5. null/
  6. vulkan/
  7. angle_format.py
  8. angle_format_data.json
  9. angle_format_map.json
  10. BufferImpl.cpp
  11. BufferImpl.h
  12. BufferImpl_mock.h
  13. CLCommandQueueImpl.cpp
  14. CLCommandQueueImpl.h
  15. CLContextImpl.cpp
  16. CLContextImpl.h
  17. CLDeviceImpl.cpp
  18. CLDeviceImpl.h
  19. CLEventImpl.cpp
  20. CLEventImpl.h
  21. CLExtensions.cpp
  22. CLExtensions.h
  23. CLKernelImpl.cpp
  24. CLKernelImpl.h
  25. CLMemoryImpl.cpp
  26. CLMemoryImpl.h
  27. CLPlatformImpl.cpp
  28. CLPlatformImpl.h
  29. CLProgramImpl.cpp
  30. CLProgramImpl.h
  31. CLSamplerImpl.cpp
  32. CLSamplerImpl.h
  33. CLtypes.h
  34. CompilerImpl.h
  35. ContextImpl.cpp
  36. ContextImpl.h
  37. copyvertex.h
  38. copyvertex.inc.h
  39. d3d_format.cpp
  40. d3d_format.h
  41. DeviceImpl.cpp
  42. DeviceImpl.h
  43. DisplayImpl.cpp
  44. DisplayImpl.h
  45. driver_utils.cpp
  46. driver_utils.h
  47. driver_utils_ios.mm
  48. driver_utils_mac.mm
  49. dxgi_format_data.json
  50. dxgi_format_map.h
  51. dxgi_format_map_autogen.cpp
  52. dxgi_support_data.json
  53. dxgi_support_table.h
  54. dxgi_support_table_autogen.cpp
  55. EGLImplFactory.h
  56. EGLReusableSync.cpp
  57. EGLReusableSync.h
  58. EGLSyncImpl.cpp
  59. EGLSyncImpl.h
  60. FenceNVImpl.h
  61. Format.h
  62. Format_table_autogen.cpp
  63. FormatID_autogen.h
  64. FramebufferAttachmentObjectImpl.h
  65. FramebufferImpl.h
  66. FramebufferImpl_mock.h
  67. gen_angle_format_table.py
  68. gen_dxgi_format_table.py
  69. gen_dxgi_support_tables.py
  70. gen_load_functions_table.py
  71. gen_load_texture_border_functions_table.py
  72. GLImplFactory.h
  73. glslang_wrapper_utils.cpp
  74. glslang_wrapper_utils.h
  75. ImageImpl.cpp
  76. ImageImpl.h
  77. ImageImpl_mock.h
  78. load_functions_data.json
  79. load_functions_table.h
  80. load_functions_table_autogen.cpp
  81. load_texture_border_functions_data.json
  82. load_texture_border_functions_table.h
  83. load_texture_border_functions_table_autogen.cpp
  84. MemoryObjectImpl.h
  85. OverlayImpl.h
  86. ProgramImpl.h
  87. ProgramImpl_mock.h
  88. ProgramPipelineImpl.cpp
  89. ProgramPipelineImpl.h
  90. QueryImpl.cpp
  91. QueryImpl.h
  92. README.md
  93. RenderbufferImpl.h
  94. RenderbufferImpl_mock.h
  95. renderer_utils.cpp
  96. renderer_utils.h
  97. RenderTargetCache.h
  98. SamplerImpl.h
  99. SemaphoreImpl.h
  100. serial_utils.h
  101. serial_utils_unittest.cpp
  102. ShaderImpl.cpp
  103. ShaderImpl.h
  104. ShaderInterfaceVariableInfoMap.cpp
  105. ShaderInterfaceVariableInfoMap.h
  106. StreamProducerImpl.h
  107. SurfaceImpl.cpp
  108. SurfaceImpl.h
  109. SyncImpl.h
  110. TextureImpl.cpp
  111. TextureImpl.h
  112. TextureImpl_mock.h
  113. TransformFeedbackImpl.h
  114. TransformFeedbackImpl_mock.h
  115. VertexArrayImpl.h
Source/ThirdParty/ANGLE/src/libANGLE/renderer/README.md

ANGLE back-ends

This folder contains shared back-end-specific implementation files. The classes and types in renderer are not specified by GLES. They instead are common to all the various ANGLE implementations.

See renderer_utils.h for various cross back-end utilties.

ANGLE Formats

The ANGLE format class, angle::Format, works as a union between GLES and all the various back-end formats. It can represent any type of format in ANGLE. e.g. Formats in Vulkan that don‘t exist in GLES, or DXGI formats that don’t exist in GLES, or Windows/Android surface configs that don't exist anywhere else.

The glInternalFormat member of angle::Format represents the “closest” GL format for an ANGLE format. For formats that don't exist in GLES this will not be exactly what the format represents.

The back-ends also define their own format tables. See the Vulkan Format table docs and the [D3D11 format table docs][D23D11FormatDocs].

DXGI Format Info

DXGI formats are used in both the GL and D3D11 back-end. Therefore the generated info table lives in this common shared location.

The DXGI info table is generated by gen_dxgi_format_table.py and sources data from dxgi_format_data.json. The main purpose of the table is to convert from a DXGI format to an ANGLE format, where the ANGLE format should have all the necessary information.