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ů.

RELNOTES-4.1 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. Mesa 4.1 release notes
  2. <month>, <day>, 2002
  3. PLEASE READ!!!!
  4. Introduction
  5. ------------
  6. Mesa uses an even/odd version number scheme like the Linux kernel.
  7. Even numbered versions (such as 4.0) designate stable releases.
  8. Odd numbered versions (such as 4.1) designate new developmental releases.
  9. New Features in Mesa 4.1
  10. ------------------------
  11. New extensions. Docs at http://oss.sgi.com/projects/ogl-sample/registry/
  12. GL_NV_vertex_program
  13. NVIDIA's vertex programming extension
  14. GL_NV_vertex_program1_1
  15. A few features built on top of GL_NV_vertex_program
  16. GL_ARB_window_pos
  17. This is the ARB-approved version of GL_MESA_window_pos
  18. GL_ARB_depth_texture
  19. This is the ARB-approved version of GL_SGIX_depth_texture.
  20. It allows depth (Z buffer) data to be stored in textures.
  21. This is used by GL_ARB_shadow
  22. GL_ARB_shadow
  23. Shadow mapping with depth textures.
  24. This is the ARB-approved version of GL_SGIX_shadow.
  25. GL_ARB_shadow_ambient
  26. Allows one to specify the luminance of shadowed pixels.
  27. This is the ARB-approved version of GL_SGIX_shadow_ambient.
  28. GL_EXT_shadow_funcs
  29. Extends the set of GL_ARB_shadow texture comparision functions to
  30. include all eight of standard OpenGL dept-test functions.
  31. GL_ARB_point_parameters
  32. This is basically the same as GL_EXT_point_parameters.
  33. GL_ARB_texture_env_crossbar
  34. Allows any texture combine stage to reference any texture source unit.
  35. GL_NV_point_sprite
  36. For rendering points as textured quads. Useful for particle effects.
  37. GL_NV_texture_rectangle
  38. Allows one to use textures with sizes that are not powers of two.
  39. Note that mipmapping and several texture wrap modes are not allowed.
  40. GL_EXT_multi_draw_arrays
  41. Allows arrays of vertex arrays to be rendered with one call.
  42. Device Driver Status
  43. --------------------
  44. A number of Mesa's software drivers haven't been actively maintained for
  45. some time. We rely on volunteers to maintain many of these drivers.
  46. Here's the current status of all included drivers:
  47. Driver Status
  48. ---------------------- ---------------------
  49. XMesa (Xlib) implements OpenGL 1.3
  50. OSMesa (off-screen) implements OpenGL 1.3
  51. FX (3dfx Voodoo1/2) implements OpenGL 1.3
  52. SVGA implements OpenGL 1.3
  53. Wind River UGL implements OpenGL 1.3
  54. Windows/Win32 implements OpenGL 1.3
  55. DOS/DJGPP implements OpenGL 1.3
  56. GGI implements OpenGL 1.3
  57. BeOS needs updating (underway)
  58. Allegro needs updating
  59. D3D needs updating
  60. DOS needs updating
  61. New features in GLUT
  62. --------------------
  63. 1. Frames per second printing
  64. GLUT now looks for an environment variable called "GLUT_FPS". If it's
  65. set, GLUT will print out a frames/second statistic to stderr when
  66. glutSwapBuffers() is called. By default, frames/second is computed
  67. and displayed once every 5 seconds. You can specify a different
  68. interval (in milliseconds) when you set the env var. For example
  69. 'export GLUT_FPS=1000' or 'setenv GLUT_FPS 1000' will set the interval
  70. to one second.
  71. NOTE: the demo or application must call the glutInit() function for
  72. this to work. Otherwise, the env var will be ignored.
  73. Finally, this feature may not be reliable in multi-window programs.
  74. 2. glutGetProcAddress() function
  75. The new function:
  76. void *glutGetProcAddress(const char *procName)
  77. is a wrapper for glXGetProcAddressARB() and wglGetProcAddress(). It
  78. lets you dynamically get the address of an OpenGL function at runtime.
  79. The GLUT_API_VERSION has been bumped to 5, but I haven't bumped the
  80. GLUT version number from 3.7 since that's probably Mark Kilgard's role.
  81. This function should probably also be able to return the address of
  82. GLUT functions themselves, but it doesn't do that yet.
  83. XXX Things To Do Yet XXXX
  84. -------------------------
  85. Verify x86 code for normal transformation works with new 4-element normal
  86. vector arrays. Pretty sure the SSE code is wrong.
  87. Allow multiple points to be rendered into one sw_span.
  88. improve point/line rendering speed.
  89. glVertexAttrib*NV(index>15) should cause an error.
  90. isosurf with vertex program exhibits some missing triangles (probably
  91. when recycling the vertex buffer for long prims).
  92. Porting Info
  93. ------------
  94. If you're porting a DRI or other driver from Mesa 4.0.x to Mesa 4.1 here
  95. are some things to change:
  96. 1. ctx->Texture._ReallyEnabled is obsolete.
  97. Since there are now 5 texture targets (1D, 2D, 3D, cube and rect) that
  98. left room for only 6 units (6*5 < 32) in this field.
  99. This field is being replaced by ctx->Texture._EnabledUnits which has one
  100. bit per texture unit. If the bit k of _EnabledUnits is set, that means
  101. ctx->Texture.Unit[k]._ReallyEnabled is non-zero. You'll have to look at
  102. ctx->Texture.Unit[k]._ReallyEnabled to learn if the 1D, 2D, 3D, cube or
  103. rect texture is enabled for unit k.
  104. This also means that the constants TEXTURE1_*, TEXTURE2_*, etc are
  105. obsolete.
  106. The tokens TEXTURE0_* have been replaced as well (since there's no
  107. significance to the "0" part:
  108. old token new token
  109. TEXTURE0_1D TEXTURE_1D_BIT
  110. TEXTURE0_2D TEXTURE_2D_BIT
  111. TEXTURE0_3D TEXTURE_3D_BIT
  112. TEXTURE0_CUBE TEXTURE_CUBE_BIT
  113. <none> TEXTURE_RECT_BIT
  114. These tokens are only used for the ctx->Texture.Unit[i].Enabled and
  115. ctx->Texture.Unit[i]._ReallyEnabled fields. Exactly 0 or 1 bits will
  116. be set in _ReallyEnabled at any time!
  117. Q: "What's the purpose of Unit[i].Enabled vs Unit[i]._ReallyEnabled?"
  118. A: The user can enable GL_TEXTURE_1D, GL_TEXTURE_2D, etc for any
  119. texure unit all at once (an unusual thing to do).
  120. OpenGL defines priorities that basically say GL_TEXTURE_2D has
  121. higher priority than GL_TEXTURE_1D, etc. Also, just because a
  122. texture target is enabled by the user doesn't mean we'll actually
  123. use that texture! If a texture object is incomplete (missing mip-
  124. map levels, etc) it's as if texturing is disabled for that target.
  125. The _ReallyEnabled field will have a bit set ONLY if the texture
  126. target is enabled and complete. This spares the driver writer from
  127. examining a _lot_ of GL state to determine which texture target is
  128. to be used.
  129. 2. Tnl tokens changes
  130. During the implementation of GL_NV_vertex_program some of the vertex
  131. buffer code was changed. Specifically, the VERT_* bits defined in
  132. tnl/t_context.h have been renamed to better match the conventions of
  133. GL_NV_vertex_program. The old names are still present but obsolete.
  134. Drivers should use the newer names.
  135. For example: VERT_RGBA is now VERT_BIT_COLOR0 and
  136. VERT_SPEC_RGB is now VERT_BIT_COLOR1.
  137. 3. Read/Draw Buffer changes
  138. The business of setting the current read/draw buffers in Mesa 4.0.x
  139. was complicated. It's much simpler now in Mesa 4.1.
  140. Here are the changes:
  141. - Rename ctx->Color.DrawDestMask to ctx->Color._DrawDestMask
  142. - Rename ctx->Color.DriverDrawBuffer to ctx->Color._DriverDrawBuffer
  143. - Rename ctx->Pixel.DriverReadBuffer to ctx->Pixel._DriverReadBuffer
  144. - Removed ctx->Color.MultiDrawBuffer
  145. - Removed ctx->Driver.SetDrawBuffer
  146. - Added ctx->Driver.DrawBuffer and ctx->Driver.ReadBuffer. These functions
  147. exactly correspond to glDrawBuffer and glReadBuffer calls.
  148. Many drivers will set ctx->Driver.DrawBuffer = _swrast_DrawBuffer and
  149. leave ctx->Draw.ReadBuffer NULL.
  150. DRI drivers should implement their own function for ctx->Driver.DrawBuffer
  151. and use it to set the current hardware drawing buffer. You'll probably
  152. also want to check for GL_FRONT_AND_BACK mode and fall back to software.
  153. Call _swrast_DrawBuffer() too, to update the swrast state.
  154. - Removed swrast->Driver.SetReadBuffer
  155. - Added swrast->Driver.SetBuffer. This function should be implemented by
  156. _all_ device drivers. Mesa will call it to specify the buffer to use
  157. for span reading AND writing and point/line/triangle rendering. There
  158. should be no confusion between current read or draw buffer anymore.
  159. 4. _mesa_create_context() changes. This function now takes a pointer to
  160. a __GLimports object. The __GLimports structure contains function
  161. pointers to system functions like fprintf(), malloc(), etc.
  162. The _mesa_init_default_imports() function can be used to initialize
  163. a __GLimports object. Most device drivers (like the DRI drivers)
  164. should use this.
  165. ----------------------------------------------------------------------
  166. $Id: RELNOTES-4.1,v 1.15 2002/08/17 00:23:19 brianp Exp $