• Show log

    Commit

  • Hash : 185d9d08
    Author : Jamie Madill
    Date : 2020-08-14T22:48:15

    Re-land "Feedback Loop Redesign 2/3: Track bound FBOs in Texture."
    
    Re-land fixes the crash when drawing with no bound Program executable.
    
    Currently we track feedback loops by counting the times a Texture is
    bound as a sampler or image in a particular context. This is a bit
    tricky because Texture bindings change frequently. Relative to the
    number of times we need to check for a feedback loop this causes excess
    overhead.
    
    Usually Framebuffers have a low number of Textures bound (in many cases
    just 1). And Textures aren't usually bound to many different FBOs. So
    instead of counting the number of times a Texture is bound as a sampler
    or image we will track the Framebuffers that the Texture is bound to.
    
    This CL adds a small vector class to gl::Texture which tracks all the
    Framebufer Serials of its bound Framebuffers. We can use this set to
    quickly check if there's any potential feedback loop between the a FBO
    and this Texture.
    
    We also update the feedback loop check to use this new method. We will
    be able to remove the old counting method when we switch the Vulkan
    feedback loop handling to use the new tracking in this CL.
    
    Bug: angleproject:4500
    Bug: angleproject:4959
    Change-Id: If2bd25b08298a99f5e64b4055137f9154b0f0860
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2365595
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@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
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags