Mesa (gallium-array-textures): 43 new commits

Roland Scheidegger sroland at kemper.freedesktop.org
Thu Dec 2 00:23:08 UTC 2010


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aeca287a827f29206078fa1204715a477072c08
Merge: 912f042e1d439de17b36be9a740358c876fcd144 6f7c8c3cbf68ab9b587235198e19af30c1a60a82
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Thu Dec 2 00:37:11 2010 +0100

    Merge remote branch 'origin/master' into gallium-array-textures
    
    Conflicts:
    	src/gallium/state_trackers/vega/api_filters.c
    	src/gallium/state_trackers/vega/api_images.c
    	src/gallium/state_trackers/vega/mask.c
    	src/gallium/state_trackers/vega/paint.c
    	src/gallium/state_trackers/vega/renderer.c
    	src/gallium/state_trackers/vega/st_inlines.h
    	src/gallium/state_trackers/vega/vg_context.c
    	src/gallium/state_trackers/vega/vg_manager.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f7c8c3cbf68ab9b587235198e19af30c1a60a82
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Dec 1 12:31:21 2010 +0000

    vega: Remove extraneous ;

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=792caebced5f8f6dbd7bf23aa8d94230aa786d00
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Dec 1 12:20:58 2010 +0000

    scons: Move MSVS_VERSION option to common module.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2aa32036609b986e5db2fb9e0549419ce1ff1e7c
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Nov 30 14:06:34 2010 +0000

    svga: Silence debug printf.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0dadc0b808bb2100f3d2d067b950f3f13081af40
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 18:23:53 2010 +0800

    st/vega: Avoid unnecessary constant bufer upload.
    
    Remember the last uploaded data and avoid re-uploading.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7a6901cac48cc3c4eea24113e108ef9dce843c4
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 17:13:09 2010 +0800

    st/vega: Initialize pipe states with renderer.
    
    Initialize vertex elements, rasterizer, stencil ref, and vertex shader
    with renderer_create.  Remove RASTERIZER_DIRTY and VS_DIRTY flags.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c91c38601234dc67fa356160cbe3bd389cac083a
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 17:51:41 2010 +0800

    st/vega: Create drawing surface mask as needed.
    
    As the blend texture, a drawing surface mask is used when masking is
    enabled.  It should be created as needed.
    
    s/alpha_mask/surface_mask/ to follow OpenVG 1.1 naming.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04f342b4170366e417aa0c414cc536337270d3ab
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 17:38:57 2010 +0800

    st/vega: Delay blend texture creation until needed.
    
    It is used for more advanced blending or mask update.  It might not be
    ever needed for some applications.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8e0dd246b26281d31d4f37799985e27368ba2f4
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 16:59:43 2010 +0800

    st/vega: Remove st_inlines.h.
    
    Per b0427bedde80e3189524651a327235bdfddbc613.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bb788ccc674669bc03ad09e4396f079044112e8
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 13:39:59 2010 +0800

    st/vega: Simplify radial gradient.
    
    Eight less instructions with comments.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7aa03b4feb7c30408b2ed3070e0fe33e2fd05ba
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 11:54:58 2010 +0800

    st/vega: Fix degenerate paints.
    
    Fix the case that the two points of a linear gradient coincide, or the
    case that the radius of a radial gradient is equal to or less than 0.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c530fd3f8a5b5ac6918dece5d9083b2fac4ef78e
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Wed Dec 1 15:02:46 2010 +0800

    i965: also using align1 mode for math2 on sandybridge
    
    Like Eric's workaround patch of commit 490c23ee6be2e8531b5a14d42f808de83d401130.
    This forces to align1 mode for math2 too.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06e7a5502817d9df7f023083b135c8cd327c3e6c
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 11:39:02 2010 +0800

    st/vega: Fix negated logic in image_draw.
    
    A typo from last commit.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b06de80843e7d096bed4ae03ddc5e2842f1876af
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 02:30:59 2010 +0800

    st/vega: Fix paint coordinates transformations.
    
    Depending on whether vgDrawPath(mode), vgDrawImage, or vgDrawGlyph[s] is
    called, different paint-to-user and user-to-surface matrices should be
    used to derive the sample points for the paint.
    
    This fixes "paint" demo.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca8bc9c05b2126e949425dc967923c27f62ef378
Author: Chia-I Wu <olv at lunarg.com>
Date:   Mon Nov 29 15:11:16 2010 +0800

    st/vega: Bump version to 1.1.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e360f91f152615b35857a4d008d0439a3c3285a8
Author: Chia-I Wu <olv at lunarg.com>
Date:   Mon Nov 29 11:49:18 2010 +0800

    st/vega: Add color transformation support.
    
    Per OpenVG 1.1.  A new shader stage is added.  It uses the first two
    constants of the fragment shader for color transformation parameters.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=213e288e78bf5b0fb0a996cc17dfd959756c2c53
Author: Chia-I Wu <olv at lunarg.com>
Date:   Mon Nov 29 19:15:03 2010 +0800

    st/vega: More flexible shader selection.
    
    Divide bits of VegaShaderType into 6 groups: paint, image, mask, fill,
    premultiply, and bw.  Each group represents a stage.  At most one shader
    from each group will be selected when constructing the final fragment
    shader.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=30cab4b6cbf741e1ae727bfaed10cc3772e4dff9
Author: Chia-I Wu <olv at lunarg.com>
Date:   Mon Nov 29 00:15:51 2010 +0800

    st/vega: Revive mask layer support.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d64a06a6322b6e6f88233e79c6431e96eda7de6
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Nov 24 01:24:38 2010 +0800

    st/vega: Add primitive text support.
    
    Optional features such as auth-hinting are not implemented.  There is no
    anti-aliasing, and no effort is done to keep the glyph origin integral.
    So the text quality is poor.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34f466d4e6a720138c0846ab6233c32dc039fe58
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Nov 24 15:51:46 2010 +0800

    st/vega: Make image_draw take a matrix.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=165cb19abc4279839b0f5f53eb2feac60c2f415e
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Nov 24 15:42:48 2010 +0800

    st/vega: Make path_render and path_stroke take a matrix.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d873f1f5b63e7243c20751e92389e4189d39fd42
Author: Chia-I Wu <olv at lunarg.com>
Date:   Tue Nov 23 22:39:31 2010 +0800

    st/vega: Fix image sampler views for alpha-only formats.
    
    For alpha-only VG formats, R = G = B = 1.0.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56f02cedfaca9755d2855ec3fe075ccfe5e85c0a
Author: Chia-I Wu <olv at lunarg.com>
Date:   Mon Apr 19 20:16:07 2010 +0800

    st/vega: Update to latest headers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20ce148c305200c760f34d2098d92bc77cb6deee
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 19:45:17 2010 +0800

    st/vega: Get rid of renderer_copy_texture.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33ca973e7a6036566aa7363681419a58a30ab0f3
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 20:20:45 2010 +0800

    st/vega: vg_copy_texture and vg_copy_surface should share code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4690cdfe076a03b6e9da1db9f1908a663c49c820
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 03:48:23 2010 +0800

    st/vega: Clean up renderer fields and functions.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ace4539e88f6ef90d8e9fd2f1543eca0ae854b82
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 03:39:18 2010 +0800

    st/vega: Clean up vg_context fields and functions.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=635fe3e1927f812a69a68ec3e03d9ab7a2c3a5d9
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 03:29:55 2010 +0800

    st/vega: vg_manager should care about only the color buffer.
    
    Move depth/stencil buffer, blend texture view, and alpha mask view
    creation to vg_context.c.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee0f1ab923cc52b5eeacc47a749561d1c7216207
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 17:30:29 2010 +0800

    st/vega: Make shader_bind call into the renderer.
    
    With this commit, the pipe states are entirely managed by the renderer.
    The rest of the code interfaces with the renderer instead of
    manipulating the states directly.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b730f0fc52a208b5f2a308199724ab02aa391fec
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 01:58:05 2010 +0800

    st/vega: Move g3d states to renderer.
    
    Let vg_context focus on OpenVG states and renderer focus on gallium
    states.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96c6637a1360f146bbf49ffb207ae943ecbbdf49
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 01:37:35 2010 +0800

    st/vega: Use st_framebuffer for fb width/height.
    
    This allows us to eventually make g3d states opaque.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=438359597cd4254558f4d2fd5b54eb32c03e1b4c
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sat Nov 27 22:05:37 2010 +0800

    st/vega: Delay fb state update to vg_validate_state.
    
    vg_manager_validate_framebuffer should mark the fb dirty and have
    vg_validate_state call cso_set_framebuffer.  Rename VIEWPORT_DIRTY to
    FRAMEBUFFER_DIRTY.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b71cb6ad6dabfefc9363a35872f4e70e1125603
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sat Nov 27 15:04:30 2010 +0800

    st/vega: Add POLYGON_STENCIL and POLYGON_FILL renderer state.
    
    The states are designated for polygon filling.  Polygon filling is a
    two-pass process utilizing the stencil buffer.  polygon_fill and
    polygon_array_fill functions are updated to make use of the state.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b23f732075fc4e1cd9cbf5eaaaaa8ef8dc2b7922
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 28 16:06:23 2010 +0800

    st/vega: Use the renderer for vgMask.
    
    vgMask renders to the alpha mask with special fragment shaders.  The
    operation can be supported by switching the renderer to FILTER state.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5968a5355f0165aa7f3f8e71a27df884e5a3efb
Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Nov 26 23:25:18 2010 +0800

    st/vega: Add FILTER renderer state for image filtering.
    
    The state is designated to perform image filtering.  execute_filter is
    updated to make use of the state.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b241f532a21990a7849c5a786504f7ac4124f76
Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Nov 26 23:21:17 2010 +0800

    st/vega: Add CLEAR renderer state for vgClear.
    
    This state provides the ability to clear rectangles of the framebuffer
    to the specified color, honoring scissoring.  vegaClear is updated to
    make use of the state.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54cb382ea55610688c97465ef048a4990b8fd4d7
Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Nov 26 22:49:20 2010 +0800

    st/vega: Add SCISSOR renderer state.
    
    The state can be used to set rectangles of the depth buffer to 0.0f.
    update_clip_state is changed to use the state for scissor update.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e31a04ea3bc957b2a43b910b1f51807b12da18a6
Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Nov 26 22:56:05 2010 +0800

    st/vega: Add DRAWTEX renderer state.
    
    This state provides glDrawTex-like function.  It can be used for
    vgSetPixels.
    
    Rather than modifying every user of the renderer, this commit instead
    modifies renderer_copy_surface to use DRAWTEX or COPY state internally
    depending on whether the destination is the framebuffer.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59309337e40106f734efc1e33f956f6f1f4301ac
Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Nov 26 22:48:10 2010 +0800

    st/vega: Overhaul renderer with renderer states.
    
    Renderer states are high-level states to perform specific tasks.  The
    renderer is initially in INIT state.  In that state, the renderer is
    used for OpenVG pipeline.
    
    This commit adds a new COPY state to the renderer.  The state is used
    for copying between two pipe resources using textured drawing.  It can
    be used for vgCopyImage, for example.
    
    Rather than modifying every user of the renderer, this commit instead
    modifies renderer_copy_texture to use the COPY state internally.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=709e57ae4f12ea16020993e6afa88edd5bed5908
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Dec 1 11:21:17 2010 +0800

    llvmpipe: Fix build errors on x86.
    
    The errors were introduced by
    efc82aef35a2aac5d2ed9774f6d28f2626796416.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7db49853f07dc62d76c7f00ab19b672e16604260
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon Nov 29 21:04:43 2010 -0500

    docs: Fix MESA_drm_image typo

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=efc82aef35a2aac5d2ed9774f6d28f2626796416
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Nov 30 16:07:52 2010 -0700

    gallivm/llvmpipe: squash merge of the llvm-context branch
    
    This branch defines a gallivm_state structure which contains the
    LLVMBuilderRef, LLVMContextRef, etc.  All data structures built with
    this object can be periodically freed during a "garbage collection"
    operation.
    
    The gallivm_state object has to be passed to most of the builder
    functions where LLVMBuilderRef used to be used.
    
    Conflicts:
    	src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
    	src/gallium/drivers/llvmpipe/lp_state_setup.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f1375d4d876c2c85156e02a177254684446040b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Nov 29 03:40:04 2010 +0100

    r300g: fix texture border color once again
    
    I made the texwrap test be more thorough and realized that this driver code
    had not been quite right. This commit fixes the border color for depth
    textures, compressed textures, and 16-bits-per-channel textures
    with up to 2 channels (R16, RG16).
    
    NOTE: This is a candidate for the 7.9 branch.




More information about the mesa-commit mailing list