• Show log

    Commit

  • Hash : 61a5707f
    Author : Charlie Lao
    Date : 2023-08-11T12:51:21

    Load/Save ShaderVariableBuffer::memberIndexes in one memcpy
    
    ShaderVariableBuffer::memberIndexes is std::vector<unsigned int>, and
    can be quite huge (164 on some programs in blade_and_soul_revolution).
    Right now it is calling readInt for individual index and then push_back.
    This causes vector to be copied as it grows size. This CL makes one
    memcpy for entire vector and increase size only once.
    
    Bug: b/275102061
    Change-Id: I983ad289b126dbfd430cf94a3772c2bfd93cb1c6
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4775835
    Reviewed-by: Roman Lavrov <romanl@google.com>
    Commit-Queue: Charlie Lao <cclao@google.com>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags