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
  • tests
  • gl_tests
  • FramebufferTest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    D3D11: Enable dirty bits for Framebuffer11. · 1fbc59fe
    Jamie Madill authored Feb 24, 2016
    This patch works using a notification scheme - whenever a Texture or
    Renderbuffer changes in such a way as to recreate its RenderTarget, we
    pass a signal to the Framebuffer to invalidate some internal state.
    Everything is entirely tracked in the Renderer11 layer, and the GL
    layer is left untouched.
    
    A RenderTarget11 now tracks points to which it is bound, and the
    Framebuffer11 is mostly responsible for managing those links.
    
    The three locations where we notify a Framebuffer when its bound
    RenderTargets might be dirty are:
    
     1) RenderTarget11::~RenderTarget
     2) EGLImageD3D::copyToLocalRendertarget
     3) TextureStorage11_2D::useLevelZeroWorkaroundTexture
    
    This patch gives about a 10% score increase in the D3D11 draw call
    benchmark on my system.
    
    BUG=angleproject:1260
    
    Change-Id: Ide38aeadff4a2681bf5bd685e8ca3c9e2612a380
    Reviewed-on: https://chromium-review.googlesource.com/327255Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    1fbc59fe
FramebufferTest.cpp 10.9 KB
EditWeb IDE
×

Replace FramebufferTest.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.