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
  • renderer
  • d3d
  • d3d11
  • StateManager11.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    StateManager11: Defer RenderTarget invalidation to draw. · 1f9d6843
    Jamie Madill authored Sep 21, 2017
    Although this adds a boolean check (and state flag maintenance) cost
    to each draw call, it makes ANGLE's internal life a lot simpler
    because it doesn't have to process a framebuffer change until the
    draw call. It turns out there are a few dependent checks of the
    Framebuffer that aren't always easy to do. In one test, Context
    destruction was triggering RenderTarget invalidation, after the
    Context had already freed the Framebuffer manager.
    
    This also fixes the problem in feature level 9_3 with framebuffer
    invalidation affecting the internal dirty bit set. (Note that it
    still dirties the Framebuffer for the next frame).
    
    BUG=chromium:767279
    BUG=angleproject:2151
    
    Change-Id: I74d61bddf9926004a04f712a9f9eb1205d5df0e1
    Reviewed-on: https://chromium-review.googlesource.com/676657Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    1f9d6843
StateManager11.cpp 111 KB
EditWeb IDE
×

Replace StateManager11.cpp

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.