Mesa (master): 27 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 11 00:50:49 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11db8e0e00a72884ba9fda953b549dd65119dc73
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Jan 20 20:32:02 2020 -0500

    st/mesa: optimize st_update_array with ALWAYSINLINE
    
    The time spent in st_update_array is reduced by 5-10%.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36cc6b105b5299ae07f005feabd8bd6eb34c5257
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Feb 3 20:44:04 2020 -0500

    mesa: don't use bitfields in _mesa_prim
    
    This is better.
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47d7e21619218348c86ca6909cf695f78c9778c6
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Feb 3 20:40:09 2020 -0500

    mesa: remove unused _mesa_prim::is_indirect
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=734654a89cf588d88b2932b931612374ef2884eb
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Feb 3 20:34:06 2020 -0500

    í965: don't use _mesa_prim::is_indirect
    
    the vbo change only affects i965
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d03103f30bfff532a0c6d6e22fa5e7a24cad27
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Feb 3 20:20:05 2020 -0500

    vbo: merge use_buffer_objects into vbo_CreateContext to skip the big malloc
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7575a0a25120b9637d50fcf2b55a4859b505f781
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Feb 3 19:43:42 2020 -0500

    vbo: clean up resetting vertex attribs
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee5bd8638bd123ab3ea49d513f8bba9e7cd4ae28
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jan 31 20:50:42 2020 -0500

    vbo: also map the immediate mode buffer for read
    
    because we read from it sometimes and we want cached reads.
    
    We can only do it with the persistent mapping, because the non-persistent
    mapping uses incompatible flags.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27bd241103e8fa1fc34859cac6bd23d5a5fb04fe
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jan 31 20:33:14 2020 -0500

    vbo: delay flagging FLUSH_STORED_VERTICES until glEnd
    
    Only state changes see this, which can't occur before glEnd.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca99fe8a603b08883493c786037ca872c00df145
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jan 31 20:32:05 2020 -0500

    vbo: add/update unlikely statements in ATTR_UNION
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5f72c91e5ac38c82bcc1585e6d6f08b9929dba3
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Jan 30 19:41:02 2020 -0500

    vbo: increase the size of the immediate mode buffer to decrease draw count
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fe771f4e963cbb3a3032f1e148fb594c3c1a2a3
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Jan 30 17:49:13 2020 -0500

    vbo: use FlushVertices flags properly and clear NeedFlush correctly
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63a241fa3283a0c389f671a556f705d1da25dd2a
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jan 31 16:26:42 2020 -0500

    vbo: fix resizing 64-bit vertex attributes
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=077a843c27d84d4531074bbc477391e886a7ba71
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 29 22:09:20 2020 -0500

    vbo: optimize resizing vertex attributes during immediate mode
    
    Just move data manually instead of copying all attributes back and forth.
    
    This increases performance by 5% for Viewperf11/Catia - first scene.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f6e53e2437690de9a84e47f5587ff359b8484f2
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 19:55:05 2020 -0500

    vbo: don't store glVertex values temporarily into exec
    
    This improves performance by 4.3% in Viewperf11/Catia, first scene.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd7241c4f8082dbd07f0bcd268741c527512c66b
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jan 24 22:17:09 2020 -0500

    vbo: pass only either uint32_t or uint64_t into ATTR_UNION
    
    This makes the next commit possible.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afa7f1984a4f1779c42e2dfa5535635d364e92a7
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 19:19:25 2020 -0500

    vbo: don't set FLUSH_UPDATE_CURRENT for glVertex
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8b98d48bffacc0a1b5393307c8405f4eda8e27c
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 18:07:02 2020 -0500

    vbo: keep the immediate mode buffer always mapped for simplicity
    
    It only unmaps when it draws with a non-persistent buffer.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c76ef5b590d5795ec2dafb9304747ed74fd37a2
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 21:32:34 2020 -0500

    vbo: don't check ctx->NewState twice in glBegin
    
    _mesa_valid_to_render does it too.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2c6de1eecb52ded412a88c4724f042c0c75d5f7
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 21:27:02 2020 -0500

    vbo: remove a funky recursive call in glBegin
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=653bd14730035d514127b2253a025a1e98db5e75
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 21:14:31 2020 -0500

    vbo: interleave attrsz, attrtype, and active_sz in memory
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b22e33c10f98f2f58101881818f55b4c4b73606
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 18:49:51 2020 -0500

    vbo: remove immediate mode code that doesn't do anything and simplify stuff
    
    no change in behavior
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e0d612f5e22fee19aff0e40814db24d63f63103
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 16:20:59 2020 -0500

    vbo: don't unmap persistent buffer mappings for glBegin/End
    
    This significantly improves performance by lowering CPU overhead.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03ded3d6ce37d3be12776bcc5dcd3c4d91f33248
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 16:18:16 2020 -0500

    vbo: skip FlushMappedBufferRange for glBegin/End by using a persistent mapping
    
    This is a preparation for the next commit and just isolates the removal
    of GL_MAP_FLUSH_EXPLICIT_BIT and other map flags that don't make sense with
    UNSYNCHRONIZED.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10cf7a5113446c85dd39bbb12544dd4ac30a0200
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 29 16:09:24 2020 -0500

    vbo: create the immediate mode buffer only in vbo_exec_vtx_map
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f89ee44ab0300b72ab957c3135858ff46187dfb5
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Jan 20 21:35:54 2020 -0500

    mesa: import PIPE_CAP_SIGNED_VERTEX_BUFFER_OFFSET handling
    
    This should decrease overhead in st_update_array.
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27dada7ce90315d47184c51879a3f67e99f2bab2
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 19:11:22 2020 -0500

    mesa: remove FLUSH_CURRENT calls that have no effect
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7c8fe1cc1a972e59885cc14778dbf5a520f48dd
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jan 22 19:09:23 2020 -0500

    mesa: fix incorrect uses of FLUSH_CURRENT
    
    FLUSH_CURRENT is used to copy attributes from the vbo module to
    Current.Attrib. It flushes vertices too, but that's a side effect,
    not the intent.
    
    Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>



More information about the mesa-commit mailing list