• Show log

    Commit

  • Hash : 118a6484
    Author : Gregg Tavares
    Date : 2022-05-19T15:11:31

    Metal: Upstream buffer cache fix from WebKit
    
    Patch is from:
    https://bugs.webkit.org/show_bug.cgi?id=239015
    
    BufferMtl::getRestartIndices() would recalculate restart
    indices on each draw because RestartRangeCache::operator
    bool() would return m_isDirty instead of the intended
    !m_isDirty.
    
    Use std::optional to hold the RestartRangeCache instead
    of maintaining m_isDirty. This allows the type system to
    contribute to the correctness of the code. Dirty restart
    range cache is not useful and takes up memory.
    
    Bug: angleproject:7340
    Change-Id: I6e3ce527700780b5fea59af405bfe06d3714e79f
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3656450
    Reviewed-by: Kenneth Russell <kbr@chromium.org>
    Commit-Queue: Gregg Tavares <gman@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