Clone of mesa.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

sourcetree.html 6.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <title>Mesa Source Tree</title>
  6. <link rel="stylesheet" type="text/css" href="mesa.css">
  7. </head>
  8. <body>
  9. <div class="header">
  10. <h1>The Mesa 3D Graphics Library</h1>
  11. </div>
  12. <iframe src="contents.html"></iframe>
  13. <div class="content">
  14. <h1>Mesa source code tree overview</h1>
  15. <p>
  16. This is a brief summary of Mesa's directory tree and what's contained in
  17. each directory.
  18. </p>
  19. <ul>
  20. <li><b>docs</b> - Documentation
  21. <li><b>include</b> - Public OpenGL header files
  22. <li><b>src</b>
  23. <ul>
  24. <li><b>egl</b> - EGL library sources
  25. <ul>
  26. <li><b>docs</b> - EGL documentation
  27. <li><b>drivers</b> - EGL drivers
  28. <li><b>glsl</b> - the GLSL compiler
  29. <li><b>main</b> - main EGL library implementation. This is where all
  30. the EGL API functions are implemented, like eglCreateContext().
  31. </ul>
  32. <li><b>mesa</b> - Main Mesa sources
  33. <ul>
  34. <li><b>glapi</b> - OpenGL API dispatch layer. This is where all the
  35. GL entrypoints like glClear, glBegin, etc. are generated, as well as
  36. the GL dispatch table. All GL function calls jump through the
  37. dispatch table to functions found in main/.
  38. <li><b>main</b> - The core Mesa code (mainly state management)
  39. <li><b>drivers</b> - Mesa drivers (not used with Gallium)
  40. <ul>
  41. <li><b>common</b> - code which may be shared by all drivers
  42. <li><b>dri</b> - Direct Rendering Infrastructure drivers
  43. <ul>
  44. <li><b>common</b> - code shared by all DRI drivers
  45. <li><b>i915</b> - driver for Intel i915/i945
  46. <li><b>i965</b> - driver for Intel i965
  47. <li><b>radeon</b> - driver for ATI R100
  48. <li><b>r200</b> - driver for ATI R200
  49. <li>XXX more
  50. </ul>
  51. <li><b>x11</b> - Xlib-based software driver
  52. <li><b>osmesa</b> - off-screen software driver
  53. <li><b>glslcompiler</b> - a stand-alone GLSL compiler driver
  54. <li>XXX more
  55. </ul>
  56. <li><b>es</b> - OpenGL ES overlay, parallelly buildable with the core Mesa
  57. <li><b>math</b> - vertex array translation and transformation code
  58. (not used with Gallium)
  59. <li><b>ppc</b> - Assembly code/optimizations for PPC systems
  60. (not used with Gallium)
  61. <li><b>shader</b> - Vertex/fragment shader and GLSL compiler code
  62. <li><b>sparc</b> - Assembly code/optimizations for SPARC systems
  63. (not used with Gallium)
  64. <li><b>state_tracker</b> - State tracker / driver for Gallium. This
  65. is basically a Mesa device driver that speaks to Gallium. This
  66. directory may be moved to src/mesa/drivers/gallium at some point.
  67. <li><b>swrast</b> - Software rasterization module. For drawing points,
  68. lines, triangles, bitmaps, images, etc. in software.
  69. (not used with Gallium)
  70. <li><b>swrast_setup</b> - Software primitive setup. Does things like
  71. polygon culling, glPolygonMode, polygon offset, etc.
  72. (not used with Gallium)
  73. <li><b>tnl</b> - Software vertex Transformation 'n Lighting.
  74. (not used with Gallium)
  75. <li><b>tnl_dd</b> - TNL code for device drivers.
  76. (not used with Gallium)
  77. <li><b>vbo</b> - Vertex Buffer Object code. All drawing with
  78. glBegin/glEnd, glDrawArrays, display lists, etc. goes through this
  79. module. The results is a well-defined set of vertex arrays which
  80. are passed to the device driver (or tnl module) for rendering.
  81. <li><b>x86</b> - Assembly code/optimizations for 32-bit x86 systems
  82. (not used with Gallium)
  83. <li><b>x86-64</b> - Assembly code/optimizations for 64-bit x86 systems
  84. (not used with Gallium)
  85. </ul>
  86. <li><b>gallium</b> - Gallium3D source code
  87. <ul>
  88. <li><b>include</b> - Gallium3D header files which define the Gallium3D
  89. interfaces
  90. <li><b>drivers</b> - Gallium3D device drivers
  91. <ul>
  92. <li><b>i915</b> - Driver for Intel i915/i945.
  93. <li><b>llvmpipe</b> - Software driver using LLVM for runtime code generation.
  94. <li><b>nv*</b> - Drivers for NVIDIA GPUs.
  95. <li><b>radeonsi</b> - Driver for AMD Southern Island.
  96. <li><b>r300</b> - Driver for ATI R300 - R500.
  97. <li><b>r600</b> - Driver for ATI/AMD R600 - Northern Island.
  98. <li><b>softpipe</b> - Software reference driver.
  99. <li><b>svga</b> - Driver for VMware's SVGA virtual GPU.
  100. <li><b>trace</b> - Driver for tracing Gallium calls.
  101. <li>XXX more
  102. </ul>
  103. <li><b>auxiliary</b> - Gallium support code
  104. <ul>
  105. <li><b>draw</b> - Software vertex processing and primitive assembly
  106. module. This includes vertex program execution, clipping, culling
  107. and optional stages for drawing wide lines, stippled lines,
  108. polygon stippling, two-sided lighting, etc.
  109. Intended for use by drivers for hardware that does not have
  110. vertex shaders.
  111. Geometry shaders will also be implemented in this module.
  112. <li><b>cso_cache</b> - Constant State Objects Cache. Used to filter out
  113. redundant state changes between state trackers and drivers.
  114. <li><b>gallivm</b> - LLVM module for Gallium. For LLVM-based
  115. compilation, optimization and code generation for TGSI shaders.
  116. Incomplete.
  117. <li><b>pipebuffer</b> - utility module for managing buffers
  118. <li><b>rbug</b> - Gallium remote debug utility
  119. <li><b>rtasm</b> - run-time assembly/machine code generation.
  120. Currently there's run-time code generation for x86/SSE, PowerPC
  121. and Cell SPU.
  122. <li><b>tgsi</b> - TG Shader Infrastructure. Code for encoding,
  123. manipulating and interpretting GPU programs.
  124. <li><b>translate</b> - module for translating vertex data from one format
  125. to another.
  126. <li><b>util</b> - assorted utilities for arithmetic, hashing, surface
  127. creation, memory management, 2D blitting, simple rendering, etc.
  128. </ul>
  129. <li><b>state_trackers</b> -
  130. <ul>
  131. <li><b>clover</b> - OpenCL state tracker
  132. <li><b>dri</b> - Meta state tracker for DRI drivers
  133. <li><b>egl</b> - Meta state tracker for EGL drivers
  134. <li><b>es</b> - OpenGL ES 1.x and 2.x state trackers
  135. <li><b>glx</b> - Meta state tracker for GLX
  136. <li><b>vdpau</b> - VDPAU state tracker
  137. <li><b>vega</b> - OpenVG 1.x state tracker
  138. <li><b>wgl</b> -
  139. <li><b>xorg</b> - Meta state tracker for Xorg video drivers
  140. <li><b>xvmc</b> - XvMC state tracker
  141. </ul>
  142. <li><b>winsys</b> -
  143. <ul>
  144. <li><b>drm</b> -
  145. <li><b>gdi</b> -
  146. <li><b>xlib</b> -
  147. </ul>
  148. </ul>
  149. </ul>
  150. <ul>
  151. <li><b>glx</b> - The GLX library code for building libGL. This is used for
  152. direct rendering drivers. It will dynamically load one of the
  153. xxx_dri.so drivers.
  154. </ul>
  155. <li><b>lib</b> - where the GL libraries are placed
  156. </ul>
  157. </div>
  158. </body>
  159. </html>