Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • State.h
Find file
BlameHistoryPermalink
  • Charlie Lao's avatar
    Vulkan: Move framebuffer dirty bits handling after texture · a280c671
    Charlie Lao authored May 24, 2021
    When texture changes, it notify the observer. Framebuffer object is one
    of the observer and is able to respond to the changes in texture object.
    In this specific case, when texture called TextureVk::releaseImage and
    requires framebuffer object to syncState and call
    TextureVk::initRenderTargets. The problem right now is that framebuffer
    object's dirty bits are processed before texture, which means if the
    texture is being used by currently bound framebuffer object, it will not
    trigger the FBO's dirty bit handling. This CL moves container object
    dirty bit (DIRTY_OBJECT_DRAW_FRAMEBUFFER and
    DIRTY_OBJECT_READ_FRAMEBUFFER)  after texture/image object's dirty bits.
    
    Bug: chromium:1212206
    Bug: chromium:1197431
    Change-Id: I95723da1ce5b8936d66692242f2e25e7a73bafe6
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2915764
    Commit-Queue: Charlie Lao <cclao@google.com>
    Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    a280c671
State.h 47.4 KB
EditWeb IDE
×

Replace State.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.