Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RELNOTES-3.3 7.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. Mesa 3.3 release notes
  2. July 21, 2000
  3. PLEASE READ!!!!
  4. Introduction
  5. ------------
  6. Mesa uses an even/odd version number scheme like the Linux kernel.
  7. Odd numbered versions (such as 3.3) designate new developmental releases.
  8. Even numbered versions (such as 3.2.1) designate stable releases.
  9. Mesa 3.3 has a undergone many internal changes since version 3.2
  10. and features a lot of new extensions. 3.3 is expected to be pretty
  11. stable, but perhaps not as stable as 3.2 which has been used by
  12. thousands of users over the past months.
  13. Everyone is encouraged to try Mesa 3.3. Bugs should be reported to
  14. the Mesa bug database on www.sourceforge.net.
  15. Header file / GLenum changes
  16. ----------------------------
  17. The gl.h and glu.h headers now use #defines to define all GL_* tokens
  18. instead of C-language enums. This change improves Mesa/OpenGL
  19. interoperability.
  20. New API dispatch code
  21. ---------------------
  22. The core Mesa gl* functions are now implemented with a new dispatch
  23. (jump table) which will allow simultaneous direct/indirect rendering.
  24. The code is found in the glapi*.[ch] files.
  25. Of interest: the actual "glFooBar" functions are generated with
  26. templatized code defined in glapitemp.h and included by glapi.c
  27. The glapitemp.h template should be reusable for all sorts of OpenGL
  28. projects.
  29. The new dispatch code has also optimized with x86 assembly code.
  30. This optimization eliminates copying the function arguments during
  31. dispatch.
  32. New thread support
  33. ------------------
  34. Thread support in Mesa has been rewritten. The glthread.[ch] files
  35. replace mthreads.[ch]. Thread safety is always enabled (on platforms
  36. which support threads, that is). There is virtually no performance
  37. penalty for typical single-thread applications. See the glapi.c
  38. file for details.
  39. The Xlib driver (XMesa) is now thread-safe as well. Be sure to
  40. call XInitThreads() in your app first. See the xdemos/glthreads.c
  41. demo for an example.
  42. Make configuration changes
  43. --------------------------
  44. If you use the old-style (non GNU automake) method to build Mesa note
  45. that several of the configuration names have changed:
  46. Old name New name
  47. ------------- ----------------
  48. linux-elf linux
  49. linux linux-static
  50. linux-386-elf linux-386
  51. linux-386 linux-386-static
  52. etc.
  53. New extensions
  54. --------------
  55. GL_ARB_transpose_matrix
  56. Adds glLoadTransposeMatrixARB() and glMultTransposeMatrixARB()
  57. functions.
  58. GL_ARB_texture_cube_map
  59. For cube-based reflection mapping.
  60. GL_EXT_texture_add_env
  61. Adds GL_ADD texture environment mode.
  62. See http://www.berkelium.com/OpenGL/EXT/texture_env_add.txt
  63. GL_EXT_texture_lod_bias
  64. Allows mipmapped texture blurring and sharpening.
  65. GLX_EXT_visual_rating extension
  66. This extension has no effect in stand-alone Mesa (used for DRI).
  67. GL_HP_occlusion_test
  68. Used for bounding box occlusion testing (see demos/occlude.c).
  69. GL_SGIX_pixel_texture / GL_SGIS_pixel_texture
  70. Lets glDraw/CopyPixels draw a texture coordinate image.
  71. GL_SGI_color_matrix
  72. Adds a color matrix and another set of scale and bias parameters
  73. to the glDraw/CopyPixels paths.
  74. GL_SGI_color_table
  75. Adds additional color tables to the glDraw/Read/CopyPixels paths.
  76. GL_EXT_histogram
  77. Compute histograms for glDraw/Read/CopyPixels.
  78. GL_EXT_blend_func_separate
  79. This is the same as GL_INGR_blend_func_separate.
  80. GL_ARB_texture_cube_mapping
  81. 6-face cube mapping, nicer than sphere mapping
  82. GL_EXT_texture_env_combine
  83. For advanced texture environment effects.
  84. Documentation for all these functions can be found at
  85. http://oss.sgi.com/projects/ogl-sample/registry/
  86. GLX_SGI_make_current_read functionality
  87. ---------------------------------------
  88. The functionality of this extension is needed for GLX 1.3 (and required
  89. for the Linux/OpenGL standards base).
  90. Implementing this function required a **DEVICE DRIVER CHANGE**.
  91. The old SetBuffer() function has been replaced by SetReadBuffer() and
  92. SetDrawBuffer(). All device drivers will have to be updated because
  93. of this change.
  94. The new function, glXMakeContextCurrent(), in GLX 1.3 now works in Mesa.
  95. The xdemos/wincopy.c program demonstrates it.
  96. Image-related code changes
  97. --------------------------
  98. The imaging path code used by glDrawPixels, glTexImage[123]D,
  99. glTexSubImage[123], etc has been rewritten. It's now faster,
  100. uses less memory and has several bug fixes. This work was
  101. actually started in Mesa 3.1 with the glTexImage paths but has now
  102. been carried over to glDrawPixels as well.
  103. Device driver interface changes
  104. -------------------------------
  105. Added new functions for hardware stencil buffer support:
  106. WriteStencilSpan
  107. ReadStencilSpan
  108. WriteStencilPixels
  109. ReadStencilPixels
  110. Removed old depth buffer functions:
  111. AllocDepthBuffer
  112. DepthTestSpan
  113. DepthTestPixels
  114. ReadDepthSpanFloat
  115. ReadDepthSpanInt
  116. Added new depth buffer functions:
  117. WriteDepthSpan
  118. ReadDepthSpan
  119. WriteDepthPixels
  120. ReadDepthPixels
  121. These functions always read/write 32-bit GLuints. This will allow
  122. drivers to have anywhere from 0 to 32-bit Z buffers without
  123. recompiling for 16 vs 32 bits as was previously needed.
  124. New texture image functions
  125. The entire interface for texture image specification has been updated.
  126. With the new functions, it's optional for Mesa to keep an internal copy
  127. of all textures. Texture download should be a lot faster when the extra
  128. copy isn't made.
  129. Misc changes
  130. TexEnv now takes a target argument
  131. Removed UseGlobalTexturePalette (use Enable function instead)
  132. Also added
  133. ReadPixels
  134. CopyPixels
  135. The SetBufffer function has been replaced by SetDrawBuffer and
  136. SetReadBuffer functions. This lets core Mesa independently
  137. specify which buffer is to be used for reading and which for
  138. drawing.
  139. The Clear function's mask parameter has changed. Instead of
  140. mask being the flags specified by the user to glClear, the
  141. mask is now a bitmask of the DD_*_BIT flags in dd.h. Now
  142. multiple color buffers can be specified for clearing (ala
  143. glDrawBuffers). The driver's Clear function must also
  144. check the glColorMask glIndexMask, and glStencilMask settings
  145. and do the right thing. See the X/Mesa, OS/Mesa, or FX/Mesa
  146. drivers for examples.
  147. The depth buffer changes shouldn't be hard to make for existing
  148. drivers. In fact, it should simply the code. Be careful with
  149. the depthBits value passed to gl_create_context(). 1 is a bad
  150. value! It should normally be 0, 16, 24, or 32.
  151. gl_create_framebuffer() takes new arguments which explicitly tell
  152. core Mesa which ancillary buffers (depth, stencil, accum, alpha)
  153. should be implemented in software. Mesa hardware drivers should
  154. carefully set these flags depending on which buffers are in the
  155. graphics card.
  156. Internal constants
  157. ------------------
  158. Point and line size range and granularity limits are now stored
  159. in the gl_constants struct, which is the Const member of GLcontext.
  160. The limits are initialized from values in config.h but may be
  161. overridden by device drivers to reflect the limits of that driver's
  162. hardware.
  163. Also added constants for NumAuxBuffers and SubPixelBits.
  164. OpenGL Conformance
  165. ------------------
  166. Mesa now passes all the OpenGL 1.1 conformance tests, except for
  167. antialiased lines. AA lines fail on some, but not all, the tests.
  168. In order to fix the remaining failures, a new AA line algorithm will
  169. be needed (which computes coverage values for end-point fragments).
  170. This will be done for Mesa 3.5/3.6.
  171. OpenGL 1.2 GL_ARB_imaging subset
  172. --------------------------------
  173. Mesa 3.3 implements all the features of GL_ARB_imaging except for
  174. image convolution. This will (hopefully) be done for Mesa 3.5/3.6.
  175. ----------------------------------------------------------------------
  176. $Id: RELNOTES-3.3,v 1.8 2000/07/21 16:26:41 brianp Exp $