Mesa (master): 60 new commits

Brian Paul brianp at kemper.freedesktop.org
Tue Jan 24 21:37:01 UTC 2012


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba151a333be7a23266b23ee6f65669bb19221546
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 24 13:32:13 2012 -0700

    swrast: fix uninitialized variable warning

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf386f0a2ba3efcfd6ddbfcbebaf98a9bfa7a29f
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 24 13:29:05 2012 -0700

    swrast: make rowStride variable signed in put_z32_values()
    
    As with commit aed5c8299fe47b8e1728f8140d069bc89d3fa947

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89bb19adb08caaefc01e613e9bbfbdd1f366ddab
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 18 17:47:32 2012 -0700

    intel: use swrast code to map/unmap renderbuffers for swrast rendering

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4baf90353dee771e553c552674616b93aedeaecf
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 18 17:39:33 2012 -0700

    mesa: update comments, fix whitespace in dd.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9403cc3aba0769dc6925cea3ec20aa95d491f516
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 18 17:39:33 2012 -0700

    swrast: remove unused StoreTexel code
    
    No longer needed since we do all rendering to texture with the buffer
    mapping and pixel packing functions.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1caf698191fb871850311353862eb7fc927f9f9c
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 18 17:39:33 2012 -0700

    swrast: use Map/UnmapTextureImage() in framebuffer map/unmap code
    
    When we're actually rendering into a texture, map the texture image
    instead of the corresponding renderbuffer.  Before, we just copied
    a pointer from the texture image to the renderbuffer.  This change
    will make the code usable by hardware drivers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56d83ac4bf0267982554f25c6fdb3c1dd6e14a9c
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:06:03 2012 -0700

    mesa: remove ctx->Driver.Map/UnmapTexture() hooks
    
    No longer used anywhere.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b8a54afd9b748b7250993393864544ad6961edb
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:05:59 2012 -0700

    nouveau: stop calling ctx->Driver.Map/UnmapTexture()
    
    And remove unused nouveau_texture_map/unmap()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bbab2275f792553f8ed6bcebfe6acc4cb4179c2
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:05:55 2012 -0700

    tnl: remove ctx->Driver.Map/UnmapTexture() calls
    
    ctx->Driver.MapTexture() always points to _swrast_map_texture().
    We're already reaching into swrast from t_vb_program.c anyway.
    This will let us remove the ctx->Driver.Map/UnmapTexture() functions.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bde356a1580f52cae0aaca020a33a6437083a450
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:05:49 2012 -0700

    swrast: move some renderbuffer functions to s_renderbuffer.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1839a7fc9faae81d32ffc0cdc908b933f4524e28
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:05:44 2012 -0700

    intel: remove intel_span_supports_format()
    
    It always returned True.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c1e27ba219e41ae2641cca0d3c67462bdba8631
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:05:41 2012 -0700

    swrast: remove a few extra _mesa_get_format_bytes() calls

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1da7d6c919e9a6d756b208caa6685bfa1146b543
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:05:36 2012 -0700

    mesa: update comments for gl_renderbuffer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1888dd52a32e114e7b3796db5a6b44921a2e04d4
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:05:07 2012 -0700

    mesa/swrast/drivers: remove obsolete gl_renderbuffer fields
    
    This removes the last of the legacy fields from gl_renderbuffer.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=becbb643135ddccac5054bf138ca0cc7cc3fff15
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:03:28 2012 -0700

    dri/swrast: use swrast_renderbuffer type

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c1862851f27c428a18ba5509636efcc2f0084f8
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:02:19 2012 -0700

    swrast: use swrast_renderbuffer instead of gl_renderbuffer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=797c18be1f907337ebd85b18ce43dfa0b056f492
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 13:01:35 2012 -0700

    osmesa: use swrast_renderbuffer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c080202db5363a18a759a9a7c82b40ac558c8abe
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:52:21 2012 -0700

    radeon: derive radeon_renderbuffer from swrast_renderbuffer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f8ed9d66298e2dc5dff508e3ea723469fe06d93
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:40:01 2012 -0700

    intel: derive intel_renderbuffer from swrast_renderbuffer
    
    Drivers that rely on swrast need to do this, as with swrast_texture_image.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d16e71eeb47d1e67930f6e86a80dc926468224d9
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:35:49 2012 -0700

    xlib: derive xmesa_renderbuffer from swrast_renderbuffer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2479530b8be3866c234ac759a7fa84e634dd1aa
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:35:45 2012 -0700

    swrast: allocate swrast_renderbuffers instead of gl_renderbuffers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34988272d9c7a889a26bb8bdcb841d44797a5dd6
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:29:15 2012 -0700

    swrast: new swrast_renderbuffer type
    
    This will let us move the swrast-specific fields out of gl_renderbuffer.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=924de7dc96f4607cb3d833637b5f69f4b9e2a6d0
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:29:11 2012 -0700

    intel: use intel_rb_format() to get renderbuffer format
    
    This will make future changes cleaner and less invasive.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1048d55d5fa60d17dd99ac7394ff0572500625f9
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:29:04 2012 -0700

    dri/swrast: rename swrast_renderbuffer to dri_swrast_renderbuffer
    
    To prevent name collision with future swrast_renderbuffer in the swrast
    module.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c45771905f237d9285465dfce955440582ee51e5
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:28:59 2012 -0700

    swrast: use stencil packing function in s_stencil.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=881ef2a9db22cff4c7d07b873d23b0c324da555a
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:28:56 2012 -0700

    swrast: use color packing functions in s_span.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8696a5210289166ce39d765d771258258400e876
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:28:51 2012 -0700

    swrast: remove s_spantemp.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0f0d7a8118401b209c674804255b5fd9e8c94c0
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:28:47 2012 -0700

    xlib: remove xm_span.c and related code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59a5b5a193d5d9c5776aa586b34657b6e315479d
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:28:42 2012 -0700

    mesa: remove gl_renderbuffer::Wrapped
    
    There's no such thing as renderbuffer wrappers anymore.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab331140c68d1c157e69ea8e53b44729355fa43c
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:27:50 2012 -0700

    swrast: rewrite, simplify the the render-to-texture code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a36345f70a0b8ac2d480bb52eb2c74c2be5a978
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:10:46 2012 -0700

    mesa: rename gl_renderbuffer::Data to Buffer
    
    To better indicate that this pointer to the malloc'd memory.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6a3979a0444a14c198c10501e9ff13f24625443
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:15:40 2012 -0700

    mesa: move freeing of software renderbuffers into swrast

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9874feef4d8952df5054bd8e8f4e0deda4ef44f
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 12:03:09 2012 -0700

    mesa: remove gl_renderbuffer::DataType

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e1b5cb01a10e39d01923e3c7e989c44210950cd
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:48:18 2012 -0700

    mesa: remove gl_renderbuffer:RowStride field

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82846fea4d042466ccfd5b3c86d98e856086cc05
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:32:12 2012 -0700

    mesa: finally, remove the GetRow/PutRow/etc functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=304f7a132741a528ca6e861a918ef59991874e5f
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:30:03 2012 -0700

    dri: remove all the obsolete spantmp files

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4c6dedb27897ae1340983b5d12927e0a9fb2212
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:29:58 2012 -0700

    radeon: remove obsolete GetRow/PutRow code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f892debdc21d12c40d2b69b4e9efdf527672d3ec
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:29:53 2012 -0700

    nouveau: remove obsolete GetRow/PutRow code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41869c49421141807ab71cabca4c8a07611f6a64
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:29:35 2012 -0700

    intel: remove most of the span Get/PutRow code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb5fa9ea624574909bf57f9e1ad190a440d59dc2
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:28:15 2012 -0700

    dri/swrast: remove obsolete GetRow/PutRow code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2873555a76a7358db053c3a7b121b489f8df9bb1
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:28:02 2012 -0700

    osmesa: remove obsolete GetRow/PutRow code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e80c7e5bf822e3b9efd145d33badcf4f14504ff
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:24:18 2012 -0700

    xlib: remove obsolete GetRow/PutRow code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d2f0c8bb86b8dfcb6f0be7bf027fe725007bc5f
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:24:09 2012 -0700

    mesa: remove obsolete PutRow, etc assignments

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d65bbfa947b9e2c5353bda857470a01d5398b3fa
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 12 18:33:09 2012 -0700

    swrast: remove Get/PutRow()-related code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4a566a610778e6ab93424a38e372c3dcb7d92d3
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 11:38:46 2012 -0700

    st/mesa: remove gl_renderbuffer::GetPointer stuff

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ff817f200ef4cb4a5ab0d90eccfc83d0671fb65
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:55:39 2012 -0700

    swrast: stop using Put/GetRow/Values() in swrast code
    
    All color buffer rendering is now done by accessing mapped renderbuffer
    memory.  We're now able to get rid of all the GetRow/PutRow stuff.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b766d4bb43b2c8271413c1efafe3590fa75efc3c
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:55:32 2012 -0700

    swrast: use gl_renderbuffer::StrideInBytes in depth/stencil code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d1ddec92168e9b6ead0da80b18364a75f9a85e6
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:55:25 2012 -0700

    mesa: use gl_renderbuffer::Map for all depth/stencil accesses
    
    Instead of using the obsolete gl_renderbuffer::Data field.
    Color buffer are still accessed through GetRow/PutRow().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14da67d9b9b9e30740ef1687c3952a0b5e8b0a54
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:55:20 2012 -0700

    intel: make intel_renderbuffer_map/unmap() static

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=827c1d66f671e50d9d96277b1fd3a59309626f66
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:55:15 2012 -0700

    mesa: add new gl_renderbuffer fields
    
    These are temporary, actually, but they'll make follow-on work easier to
    implement in a step-by-step manner.  Eventually the Map and RowStrideBytes
    fields will go into a new swrast_renderbuffer type, but adding that type
    now would involve touching a _lot_ of code that'll eventually be removed.
    
    The fields marked as obsolete will go away completely at some point.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc9f74839d50ab5480ae657524cf2ddebf55d451
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:55:10 2012 -0700

    swrast: flush pending rendering before unmapping buffers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33257803d9083643ea9709c127933d5a2c4f1960
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:53 2012 -0700

    swrast: new assertions in _swrast_pixel_address()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e34a54ff451a37a6e6eab529c44330dd6a8b218b
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:47 2012 -0700

    swrast: use _swrast_pixel_address() in more places

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd3c10c0f0c60ab3421c2da2eab814edc2296cb0
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:41 2012 -0700

    swrast: s/Data/Map/ in swrast_texture_image
    
    To indicate that it points to mapped texture memory.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecb8594c184f5daa2f5a735e42ee24e7d110aa9f
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:36 2012 -0700

    swrast: remove gl_renderbuffer::DataType check in DrawPixels()
    
    The field will be going away so update this code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7726be1c1b8ae321d01e781b5db4e2224e67d13d
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:31 2012 -0700

    swrast: remove gl_renderbuffer::DataType assertions
    
    This field will go away, so remove some uses of it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca6d86d26b1726b13baa21b73fe9d426f28370e2
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:23 2012 -0700

    st/mesa: remove gl_renderbuffer:DataType assignments
    
    That field is only used by swrast code so there's no reason to mess
    with it in the gallium state tracker.
    
    This also lets us remove the unused st_format_data() type function and
    related code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff57b0f037a45b0d5ced38234f0a8b29d32e7f9d
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:19 2012 -0700

    swrast: make _swrast_get_values(), _swrast_get_row() static
    
    They were only called from in s_span.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=267fb178844d3f17503dd0f921791f3ab059c4e7
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:13 2012 -0700

    swrast: remove dstType param from _swrast_read_rgba_span()
    
    It was always GL_FLOAT.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64be85540f30e904784c6a72f2ba2784d5ccb36d
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 16 10:54:01 2012 -0700

    swrast: remove unused _swrast_put_row()




More information about the mesa-commit mailing list