Mesa (gallium-mesa-7.4): 52 new commits

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 17 17:31:49 UTC 2009


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7adc92576e9efa05517d19112d5a7add7413500
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 17 11:27:55 2009 -0600

    st/mesa: rework viewport/scissor initialization code
    
    This is a hand-pick of some of the new viewport code committed to
    mesa_7_5_branch.
    See commit 3f856c6b6b7fa95ef97a8712876de88d7d57932e for reference.
    
    This is just the state_tracker part.  The core Mesa part came from
    merging in mesa_7_4_branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b1acf6fa8189867a15416a098fe70e05913a48b
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 17 08:43:17 2009 -0600

    mesa: rework viewport/scissor initialization code
    
    The first time a context is bound to a drawable, the viewport and scissor
    bounds are initialized to the buffer's size.  This is actually a bit tricky.
    
    A new _mesa_check_init_viewport() function is called in several places
    to check if the viewport has been initialized.  We also use a new
    ctx->ViewportInitialized flag instead of the overloaded
    ctx->FirstTimeCurrent flag.
    
    Hand-picked from mesa_7_5_branch, commit 3f856c6b6b7fa95ef97a8712876de88d7d57932e

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fa42650382e3e0efe612d69e491ea8545a00b93
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 17 08:40:16 2009 -0600

    mesa: added null ptr check in Fake_glXCreatePixmap()
    
    Fixes segfault in progs/xdemos/glxgears_pixmap.c
    
    (cherry picked from master, commit d18c57aaeac37cde0cb551191ecd3c3a56a0ffba)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e310e05b147de49c11a45f99ad67268b20ff5549
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 17 08:06:50 2009 -0600

    docs: document GLX/glean makeCurrent fix

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46b2684e897c0e3e548d4dc3ae7dcdb4ba4cb064
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 17 08:05:54 2009 -0600

    GLX: attempt to fix glean makeCurrent test cases.
    
    Two parts to this:
    
    One we don't keep pointers to possibly freed memory anymore once we unbind the
    drawables from the context. Brian I need to figure out what the comment
    you made there, can we get a glean/piglit test so we can fix it properly?
    
    If the new gc is the same as the oldGC, we call the unbind even though
    we just bound it in that function. doh.
    
    (cherry picked from master, commit 77506dac8e81e9548a7e9680ce367175fe5747af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fc093d06c2af3b72f562ba81b1287d98b50ddad
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 09:40:22 2009 -0600

    docs: document viewport clamping bug

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ccde338282cd5f2bc2e40a145855cb30825a86c
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 09:39:33 2009 -0600

    mesa: fix incorrect viewport clamping in _mesa_set_viewport()
    
    A 0 by 0 viewport size is legal.  Don't clamp against lower bound of one.
    The error checking earlier in the function prevents negative values.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a24e8ae81d5081e085f694924b186bdd0ac680b8
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 08:48:26 2009 -0600

    docs: fixed bug 21872

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84943a2aca3e69f89b8bc5bbfc585d3a35e44cf4
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 08:48:12 2009 -0600

    mesa: fix REMAINDER() macro
    
    The results were incorrect for some negative values of A.
    See bug 21872.
    
    (cherry picked from mesa_7_5_branch, commit ed7f4b42307bff4633689d6781cd3643f10041e5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b83c9ecef41dc329c34aca722cb08339592a8be0
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jun 15 16:24:03 2009 -0600

    docs: recent fixes for 7.4.3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72d2307fed8e8d30aa302b58aebac16d8f4bfec4
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jun 15 16:22:54 2009 -0600

    intel: Release fb backing regions in intelDestroyBuffer()
    
    Fixes memory leak when destroying framebuffers.
    
    (cherry picked from mesa_7_5_branch, commit d027e8feff7d38cccadc6aaccc0454b21ce4dca0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad56b15195388846e1c1a4ead9cfa8d10236dbf5
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 10 12:26:12 2009 -0600

    glsl: fix warnings, update comments, s/TRUE/GL_TRUE/
    
    (cherry picked from master, commit 7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d6008bea51f5a57b12fe3d15ec5e60e32f75b93
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 10 12:25:35 2009 -0600

    glsl: Handle continuation characters in preprocessor.
    
    (cherry picked from master, commit cc22620e4b11425997f3bc1fc70f4c88cec22d2e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7323704262761a0346d99d8eee442ff4a5290c5f
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 10 12:25:11 2009 -0600

    glsl: Fix symbol replacement handling in preprocessor.
    
    (cherry picked from master, commit d9617deb008b75f4a605a30408aeb1948139c33e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1056535dcea534ea1b54eb7e3e089fe7367af86
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 10 12:24:52 2009 -0600

    glsl: Expand nested preprocessor macros.
    
    (cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed31da85cac1bc7d42e8efbd00e130ad323aaf35
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 10 12:24:32 2009 -0600

    glsl: Fix preprocessor define argument parsing for dead sections.
    
    (cherry picked from master, commit 19a54d9f1055c366fd77026dd67007a8d5921f58)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ead7677b3a5146b9e1de9f60fd71475ffbebc50
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 10 12:24:11 2009 -0600

    glsl: preprocessor debug code (disabled)
    
    (cherry picked from master, commit 854151ba62e4b1cb6a755f6c131ee2e0f680f39b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1212f5120cfe06bc0ee5c36207c1f91e429c0269
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jun 5 17:30:51 2009 -0600

    docs: document recent bug fixes for 7.4.x

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25734905c97c8bfa51f595de3bff25acfcbcdfcc
Author: Dan Nicholson <dbn.lists at gmail.com>
Date:   Thu Jun 4 19:42:08 2009 -0700

    osmesa: Link with -ldl for dlopen code
    
    Now that the dlopen wrappers are built into libmesa.a, we need to link
    standalone libOSMesa with libdl to resolve dlopen and friends on
    platforms that need it.
    (cherry picked from commit 4795dd5950d4dcd7c8d421c8fb4851c193297ba1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a22e28572e24793ef05cee5ae6bcbe19bea5fa3e
Author: Dan Nicholson <dbn.lists at gmail.com>
Date:   Thu Jun 4 06:21:10 2009 -0700

    osmesa: Allow building standalone in all three channel widths
    
    autoconf had been designating the 8 bit libOSMesa as the default
    standalone osmesa, but the Makefile expected it to be linked to libGL.
    Fix up the osmesa Makefile so that it allows any of the combinations of
    standalone and channel width to be built.
    
    Fixes bug #21980.
    (cherry picked from commit 7441dcd90b01df8351026af8bbb50e11bb86071a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb69a7c70f477125c18fd332b11484da5ae6b6c5
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jun 1 15:03:54 2009 -0600

    mesa: fix loop over generic attribs in update_arrays()
    
    (cherry picked from commit 1045481dd96dec6e37f4b623b1dbae8af381de75)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b03328ab0534367fef0158551195a1ba8749f078
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 13:20:48 2009 -0600

    demos: fix multitex.c VertCoord attribute mapping
    
    If the multitex.vert shader uses the VertCoord generic vertex attribute
    instead of the pre-defined gl_Vertex attribute, we need to make sure that
    VertCoord gets bound to generic vertex attribute zero.
    
    That's because we need to call glVertexAttrib2fv(0, xy) after all the other
    vertex attributes have been set since setting generic attribute 0 triggers
    vertex submission.  Before, we wound up issuing the vertex attributes in
    the order 0, 1, 2 which caused the first vertex to be submitted before all
    the attributes were set.  Now, the attributes are set in 1, 2, 0 order.
    
    (cherry picked from commit 58fadc624281b3f0bbe084e3e8af28a61036ca94)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=072411b5e5c0a251b81bcdc29f12b1044a220a54
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 13:19:42 2009 -0600

    vbo: fix crash in vbo_exec_bind_arrays()
    
    When a vertex shader uses generic vertex attribute 0, but not gl_Vertex,
    we need to set attribute[16] to point to attribute[0].  We were setting the
    attribute size, but not the pointer.
    
    Fixes crash in glsl/multitex.c when using the VertCoord attribute instead
    of gl_Vertex.
    
    (cherry picked from commit c3538969e1ae3e626a618934aa8f35a7a22ddb39)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9c356a43e3883ae6fff20916d04e24760169fa6
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 09:38:18 2009 -0600

    mesa: allow GL_BITMAP type in _mesa_image_image_stride()
    
    It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D()
    which gets converted to RGBA via the glPixelMap tables.
    
    This fixes a failure with piglit/fdo10370 with Gallium.
    
    (cherry picked from commit 995456f9305593005f8466520314ee087f3d422a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=441ee100045a2ecca6089ecbc96ae132778784d0
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 07:13:47 2009 -0600

    docs: updates for version 7.4.3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3417290b1037d08f3a2c354bde7a083beb23bf6
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 07:13:34 2009 -0600

    mesa: bump version to 7.4.3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=392d21b9e587fb597bfa239e8846877ec2289b7b
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 07:13:30 2009 -0600

    mesa: bump version to 7.4.3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e913821b1460db79e85d97819f5cbbce4a86bb3d
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 07:10:47 2009 -0600

    vbo: fix incorrect loop limit in bind_array_obj()
    
    The generic_array[] is 16 elements in size, but the loop was doing 32
    iterations.  The out of bounds array write was clobbering the following
    inputs[] array but as luck would have it, that didn't matter.
    
    (cherry picked from commit 8da09e6924ca22ba7951d5a7673dfab2a711a997)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46eb4e0cde08e43684d5a02bb0f6cc92175b03d2
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 07:08:38 2009 -0600

    docs: add glGet case for GL_VERTEX_ARRAY_BINDING_APPLE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c23f1cb8e45c80428c0c80d76dfa234a64748906
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 22 07:07:38 2009 -0600

    mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLE
    
    (cherry picked from commit 70c4b81e88e18e354e8dfaf47e5455e463b207d8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b4017c7a04c1b307ac15935bfc524f2e1359067
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 20 08:14:45 2009 -0600

    mesa: remove texUnit->_Current = NULL assignment
    
    A follow-on to commit 46a2aad2cfec0ae54bc1a3ba5aacf6f59065d64b which
    fixes a texture object memory leak.
    
    See bug 21756.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dd37884905235ba195652b162f8980e4ddd0faa
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 19 10:06:58 2009 -0600

    docs: 7.4.3 relnotes edits

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=caeae523850f46a25ba666fe1ece77b10f14af07
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 19 10:06:09 2009 -0600

    docs: start 7.4.3 release notes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e03d9d885055aebcbdd2cb58328624b455ad8c02
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 19 10:04:17 2009 -0600

    mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT
    
    See sourceforge bug #2793846.
    
    (cherry picked from commit 042d9a513213b1fa356c0d80abc62b9327e0bcc2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c97b0f27dc6b7cfbe32b8bc8e8c98f832247e93
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 19 10:02:55 2009 -0600

    mesa: assign trb->Base.StencilBits in update_wrapper().
    
    When we render to a depth/stencil texture there are stencil bits.
    
    (cherry picked from commit c99a60c40d4ece363d37a5af895124f08a645c6b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e7ddd086ffe8a2e3fa0d41fa441d802964c75d9
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 19 09:03:19 2009 -0600

    mesa: fix texture object reference counting in texture_override()
    
    Fixes bug 21756: r200: Mesa-7.4.2 release regression: "Quit on exit".

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=631d5b479825caa5aa739267c716bc8d540cbfed
Author: Aidan Thornton <makosoft at googlemail.com>
Date:   Mon May 18 12:47:00 2009 +0200

    Initialize psp->waitX/waitGL for swrast_dri.so.
    
    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .
    (cherry picked from commit f2445dfd85b42aafe0634e17b2929b4122ff3f03)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f4c14206c694a5675f12ac5036033ddfcc445c6
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 15 06:32:24 2009 -0600

    docs 7.4.2 tarball md5 sums

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f132cbf4be2079760e586a6dfd24d55b030562b
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 15 06:21:56 2009 -0600

    docs: set 7.4.2 release date

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4275bc93f3612450e81e686263496179c30310d0
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 14 13:20:13 2009 -0600

    mesa: bump version to 7.4.2

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f299fea63243ac6544608001420e08ef95a2f5a
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 29 11:07:14 2009 -0700

    i965: fix render to FBO/texture orientation bugs
    
    Anytime we're not rendering to the default/window FBO, need to invert
    rendering, not just when rendering to a texture.  Otherwise, if a FBO
    consists of a mix of textures and renderbuffers the up/down orientation
    was inconsistant.
    
    Fixes shadowtex.c bad rendering.
    (cherry picked from commit ba367f68ccacf255f78ac0c8dd066e64bbb1e5c2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eadd89dad757ba768ea2b7295c83ce8dceafb02f
Author: Brian Paul <brianp at vmware.com>
Date:   Mon May 11 09:49:46 2009 -0600

    docs: updated bug fix list for 7.4.2

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53b3e7ec25898fa34dd9c1ac449d5880b81c3f9f
Author: Brian Paul <brianp at vmware.com>
Date:   Mon May 11 09:47:17 2009 -0600

    mesa: Fixed a texture memory leak
    
    The current texture for any particular texture unit is given an additional
    reference in update_texture_state(); but if the context is closed before
    that texture can be released (which is quite frequent in normal use, unless
    a program unbinds and deletes the texture and renders without it to force
    a call to update_texture_state(), the memory is lost.
    
    This affects general Mesa; but the i965 is particularly affected because
    it allocates a considerable amount of additional memory for each allocated
    texture.
    
    (cherry picked from master, commit c230767d6956b63a2b101acb48f98823bb5dd31a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23bee67ca750f91e9a1b2b3b5cceb2da0bd962f3
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 5 12:14:29 2009 -0700

    Flag GLSL programs as depending on constant state when they use uniforms.
    
    This is not a cherry-pick, as it got fixed in master with the
    _NEW_PROGRAM_CONSTANTS change.  Fixes bad rendering with various GLSL programs
    idr and I have been writing.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=199c80c6667737ef4cbb9e3cd6a737e4d7c8e85a
Author: Brian Paul <brianp at vmware.com>
Date:   Mon May 4 08:34:20 2009 -0600

    glx: replace Xmalloc() calls with Xcalloc()
    
    Fixes a bug where psp->WaitX was uninitialized.  Reported by Chris Clayton.
    
    (cherry picked from commit dd4c142e90a0cba5b445990bb522ce9199d7f565)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=268f43a5fb100951b75fc6180e72ba5157898a6e
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 1 18:04:07 2009 -0600

    mesa: fix state validation bug for glCopyTex[Sub]Image()
    
    We need to make sure the framebuffer state is up to date to make sure we
    read pixels from the right buffer when doing a texture image copy.
    
    (cherry-picked from master, commit 63f01309801c5a900d8d7f5ccd63413e33ff9bff)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41e1cb57c26006daa835b5772c90fb35ce674aff
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Apr 30 17:08:21 2009 -0600

    docs: fix typos

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41791bcea2cbb9e942c4d80302bd9296caf2d49f
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Thu Apr 30 13:21:08 2009 +0200

    r300: Increase reference count of texture objects referenced by current state.
    
    Fixes a use-after-free reported in
    http://bugs.freedesktop.org/show_bug.cgi?id=20539, so this possibly fixes that
    bug. It has been confirmed to fix
    http://bugs.freedesktop.org/show_bug.cgi?id=17895 .
    (cherry picked from commit c28707b50701b1cf8727be29d61e2d939c6ee58f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce58dfd4a98dac171ee49068dee543abf64f615e
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Apr 28 10:57:45 2009 -0600

    mesa: Fix buffer overflow when parsing generic vertex attributes.
    
    (cherry picked from master, commit fa92756400ccfbb3f0201df634feb45ab4f98352)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dd7aba443935048eb65b5e29b4e8c16cbd1fe93
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Tue Apr 28 12:37:29 2009 -0400

    R300: add quadpipe overrides
    
    RV410 SE chips only have 1 quadpipe.
    Also, handle other R300 chip with quadpipe override

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b21949d6fb5adf697c7076d2e3c7c636822c429c
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Apr 28 09:11:05 2009 -0600

    docs: fix swrast texrect bug 21461

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c89f0618a06663d7db5cc09ec4c860b04284db5d
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Apr 28 09:09:41 2009 -0600

    swrast: add missing break in clamp_rect_coord_linear()
    
    See bug 21461.
    
    (cherry picked from master, commit dcf571aff9de1a4298c4d2c4148d84cdc4daf02e)




More information about the mesa-commit mailing list