• Show log

    Commit

  • Hash : 624fbdcf
    Author : Olli Etuaho
    Date : 2018-10-01T11:54:05

    Refactor CompileProgram utility
    
    Tests often need to call gl functions to set up program related state
    after glCreateProgram has been called but prior to glLinkProgram is
    called. Add a callback function to the CompileProgram utility function
    to fulfill this need. This reduces code duplication considerably in
    several tests.
    
    An alternative way to improve CompileProgram would be to split it into
    several different utility functions. This might be slightly easier to
    read, but would also be a larger refactoring and require more checks
    at the call site.
    
    This will make it easier to implement EXT_blend_func_extended tests,
    which need to bind fragment outputs to different slots.
    
    BUG=angleproject:1085
    TEST=angle_end2end_tests
    
    Change-Id: I3ac8b7bdc21c6a1f14517bc7df0cf6f35abd7612
    Reviewed-on: https://chromium-review.googlesource.com/1254062
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: Corentin Wallez <cwallez@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