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.8KB

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