• Show log

    Commit

  • Hash : 1e1c9d9d
    Author : Charlie Lao
    Date : 2023-08-11T15:16:26

    Pack and reduce Program::mProgramInput size
    
    Right now mProgramInput is std::vector<sh::ShaderVariable>. It really
    only need a subset of ShaderVariable struct. This CL adds a ProgramInput
    struct so that we can add data members that actually required. This CL
    also makes bools into bitfield and some variables to uint16_t to further
    compact the size. This CL also groups the data memebers other than
    string to basicDataTypeStruct which only contains basic data types and
    the entire struct is memcpied during program binary load and save. This
    not just reduces number of memcpy calls, but also improves reliability
    so that when someone adds a new member into the struct, it will
    automatically load/save correctly.
    
    Bug: b/275102061
    Change-Id: Ic055c986453ed46e56057a0122c9926245fef4d1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4776267
    Reviewed-by: Roman Lavrov <romanl@google.com>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Charlie Lao <cclao@google.com>
    

  • 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