[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mesa: Changes to 'refs/tags/mesa-6_5-20060712'



Tag 'mesa-6_5-20060712' created by Brian Paul <brian.paul@tungstengraphics.com> at 1970-01-01 00:00 +0000

Changes since gliding_penguin:
Aapo Tahkola (148):
      Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt correctly disable alpha test. Vertex programs with high vertex count now run a lot faster as software fallback is no longer on. Also disabling 'temp to result'-instructions as they probably violate the spec and dont seem to be something thats needed.
      Replacing some RADEON cmd types with r300 counterparts.
      Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.
      Replacing alpha test bits with values that give desired results as compaired to software rendering. Alpha test in textures is still completely broken as can be seen in progs/demos/fire and various games.
      Fix to get glxgears display anything.
      Proper VAP output configuration as R300_RS_ROUTE_0_COLOR became optional and broke arbvptorus(takes no input color but produces output color). Also removing some useless code.
      Simple TCL stage and ability to disable vps.
      Fix to get doom3 started.
      Misc fixes.
      Fixing and enabling elt buffers by default.
      Fixes for bugs that were nailed down when compairing against software vertex shading.
      Reorganized shader stuff.
      Had some odd problems with add and temps so doing it with mad. Adding some MAD_2 cases.
      Adding some comments.
      Modifying to build against current Mesa. Disabled r200*.c files since they didnt want to build anymore.
      Fix as suggested by Ben Skeggs.
      r300 side support for fixed function pipeline. This isnt functional with current Mesa.
      Add support to external tnl switcher and disable hw tnl by default.
      Pack tex coord regs at vertex program backend.
      Flat shading and bunch of clarifications to r300_reg.h .
      Getting rusty... 4278 was already there.
      Missing setups that cause all kinds of problems with hw tnl.
      VBOs.
      Dont assume GLbooleans are ones when true.
      Make gleans polyoffset test happy.
      Polygon mode fixes.
      Stick texture LOD back on.
      Ditch unused code and features that arent in subject to get supported any near time.
      More optimal r300Clear.
      Programmable per-vertex point sizes and proper result reg assigns.
      Causes lockups on some rare cases.
      lost_context never gets reset.
      Turn off VBO's.
      Fix problems with elts when immediate mode is on.
      Support 16-bit modes.
      Use depth tiling.
      Fix gloss breakage when using hw tnl.
      r300 driver side of color tiling support.
      -"fix" page flipping
      Fix invalid vsf temp count for rv350.
      Sync with my local tree.
      Remove few outdated r200 files.
      Reduce stderr noise and fix some compiler warnings.
      Cover my arse.
      Compiled arrays for vtxfmt_a path.
      Fix texture mixup when two or more contexts.
      Silence gcc-4 warnings.
      Improve tnl program searching performance.
      Need more than 200 instructions.
      Fix segmentation fault in _tnl_ProgramCacheDestroy().
      -Fix first frame -bug
      Re-enable fallbacks.
      Fix broken tnl stage.
      Remove some ghost code and adjust things a bit.
      Use ctx->VertexProgram._Current .
      Fix broken build.
      Reduce stderr noise.
      Fix typo causing secondary color not to work properly.
      Try to detect when native support to given texture width is not available.
      Couple changes that were missed.
      Fix AL8
      Fix secondary color for VP's
      Make missing interpolator inputs fatal
      Add some missing hooks. This should fix various little problems with window movement and 2d windows flashing on top of 3d windows. This problem was previously shadowed by r300ResetHwState as it gets called frequently.
      Fix (likely) typo.
      Enable CB_DPATH by default.
      I think this has been tested well enough already.
      Warn only when being enabled.
      No you arent.
      Drop output checking.
      Handle fatal case.
      Fix node setup(from Ben Skeggs)
      Fix cube maps.
      Fix pow <small> and a very stypid bug with dummy srcs(0 equals to tmp0.x)</small>. demos/cubemap looks perfect now.
      Missing patch from Ben Skeggs:
      Fix invalid tex coord routing and couple other small things.
      namespace pollution fixes (Tilman Sauerbeck)
      Fix ARB_position_invariant handling
      Missing bits of code spotted by Tilman Sauerbeck
      Fix ARGB1555 component swizzling.
      Sync from drm.
      Try to tackle bug #5148
      Doesnt apply anymore
      fix broken get_half & get_zero
      Fix a problem where offsets from disabled tmus reach drm
      remove some testing code
      r300UpdateTextureEnv shouldnt be called.
      Work around problems with t_vp_build.c
      R300_PFS_NODE_LAST_NODE -> R300_PFS_NODE_OUTPUT_COLOR
      drop all that (slow) locking stuff and make u_list per context.
      radeon driver doesnt have this so i assume we shouldnt either.
      per vp sw fallbacks
      enable hw vertex programs by default
      missing link in the fallback chain
      remove broken non arb fp path
      Workaround problems with NWN. (Tilman Sauerbeck)
      Skip ARL while we dont implement it. Fix broken nv vps but do it with software for now.
      Fix aliasing bug (Benjamin Herrenschmidt)
      No need to call *_FIREVERTICES twice.
      Dont let (possibly) undefined z component reach hw as its unused
      Free temps when possible
      Port r200 tex tiling code to run on r300 but keep it disabled.
      Various fallbacks, checks and tags.
      Convert to work with current DRM. + tag
      Enable HW VBOs and other things needed by it.
      Fix broken DrawElements & DrawRangeElements.
      Use the force Luke, use the force.
      Kick VBOs out of GART if nothing else helps.
      Option to init vp temps(for testing)
      Fix broken max mipmap leveling that was horribly wrong.
      Clean build.
      -fix texrect fallback when using vtxfmt_a (glitz, xgl, etc.)
      Disable tnl programs when doing software vertex programs. compiz with its texrect and lighting needs was broken because of this.
      Fix texrect upload conflicts.
      ARL dst idx was undefined.
      implement arl and enable hw nv_vp.
      secondary color fixes.
      Make ARB_vp backends happy with nv arl
      fix #6072 (Keith Whitwell)
      More meaningful warning.
      disable r300 chips. R300_FORCE_R300 to force
      Dont rely on writebacks
      warn about broken dxt 3/5
      make u_list adjustable
      free rs300 and ban r350(according to r300.sf.net)
      Enough testing already
      fix some conflict happenings at context destroy by freeing buffers immediately. array locking can be done with vbos for vtxfmt_a so we dont really need to try to reuse them.
      Fog support (Ewald Snel)
      rectangular fp16 fixes (Ewald Snel)
      get fog going(for real)
      GLboolean cannot hold GLuint! usage of tmus >= 4 no longer lock r300.
      limit max program/param length to 255 (spotted by sroland)
      need to hold before freeing
      disable hw locking when entering span rendering for now
      enable feedback rendering
      R300_SPAN_DISABLE_LOCKING env var
      fix warnings.
      Dont allow 16 tex units to be used at all.
      various fixes (Roland Scheidegger)
      make sure tex format is supported.
      prevent run_arb_vertex_program from running tnl programs unless ctx->_MaintainTnlProgram is set
      prevent possible program mix up with sw vps (Roland Scheidegger)
      fix broken address register reads
      fix broken negate
      Fix generic vertex attribs (Rune Petersen)
      Fix stencil clears that have caused problems with redbook/stencil, tests/stencilwrap and ut2k4 adrenaline pills.
      R300_RR_ROUTE_1 still needs to be initialized.
      Fix #7195

Adam Jackson (35):
      Disable _mesa_3dlabs_create_{program,shader}_object references.
      Bug #2945: Fix math error that left half the hash buckets empty.
      Add drirenderbuffer.c to COMMON_SOURCES
      Refactor COMMON_SOURCES up to Makefile.template
      int -> size_t to fix compile on LP64.
      Use the 1.3 names for FogCoord*
      strip out vestigial #ifdef HAVE_CONFIG_H stanzas, they're confusing the
      XMesaResizeBuffers needs separate paths for client and server builds
      Add two aliases for some PointParameters entrypoints for libglx compatibility.
      Convert libGL and DRI drivers to require libdrm.
      /dri/msg
      Bug #1155: Define IEEE_ONE on Super-H as well.
      Add RV350 AQ chip.  (popolon at popolon dot org)
      s/dri.sourceforge.net/dri.freedesktop.org/
      Fix the default target to remake readtex.o if needed
      Start a software-only DRI driver for use in the new accelerated indirect
      Nuke the old attempt at software DRI, it's broken and awful
      Search for makedepend in the PATH rather than hardcoding /usr/X11R6/bin
      Avoid a crash when the user has enabled glVertex{,Attrib}Pointer but hasn't
      Style fix, drop the explicit -ldrm from the link line.
      Update the install docs to make explicit note of libdrm version dependency.
      Revert my change from 1.37 as being bogus (see ensuing list discussion for
      Clarify which version of Mesa we're talking about
      Coverity #650: Fix a memory leak when near OOM.
      Coverity #567: Fix a memory leak on a failure path.
      Coverity #476: Avoid walking off the end of ->vtx.attrsz, it's declared to
      Coverity #468: Fill in the rest of the error_list to match the error codes
      Coverity #459: Silly off-by-one error.
      Bug #5754: Allocate texture memory correctly.  (Richard Drummond)
      Fix license header to SGI FreeB.  (Eric Kunze, SGI)
      Coverity #1083: Fix a use after free case.
      Coverity #943: Avoid a NULL chase.
      Fix format strings for LP64
      Ensure all GART allocations are freed on context destruction, rather than
      Update function signatures for EXT_tfp entrypoints.

Alan Hourihane (33):
      Remove MAX_VISUAL limitations of 100. If running dual head this can
      Add Intel(R) 945G support (Keith Whitwell, Tungsten Graphics)
      pass in the renderbuffer
      Fix the FFB driver for the renderbuffer changes
      re-enable the ffb driver
      Bump the required ddx to 1.4.0 as drmAddress has been removed so that 32/64bit
      support GLX_DIRECT_COLOR in 1.4.0
      typo
      remove the drmAddress
      Add a check which compares the passed in size of the DDX driver private DRI
      Add Egberts fixes for 64bit architectures
      Commit missing piece from Egbert's 32/64 bit patches
      Fix Windows build problems.
      update for mingw
      Fix the scripts for the cygwin & mingw changes
      remove drmAddress
      Fixes from https://bugs.freedesktop.org/attachment.cgi?id=3077
      define Bool for solo builds
      move via_dri.h to server
      drmUnmap correct size
      reverse a bogus patch
      Add Intel 945GM support
      use screen->front.map instead of pFB from libdri
      use front.size instead of sPriv->fbSize
      remove very old i830 code
      pull in fix from 6.4 branch for XFree86Server definition
      remove i830
      Check DDX for 1.5.0
      We always have a back buffer. Fixes visual problems.
      Fix some warnings on x86_64
      fire vertices before context destruction.
      If DrawBuffer isn't set, return immediately
      Check for a valid context

Ben Crossman (4):
      Some initial compile fixes. Still some left and warnings that need fixing. No where near runnable yet.
      A few getenv() that werent using the mesa wrapper version
      Reverted the last change back to fix bug 3035
      more gldirect compile fixes. Getting near the linking stage now. No build file yet.

Ben Skeggs (13):
      Initial multitexturing support.  Old behaviour can be re-enabled by changing ifdefs in r300_setup_rs_unit and r300SetupPixelShader in r300_state.c\nRequires DRM update.
      For some reason the Makefile didn't commit..
      Fixed some strangeness when mixing textured/flat primitives.  Skipping texture units should render correctly also.  Aapo, I dont think I broke glxgears again on you...
      Updated for EXT_framebuffer_object changes. I don't know if this is correct, but it seems to work
      fix warnings in r300_texstate.c (Jeff Smith)
      Implement enough of ARB_fragment_program for Keith's texenv program
      - Remove one of the loops in emit_arith
      constant tracking
      Play with swizzling a bit.
      Up MAX_AOS_ARRAYS to 16.  Do we need more?
      Fix xyz/w interaction (needs a cleanup still..)
      TEX to output
      - Secondary colour

Benjamin Herrenschmidt (1):
      Enable USER_BUFFERS, RADEON_VTXFMT_A and HW_VBOS on big endian by forcing all elts

Brian Paul (1069):
      add MAT_DIRTY_FLAGS in _math_matrix_mul_floats(), (bug 2696)
      use $(*_LIB) in the *_LIB_NAME definitions
      no change
      obsolete
      remove INSTALL.GNU from tarball list
      disable _mesa_init_shaderobjects_3dlabs() call until build is fixed
      disable 3dlabs shading language code until build is fixed
      fix a variety of warnings/errors
      re-enable _mesa_init_shaderobjects_3dlabs() call
      re-enable shading language sources
      Disable C++ shading language code yet again.  Doesn't compile with older
      Use FEATURE_shading_language to control whether the shading language
      updated warning string to match patch in bug report 2868
      s/Togle/Toggle/
      Fix Fake_glXChooseFBConfig so passing NULL attribList causes a list of all
      changed implementation of GetAllFBConfigs()
      added wrappers/helpers for creating/destroying rendering contexts
      Add shaderobjects_3dlabs.c back into build but use #ifdef FEATURE_shading_language to enable/disable relevant code.
      set table size to 1023 and use new HASH_FUNC() macro
      PF_8A8R8G8B pixel format (Dave Reveman)
      updated procedure for getting CVS-write access
      remove carriage returns
      added _mesa_share_state()
      config for profiling with gprof
      added SLANG_SOURCES to SOLO_C_SOURCES
      s/NORMAL/FOG/ (J.P. Delport)
      comments and clean-up
      clean up buffer creation code
      fix state.light[n].spot.direction.w value (bug 3083)
      use _mesa_pow() for LIT (bug 3087)
      undef DEPTH_TYPE at end
      initial EGL code
      prototype EGL_MESA_screen_surface.
      types for Mesa implementation of EGL
      demo / test progs
      comments and minor clean-up
      enable fog render input if fragment program fog option set
      added interpolate_fog()
      tweak previous fog/fragment program fix
      no need to enable fog or set fog mode with fragment program
      move set_component_sizes() to fix bug 3135
      fix _tnl_copy_to_current() so that current edge flag and rasterpos aren't trashed by color index updates
      apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and regenerate get.c
      updates for latest EGLScreenMESA changes
      sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)
      don't call XTranslateCoordinates() if rendering to pixmap
      EGLScreenMESA updates
      html fix
      Major check-in of changes for GL_EXT_framebuffer_object extension.
      fix xm_span2.c reference
      FBO changes
      fix s_spantemp.h includes
      more updates for users of s_spantemp.h
      add PROGRAM_DIRS line
      added a comment
      fix typo
      minor face-lift for web pages
      remove some test code
      fix for renderbuffer (Andreas Stenglein)
      restore call to SetBuffer() in clear_color_buffers(), only temporary
      remove bad assertion, added new ones in clear_pixmap()
      fix cpp / bytesPerPixel problem (bug 1196554)
      fix a bunch of html errors
      x86-64 transform optimizations (Mikko T.)
      assorted warning clean-ups for x86_64, etc (Mikko T.)
      Patches for XCB (Jeremy Kolb)
      added linux-x86-xcb config (Jeremy Kolb)
      x86_64 stuff
      remove some dead code
      fix GetRow parameters (Nicolai Haehnle)
      minor tweaks
      remove MESA suffix from _eglInitScreenSurface, use swAlpha value
      make _eglSetConfigAtrib() a static function, and rename it
      define M_E if needed
      restore _eglSetConfigAttrib (for now), added prototype _eglConfigToContextModesRec()
      added boolean extension flags to _EGLDriver
      s/Atrib/Attrib/, set extension enable flags
      separate ext strings with a space
      use EGLint instead of unsigned long for eglCopyContextMESA, added comments
      EGL_MESA_copy_context stuff
      another GLX / XCB patch (Jeremy Kolb)
      remove -ansi -pedantic -D_POSIX_C_SOURCE=199309L from CXXFLAGS
      added _eglInitPbufferSurface()
      more work on _eglConfigToContextModesRec()
      update comments
      updated demoCreatePbufferSurface()
      Added software-based pbuffer support (untested).
      remove glmode stuff
      fix pbuffer sample code
      remove eglQueryDisplayMESA()
      don't include strings.h
      fix some BCOMP/ACOMP typos (fixes Brad King's vtk failures)
      To better exercise pixel packing, replace regular glReadPixels with four
      remove the XFree86 ID line
      replace // with /* */
      fix reversed strstr() args, print mode string
      use MAX_SCREENS instead of hard-coded number
      properly pop the GL_TEXTURE_GEN_ enable state
      updated to version 28
      remove temporary GL_EXT_framebuffer_object info
      add support for GL_RENDERBUFFER_RED/GREEN/BLUE/etc_SIZE_EXT querie
      added code to detect GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT error
      start removing old (pre-renderbuffer) span code
      oops, undo previous change
      Remove last of the old span code.
      added comment
      remove old span code
      fix an assertion
      remove old span code
      remove old span functions from swrast_device_driver struct
      set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing that
      this is auto-generated
      fix GL_ALPHA render-to-texture problem (Jon Smirl)
      fix error in OSMESA_LIB_NAME line
      added GL libs to APP_LIB_DEPS (bug 3485)
      check for double-buffered buffer in XMesaDestroyBuffer() (Dave Reveman)
      fix some renderbuffer problems for Xserver build (Dave Reveman)
      regenerate for latest glext.h
      remove stray line
      put full prototype on one line to fix gl_mangle.h generation (Dave Reveman)
      regenerated
      pass mask array to PutRowRGB() in simple_z_textured_triangle()
      be sure we have span texcoords before calling _swrast_texture_span()
      mingw changes (Nolan Leake)
      Define __FUNCTION__ as a preprocessor symbol in glheader.h if we're not
      DirectFB updates (Claudio Ciccani)
      include light.h to silence warning
      updated to version 29
      check for NULL swrast->Driver.SetBuffer before calling it
      Remove the xmesa_set_buffer() function.  No longer needed since the
      need parenthesis in realloc call
      check for null oldBuffer in _mesa_realloc(), cleaned up some comments
      fix for-loop in _mesa_GetDouble to avoid out of bounds memory read
      make create_new_program() static
      added _tnl_ProgramCacheDestroy() prototype
      Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.
      remove unused MEMSET16 macro
      include t_vp_build.h
      just code clean-ups and new comments
      fix Darwin dynamic lib naming
      fix a few glitches
      Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions.
      Add a set of predicate functions for testing matrices instead of directly
      added newline at end of file
      remove \n from warning message string
      minor fixes
      remove OLD_RENDERBUFFER stuff
      remove OLD_RENDERBUFFER code
      Remove NEW_RENDERBUFFER stuff.
      Move the PYTHON2 and PYTHON_FLAGS assignments to configs/current, and
      fix typo in assertions
      added some glGetRenderbufferParameterivEXT calls, printfs, and assertions
      fix dependencies
      updates to file list for tarballs
      replace some free() calls with _mesa_free()
      comment-out some unused code to silence warnings
      The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries.
      added a few more fallbackStrings (Andreas Stenglein)
      eglgears demo (Dane Rushton)
      replace gcc with $(CC) (Egbert Eich)
      define CFLAGS and CXXflags with -m32 (Egbert Eich)
      redo previous check-in, just set ARCH_FLAGS = -m32
      remove duplicate "User disable" string
      added comments
      Check for null program->Parameters pointer in validate_vertex_program().
      need to flush vertices for GL_OCCLUSION_TEST_RESULT_HP query
      disable call to via_sse_memcpy() until it's fixed
      s/clippping/clipping/
      overlay planes test
      include driverfuncs.h
      remove fprintf()
      replace fprintf() calls with _mesa_problem()
      updates for 6.3 release
      more updates for 6.3 release
      added md5 checksums for 6.3
      fix some URLs
      remove ^M chars, disable shading language extensions
      check for FEATURE_EXT_framebuffer_object to enable EXT_framebuffer_object
      s/2004/2005/
      first 6.3.1 bug fixes
      make i810PrintSetupFlags() static, first param const
      bump version to 6.3.1 and include DRI/GLX files in tarballs
      updated with DRI building instructions
      6.3.1 updates
      bump version to 6.3.1
      Make the vertex program source register Index field a signed int since
      added vp negative addressing bug fix
      some GLuint idx -> GLint idx changes
      Break the long list of MAIN_FILES and DEMO_FILES into subgroups.
      Added -linker option to mklib, used to specify a particular program for
      Add license/copyright.
      Fix bug 1858 - array subscript out of range in gamma driver.
      improve comments about win[0..3] values (bug 2554)
      SPARC, DRI interface changes for 6.3.1
      added directfbgl.h to tarball
      s/Disaptch/Dispatch/ (bug 3918)
      free context structure (bug 1252316) and s/free/_mesa_free/
      _mesa_free_framebuffer_data() call frees the renderbuffers, no need to call the Delete methods after
      free display lists and destroy window upon exit
      delete display lists upon exit
      actually free the renderbuffer in xmesa_delete_renderbuffer(), fixes a memory leak
      fix indentation
      disable the pointer size assertions (bug 4021)
      fix static assertion problem for gcc (bug 4022)
      the PIXEL_MAP_I_TO_I table should be GLfloat, not GLint
      fix X #includes so they're relative to X11/ directory (bug 4047)
      added FREXPF() macro (bug 4060)
      test the standard stencil op modes too (Philipp Klaus Krause)
      include stdint.h if WIN32 and GNUC (Colin Harrison).  Patch forwarded to SGI.
      updates for 6.3.2
      Bump version to 6.3.2
      Replace mult/div operators with bitwise operators in texel fetch routines
      updates for 6.3.2 release, plus other assorted clean-ups
      update MESA_DEBUG with FP info
      md5 sums for 6.3.2
      fix typo
      added .S DRI files to tarball (Donnie Berkholz), bumped version to 6.5
      bump version to 6.5
      added GL_X_RENDERABLE to glXChooseFBConfig (bug 4181)
      update version to 6.5.0
      simplify, clean-up texel addressing macros
      removed lines that caused some files to be included in tarballs multiple times
      GLw demo doesn't belong here
      Added multi-window support.  Press 'n' to create new window, 'k' to kill
      also check for texture border in sample_linear_2d()
      make tiles a little smaller so they're all visible
      s/GLX_RGBA_BIT/GLX_RGBA_TYPE/ (bug 4237)
      fix segfault in Fake_glXCreatePBuffer(), bug 4235
      removed GL_HP_occlusion_test extension
      initial 6.5 changes (reflect demo, remove GL_HP_occlusion_test)
      Update the glut idle function after a new window is created
      remove stray references to ctx->Depth.OcclusionTest
      don't compile debug code (bug 4242: rand undefined)
      fix comment and #if test
      Demo of how to do (nearly) flicker-free rendering with a single color buffer.
      added singlebuffer demo
      Rearrange the code related to GL_ARB_occlusion_object to generalize query
      check the Ready flag when getting GL_QUERY_RESULT_ARB
      fix a few proxy color table bugs (bug 4270)
      added note about IEEE vs VAX floating point (bug 4270)
      fix APP_LIB_DEPS
      added some parenthesis to silence warnings
      silence fprintf and casting warnings
      fix a cast/assignment warning
      remove redundant ctx->Driver fallback assignments that were already done in _mesa_init_driver_functions()
      remove dead code, update comments
      use 'f' key to toggle front/back buffer rendering
      Just additional comments.
      remove the old set_buffer() routine
      remove old set_buffer routine and misc code
      remove set_buffer()
      remove fxDDSetBuffer()
      added a few more fields to help with DRI drivers
      use proper datatypes to silence a bunch of warnings
      use char* instead of GLubyte* in i915_program_error() to silence warnings
      s/__inline/INLINE/
      Finish up some of the gl_renderbuffer work.
      Finish up some of the gl_renderbuffer work.
      some missing renderbuffer changes (Roland)
      fix typo
      fix page flipping breakage
      added driFlipRenderbuffers()
      added an assertion to help debug broken stencil readback
      set depthHasSurface field for stencil renderbuffer
      remove unneeded assertion in stencil/depth LOCAL_DEPTH_VARS code
      change scratch pointer from _int32_t to u_int32_t to silence warning.  Is this field actually used for anything?
      set depthHasSurface for stencil renderbuffer
      replace -1 with PROGRAM_UNDEFINED when initializing instructions
      Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
      added GL_EXT_timer_query token
      comments
      GL_EXT_timer_query
      fix some strict aliasing problems related to choosing framebuffer configs (Matthias Hopf)
      silence misc warnings
      remove SetBuffer().  Misc renderbuffer changes.
      added SetStencil/DepthPointer functions
      added flippedData field for page flipping, code to flip stereo color buffers
      SetBuffer, renderbuffer changes
      remove SetBuffer
      remove dead code
      use new InitStencil/DepthPointer functions
      SetBuffer, renderbuffer changes
      renderbuffer updates
      Remove last remnants of pre-renderbuffer code.
      fudge set_component_sizes() a bit, see comments
      replace assertion with a conditional return
      Added InitPointers helper function
      Combine GET_DST_PTR and GET_SRC_PTR into just GET_PTR.
      Use InitPointers helper
      replace GET_SRC_PTR, GET_DST_PTR with GET_PTR
      minor clean-ups
      Fix UpdatePageFlipping() function.  Always call driFlipRenderbuffers()
      Add new void *addr and __DRIdrawablePrivate parameters to
      Further clean-up and simplification of the span-related functions.
      Simplify radeonSetCliprects().  Remove the 'mode' parameter.
      just formatting clean-ups
      remove unused var
      remove obsolete CurrentBufferBit
      make r128SpanRenderStart/Finish static
      make some functions static
      don't use DEFARRAY/CHECKARRAY stuff
      minor clean-up of texture_combine()
      remove DEFARRAY, CHECKARRAY stuff
      Use mklib script instead of ar.  Make libmesa.a instead of mesa.a
      added -Wmissing-prototypes to WARN_FLAGS
      just changes/updates to comments
      added viaRenderbufferStorage() function
      minor formatting fix
      try to fix renderbuffer breakage, primarily in calculate_buffer_parameters()
      minor tweaks to _mesa_ResizeBuffersMESA()
      new comment
      some updates, but code still out of date
      some clean-up and re-org for renderbuffers
      fix precision problem in depth clearing (bug 4395)
      check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places
      Fix the comment for the 'bound' field: it's a bitmask, not an index.
      don't generate selection hits for glBitmap, glDraw/CopyPixels.  Misc clean-ups
      remove the redundant textureSize field, use tex.size instead, it's always the same value
      Add offset and pitch fields to intelRegion.  Remove frontOffset, frontPitch,
      fix GLubyte/GLchan inconsistencies (bug 4331)
      make some vars static
      fix a problem w/ color index mode when CHAN_BITS=16
      Clean-up of sources/Makefile, bug 4111
      put GLUT sources into a separate tarball
      bunch of updates
      Silence some warnings.
      remove rendundant r,g,b,a vars (bug 4331)
      make lookup_query_object() static
      use ASM_API variable, bug 4415
      restore brace lost in previous check-in
      added a return upon out-of-memory, remove a needless assignment
      init StencilOpSeparate to NULL
      Move the ctx->FirstTimeCurrent initialization
      Use GLuint/GLint intead of GLstencil for stencil state.
      Clear either 8 or 16-bit stencil buffers.
      just some reformatting
      OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.
      Replace ctx->Driver.StencilOp/Func/Mask() functions with
      fix FreeBSD problem (bug 4435)
      print version with debug info
      replace semicolon with &&
      update like for MD2 viewer
      Move _mesa_add_soft_renderbuffers() from framebuffer.c to renderbuffer.c
      added driUpdateFramebufferSize()
      Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,
      make some functions static
      updated comment
      use mklib script to make drivers instead of gcc -shared
      Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,
      make some funcs static
      Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,
      pageflip change from radeon driver
      remove .a file before creating new one
      remove rm -f line
      clean-up some _mesa_make_current() code
      Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.
      initial 6.5 release notes
      remove _tnl_MakeCurrent call
      remove unused vars
      Split the s_texture.c file into two new files:
      Update includes post-splitting of s_texture.c
      replace s_texture.[ch] with s_texcombine.[ch] and s_texfilter.[ch]
      New set_fetch_functions() to set a gl_texture_image's FetchTexel functions
      updated comments
      Remove a bunch texel fetch functions that can be handled by the new
      silence warning
      Code clean-ups, reorg.
      Replace GLuint with GLbitfield where appropriate.  Also replace GLuint
      more GLuint->GLbitfield changes
      replace a couple macros with inlined functions
      Rework the texture filtering functions a bit.
      alphabetize
      use mesa import wrappers, bug 4468
      remove unused ctx var
      pass mask=NULL to write all pixels in clear_ci_buffer_with_masking()
      change some comments
      lots of little clean-ups, improvements
      remove unused _swrast_read_depth_span()
      Fix potential segfault when trying to read pixels outside renderbuffer bounds.
      compilation fixes, don't know if runtime works
      s/unsigned long/drm_handle_t/ to get compilation of fb driver to work
      additional wrapper updates, bug 4468
      updated comment
      s/GLchan/GLubyte/, fix error string, add comment
      init a=0
      change location of ffs() code for windows
      remove STENCIL_MAX
      replace STENCIL_BITS with stencilMax value
      Change zLeft and zval to GLuint.  Seems to fix 32-bit Z computation
      remove unneeded sizeof(GLdepth) test
      some improvements to _swrast_clear_depth_buffer()
      compute z[i] as GLuint
      change mask[] test in put_mono_row_uint()
      remove 31-bit Z buffer work-around
      initial check-in
      s/programss/programs/
      replace GLdepth with GLuint
      replace GLdepth with GLuint and remove GLdepth
      Remove ACCUM_BITS.
      add missing scale factor in _swrast_read_depth_span_float()
      s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()
      changed a renderbuffer check
      fix a debug message
      When testing visual attributes, use the Draw/Read buffer, not the context.
      Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,
      improve the test for using software alpha buffer
      Add Wrapper field to gl_renderbuffer.  Used for wrapping one renderbuffer
      Added a fast xor_line() function.  Uses XDrawLine with GXxor mode.
      added XOR line optimization
      fix clipped glReadPixels bug
      Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,
      remove printf
      Added XMesaDrawable to xmesa_renderbuffer.  Use it in a few places instead
      glDraw/CopyPixels of stencil data didn't obey the stencil write mask. Fixed.
      Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixels
      generate GL_INVALID_OPERATION in glAccum if read/draw buffers aren't the same
      tweak glAccum error checking
      added _mesa_scale_and_bias_depth()
      added GL_EXT_packed_depth_stencil
      change initialization of rb->DepthBits
      Initial work for GL_EXT_packed_depth_stencil extension.
      updated assertions (see bug 4590)
      check for framebuffer completeness, code clean-up
      add error checks for framebuffer completeness
      Rewrite much of the pixel zoom code.
      added _swrast_put_row()
      implement CopyPixels for GL_DEPTH_STENCIL_EXT
      call glFinish if drawing to front buffer
      added _swrast_get_row()
      minor improvements
      implemented fallbacks for GL_EXT_packed_depth_stencil
      use fmod() to prevent overflow of angle variable
      move around some error checking
      added _mesa_pack_depth_stencil_span()
      updated comment
      fix broken z24_s8 fetcher
      simplify the read_depth_stencil_pixels() function
      fix an assertion
      additional error checking for GL_EXT_packed_depth_stencil
      GL_EXT_packed_depth_stencil changes
      added _mesa_texstore_z24_s8()
      plug in _mesa_texstore_z24_s8()
      check for GL_DEPTH_STENCIL_EXT
      finish up some missing code
      added a few calls to _mesa_update_framebuffer_visual()
      disable a warning
      change initialization of renderbuffer DepthBits
      Use Visual.depthBits rather than Renderbuffer::DepthBits for depth buffer
      fix behaviour of glIsFrame/Renderbuffer()
      fix glIsRender/FramebufferEXT() assertions
      glBindTexture changes, new assertions
      check if deleting currently bound frame/renderbuffer object
      In gl_texture_image replace IntFormat with InternalFormat and Format with
      added GL_INVALID_FRAMEBUFFER_OPERATION_EXT to gluErrorString()
      s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
      Remove _IsPowerOfTwo from gl_texture_object, not really needed.
      fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)
      Fix a number of point size attenuation problems.
      MATH_DEBUG changes from bug #4468.
      Fix some issues with state updates and renderbuffers.  Querying GL_RED_BITS,
      Query/print GL_RED/GREEN/BLUE/ALPHA_BITS
      change test for presence of accum buffer
      fixed constant fogcoord bug (#4729)
      check for PIXMAP in clip routine (SF bug 1323215)
      fix GLAPI/extern problem (bug 4757)
      change includes (bug 4468)
      remove unused _mesa_log2() (bug 4468)
      added some header files to DRI_FILES (Donnie Berkholz)
      Lots of clean-ups.  Replace __inline__ with INLINE macro.  Use the
      move _mesa_exec_malloc/free() up near other malloc/free prototypes
      s/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/
      updated for new mm.c, execmem.c files
      s/glut_gz2/glut_bz2/
      Disable the FASTCALL optimization because it still breaks server-side GLX.
      fix another renderbuffer wrapping bug
      added mm.c mm.h execmem.c
      fix bad loops in TransposeMatrix[fd]()
      restore FASTCALL stuff
      fix broken KIL
      fix broken SWZ instruction
      Darwin version fix (SF bug 1334274)
      check span.y >=0 (bug 4842)
      fix GLX server resize/crash when resizing windows
      fragment program writing to result.depth.z was broken
      updates from 6.4 branch
      silence a bunch of compiler warnings
      don't use -Wmissing-prototypes for C++ code
      add newline at end of file
      TNL module needs to implement ctx->Driver.ProgramStringNotify() function
      Added assert that result != arg0 in do_RSW.  This currently fails and needs fixing.
      include tnl.h to silence warning
      Keith's fixes for RSW and XPD (need temporaries)
      If parsing a program fails, don't change the vertex/fragment program object.
      fix errors in RoughApproxPower(), do_LIT(), _tnl_program_string()
      fix a few bugs in SWZ execution
      fix LIT bug
      s/lenght/length/
      clean-up comments
      added warning about use of REG_SCRATCH
      Free old parameter list before assigning new one.  FIxes memory leak.
      reduced swizzle comment
      Use MAKE_SWIZZLE4() macro in a few more places.
      added some assertions to catch unexpected swizzle values in cvp_emit_arg(), currently fails sometimes
      need to use absolute value for RSQ
      Lots of clean-up in arb program parser.
      Simplify parse_attrib_binding().
      check swrast->_FogEnabled instead of ctx->Fog.Enabled
      fix problems found with gcc 2.96 (bug 4934)
      Re-org and clean-up of vertx/fragment program limits (instructions,
      Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention
      implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad)
      added osdemos/ dir to DEMO_FILES
      fix typo, minor clean-ups
      added a const, clean-up
      s/15/VERT_RESULT_MAX/
      use WRITEMASK_* tokens
      Streamline code generation by using a fixed size instruction buffer in
      fix MinGW problems (bug 4956)
      remove unneeded HIDDEN definition (bug 4956)
      MESA_GLX_ALPHA_BITS env var to force visual with alpha channel
      just pass ctx to do_ndc_cliptest() rather than stuffing it in the arb_vp_machine struct
      better ffs() function (bug 4956)
      use VERT_RESULT_HPOS, VERT_BIT_POS tokens
      minor improvements in _mesa_init_teximage_fields()
      Replace parameter_type enum in program.[ch], use register_file enums instead.
      don't need MAKE_SWIZZLE() macro
      added MESA_GLX_ALPHA_BITS env var
      remove unneeded #include
      remove unneeded #includes
      Unify vertex/fragment program instuctions.
      s/TexSrcIdx/TexSrcTarget/
      s/Negate/NegateBase/
      added _mesa_num_inst_src_regs() and _mesa_opcode_string()
      use _mesa_num_inst_src_regs() instead of nr_args()
      use _mesa_num_inst_src_regs() and _mesa_opcode_string()
      Use _mesa_opcode_string()
      added _mesa_program_file_string()
      use _mesa_program_file_string() and _mesa_opcode_string()
      consolidate vertex/fragment program printing into _mesa_print_program()
      s/_mesa_debug_vp_inst/_mesa_print_program/
      s/_mesa_debug_fp_inst/_mesa_print_program/
      remove unneeded #includes
      remove unneeded #includes
      minor work in _mesa_print_program()
      remove a bunch of extension stuff that's in glxext.h
      some initial work on upcoming GL_EXT_framebuffer_blit extension
      remove _mesa_debug_fp_inst()
      s/_mesa_debug_fp_inst/_mesa_print_program/
      Move COPY_FLOAT() macro down into glide driver.
      use UNCLAMPED_FLOAT_TO_USHORT/UBYTE in clear_rgba_buffer() (bug #4992)
      Bug 4996.
      fix popping of GL_EYE_PLANE state (bug 4996)
      Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).
      remove -DMESA_DEBUG
      fix popping of GL_SPOT_DIRECTION (bug 5005)
      s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments
      Make _mesa_is_proxy_texture() non-static and use in a few more places.
      Move stuff common to vertex/fragment_program into the base class, including:
      update some assertions
      update an assertion
      Added OSMesaColorClamp(), bug 4917
      Added _mesa_light() helper function so we can avoid transforming then
      fix comment for TexSrcTarget
      Improve _mesa_print_program().
      remove unneeded RasterPosValid check
      Fix problem in stencil_and_ztest_span() when using h/w stencil buffer.
      check for ctx==NULL, bug 4087
      fix color interpolation problem reported on VMS
      add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()
      Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_END
      change an assertion
      Added error checking in _tnl_Begin to detect incomplete framebuffer.
      added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffers
      Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).
      added depthstencil.c
      Use new gl_framebuffer _Depth/_StencilBuffer fields instead of
      added depthstencil.[ch]
      additional comments about GL_DEPTH_STENCIL buffers
      added -ds option to test GL_EXT_packed_depth_stencil with framebuffer objects
      improved error checking in error_check_format_type()
      delete frame/renderbuffers upon exit, more error checking
      optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL renderbuffer
      s/MEMCPY/_mesa_memcpy/ and fix typo
      optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbuffer
      move _mesa_update_state() calls before error tests that depend on framebuffer completeness
      In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation.
      move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.h
      update comments, remove ^M chars
      Remove the _mesa_parse_arb_vertex/fragment_program() functions into
      removed arbfragparse.[ch] arbvertparse.[ch]
      remove #include arbfragparse.h, s/PI/M_PI/
      remove #include arbfragparse.h
      No longer derive 'ati_fragment_shader' from 'program' class.  Only the
      update some vars
      in run_texnorm_stage() check if the texture unit is really enabled before trying to normalize the texcoords
      call gluDeleteQuadric() to fix mem leak
      Bunch of little fixes:
      Saturate is a 1-bit boolean field
      remove incorrect cast
      additional clean-ups and improvements
      Make Saturate a 2-bit field again, renamed to SaturateMode with three
      s/Saturate/SaturateMode/
      move _mesa_init_instruction() to program.c
      disable freeing of fp->func, see comment (bug 5131)
      reference bug 5131 in comment in _tnl_free_vertices()
      New _eglLog() function to replace fprintf/printf calls for debug/info.
      use _eglLog()
      change error message
      fixed wrong return value in radeonShowSurfaceMESA()
      update some comments
      Choose the display mode / surface size in an intelligent way.
      check/print EGL_SCREEN_BIT_MESA, fix eglGetDisplay() call
      init attribs to EGL_DONT_CARE in _eglParseConfigAttribs()
      change error test in _eglParseConfigAttribs()
      report error token in message printed in _eglError()
      Move all the EGL API function pointers into a new _egl_api struct.
      use _egl_api struct, make some functions static
      use new _egl_api struct
      use ADD_POINTERS macro instead of (uintptr_t) cast
      include stdint.h for BSD
      Redo _eglInitSurface() so it can be used with all surface types.
      Lots of fixes, clean-ups, new comments, etc.
      rearrange some code to put in more logical order, misc clean-ups
      check for driver_modes == NULL.  Don't need driver_modes for EGL driver
      apparently need to load colormap after setting the mode to make it work reliably
      clean up the drmGetMap/drmMap code
      Put extension flags, string into separate struct.
      added _EGLExtensions typedef
      use the files from the drm tree/package
      remove dri_client/ dir from tarball
      assorted fixes for server-side direct rendering (bug 5199)
      fxt1_decode_1() should not be static
      get depthBits from the current drawbuffer
      added comment about glTexImage and renderbuffers
      Added FinishRenderTexture() device driver function to indicate when
      try removing need for the uintptr_t casts
      remove uintptr_t cast
      fix _mesa_ffs() return, test for more platforms (Evgeny Kotsuba)
      Test sizeof(drm_handle_t) instead of LONG64 when returning handles
      Fix two failures encountered when running out of memory during XImage
      Added PCI_CHIP_RV410_5E4B (Adam Kirchhoff)
      C++ fixes, mostly casts (Stephane Conversy)
      Updates for GL_EXT_timer_query:
      remove stray _ from GL[u]int64_EXT
      do away with 'long long' usage
      don't need LONGLONG typedefs
      bump version number
      'a' key to toggle animation
      implement config sorting for eglChooseConfig()
      lots of updates, mode sorting, etc
      Added EGL_SCREEN_POSITION_GRANULARITY_MESA query.
      Some initial per-thread support.
      rename eglShowSurfaceMESA, add EGL_SCREEN_POSITION_GRANULARITY_MESA
      updates to match other changes elsewhere
      Rename eglDRIShowSurfaceMESA.
      s/eglShowSurfaceMESA/eglShowScreenSurfaceMESA/
      silence warning, bug 5318
      Removed the GL_SGIX/SGIS_pixel_texture extensions.  Same thing can be
      use GLbitfield instead of GLuint
      regenerate to pick up glGetQueryObject[u]i64vEXT funcs
      move va_end() call (Evgeny Kotsuba)
      minor code movement
      remove bogus wings3d link
      special-case Darwin (bug 4509)
      install GLw headers (bug 5396)
      check XGetGeometry() return value
      only call xmesa_set_renderbuffer_funcs() when really necessary
      s/GLuint/GLbitfield/
      added a couple new assertions to help debug XGL problem
      Free visinfo object (Tilman Sauerbeck)
      properly free ATI fragment shaders (Tilman Sauerbeck)
      added wglGetExtensionsStringARB
      WGL_ARB_extensions_string extension
      remove the GL_HP_occlusion_test code
      remove unneeded init of swrast->invalidate_line/triangle
      New comments, clean-up of fields related to point/line/triangle validation.
      copypixrate.c - measure the speed of glCopyPixels.
      Test glTexSubImage and glCopyTexSubImage rate.
      Don't do swapbuffers if -nodraw specified.  Get t0 after setup code.
      misc updates
      Test glCopyTexSubImage2D by drawing gears as texture on sides of a box.
      some initial EGL 1.2 work
      use fmod() when incrementing CubeRot
      added more tests (Pedro Maia)
      silence warning about duplicate M_PI definition
      updated comment
      s/malloc/calloc/, fix mem leak
      fix texcoord unit assertion (bug 5780)
      add some assertions to check emit_func[] table validity
      use calloc instead of malloc so try_codegen field is initialized to zero (bug 5791)
      bring in changes from 6.4 branch
      fix typo
      EGL 1.2 tokens/functions/etc.
      David Reveman's GLX_EXT_texture_from_pixmap extension patch
      include dix-config.h (Mike Harris) (bug 5835)
      remove the test for XFree86Server from prev patch (bug 5835)
      fix AIX issues (bug 5874)
      replace size_t * w/ unsigned int * (Jurg Billeter)
      remove stray 'foo' line
      Fix a few warnings:
      Set NumInstructions (bug 5864)
      updated GLUT link
      silence a variety of compiler warnings
      add missing prototypes, use _slang_ prefix on non-static functions
      include proper header file, remove local extern declarations
      add some #includes, fix some prototypes (bug 5992)
      update Blender link
      include inttypes.h if __osf__ defined (Randall Hand)
      EXT_framebuffer_object (Dave Reveman)
      Fix _mesa_copy_texture_state() so that we copy texture object bindings,
      need to check for _NEW_BUFFERS in xmesa_update_state()
      fix broken _mesa_copy_context() for GL_LIGHTING_BIT
      display list clean-ups
      Remove need to initialize the InstSize[] array elements by just storing
      re-formated with indent.
      silence a bunch of warnings
      check for active shader, set FRAGPROG_BIT in raster mask
      check if active fragment shader for deferred texturing/shading
      only run shader on active fragments in the span
      Allow error checking to look for presence of either of two extensions.
      GL_EXT_framebuffer_blit tokens/functions
      _swrast_blit_framebuffer() function
      added s_blit.c
      remove temporary tokens, more error checks for blit function
      Added glBlitFramebufferEXT function.
      updated comment
      added Flush in glXCopyContext()
      New comments.  Use tuples () instead of lists [] in a few places.
      added BlitFramebuffer() support
      No need for _mesa_save_error() to be public.
      implementation of _swrast_BlitFramebuffer()
      plug in BlitFramebuffer function
      check FEATURE_EXT_framebuffer_blit
      improved error msg
      test glBlitFramebufferEXT w/ -blit flag
      added GL_EXT_framebuffer_blit, etc
      FreeBSD updates (Pedro Giffuni)
      call _mesa_update_framebuffer_visual() in _mesa_FramebufferRenderbufferEXT() to fix some minor glitches
      print newline in _mesa_warning()
      disable double-buffer test in check_compatible(), fixes pbuffer/visual problem
      just a comment for check_compatible()
      Instead of adding extra flags to DEFINES with +=, define EXTRA_DEFINES instead.
      s/GLint/int/, to fit GLX conventions
      Add prototypes for GLX_MESA_swap_frame_usage, GLX_MESA_swap_control, and
      replace dprintf() with _glu_dprintf() (bug 6244)
      Set always_array=true for glGenProgramsNV (Dave Reveman)
      init Red/Green/EtcBits = 0 in soft_renderbuffer_storage()
      s/GLuint/GLushort/ in read_depth_stencil_image()
      use 'p' key to toggle use of GL_EXT_packed_depth_stencil
      rename enums, fixes compilation breakage (Michal Krol)


Reply to: