glamor: Changes to 'master'

Zhigang Gong gongzg at kemper.freedesktop.org
Wed Jan 11 03:46:00 PST 2012


 configure.ac             |    2 
 src/glamor.c             |   16 --
 src/glamor_eglmodule.c   |    6 
 src/glamor_getimage.c    |   81 ++++++++++++
 src/glamor_gl_dispatch.c |    3 
 src/glamor_gl_dispatch.h |    7 -
 src/glamor_picture.c     |    1 
 src/glamor_pixmap.c      |   36 +++--
 src/glamor_priv.h        |    2 
 src/glamor_putimage.c    |    8 -
 src/glamor_render.c      |  297 +++++++++++++++++++++++++----------------------
 src/glamor_utils.h       |   20 +++
 12 files changed, 302 insertions(+), 177 deletions(-)

New commits:
commit 04f657997b7b567e53907cefef4b5c04fdc08c68
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Tue Jan 10 15:24:36 2012 +0800

    Add glFinish after glFlush.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>

commit 6167738a70fce8b86190f3610da4363f11b34d5f
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Mon Jan 9 12:50:39 2012 +0800

    Set glamor's initial version to 0.2.0.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>

commit 6c81956e8ae5c274e52ed26c12c489a8d1760527
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Mon Jan 9 07:16:06 2012 +0800

    Silence a compilation warning.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>

commit c88d336afc5801123de6163acea214dd5610049d
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Mon Jan 9 07:11:26 2012 +0800

    glamor_composite: Allocate VBO on demand.
    
    Use a fixed VBO is not efficient. Some times we may only has less than
    100 verts, and some times we may have larger than 4K verts. We change
    it to allocate VBO buffer dynamically, and this can bring about 10%
    performance gain for both aa10text/rgb10text and some cairo benchmarks.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>

commit 97d4f50da66571362f4789d3d3ef436a890f9950
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Mon Jan 9 05:03:08 2012 +0800

    glamor_getimage: Add the optimization path of getImage.
    
    This optimization will only call glReadPixels once. It should get
    some performance gain. But it seems it even get worse performance
    at SNB, disable it by default.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>

commit 80e02fb74211c22ea3a41ac504e1031d0fdc68c9
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Mon Jan 9 05:01:48 2012 +0800

    Consolidate the choose of internal texture format to one function.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>

commit 7f0a33f0901b72f5870032a669fbd6d649dec486
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Sun Jan 8 08:50:41 2012 +0800

    Set filter to GL_NEAREST by default.
    
    This is the fastest filter and let's use it by default.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>

commit 0365a776bdee3fa08d56f359750c848e7c63a1ed
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Sun Jan 8 08:45:08 2012 +0800

    glamor-composite: Use glDrawElements to reduce the count of vertices.
    
    To split a rectangle (0,1,2,3) to two separated triangles need to feed
    6 vertices, (0,1,2) and (0,2,3). use glDrawElements can reuse the shared
    vertices.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>

commit 9291ead8bd18408cdff39ff0d559aaa209537199
Author: Zhigang Gong <zhigang.gong at linux.intel.com>
Date:   Sun Jan 8 01:14:12 2012 +0800

    glamor-composite: Optimize the computation of composite region.
    
    Computing the composite region at the composite_with_shader is very
    inefficient. As when we call to here from the glamor_glyph's temproary
    picture, we don't need to compute this region at all. So we move this
    computing out from this function and do that at the glamor_composite
    function. This can get about 5% performance gain for aa10text/rgb10text.
    
    Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>



More information about the xorg-commit mailing list