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
  • FramebufferD3D.cpp
Find file
BlameHistoryPermalink
  • Shahmeer Esmail's avatar
    Clear11 Shader Optimizations and Shader Management Rework · 5416f753
    Shahmeer Esmail authored Mar 09, 2017
    - ClearShader made into a class that manages all required shaders and input layouts for clears
    - ClearShader reuses VS for all clear types. This reduces shader compilation time and memory usage
    significantly
    - Use constantBuffer for color/z values instead of VB to decouple VB & VS from clearType and
    allowing for the same VS to be used for multiple clear types
    - FL10+ Devices: Generate positions using SV_VertexID in VS to avoid having to bind VB.
    - FL93 Devices: Use an immutable VB containing only position data (SV_VertexID not supported)
    - Implement CB cache. Incoming color/Z values checked against cache and CB/cache only updated if
    there is a mismatch. Significantly reduces the frequency of expensive CB map/rename operations
    especially in common scenarios where most/all clears use the same color/z values
    
    BUG=angleproject:1935
    
    Change-Id: I2015fbdcc135ba08b65dbecbe9c62499c2801037
    Reviewed-on: https://chromium-review.googlesource.com/453882
    Commit-Queue: Shahmeer Esmail <shahmeer.esmail@intel.com>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    5416f753
FramebufferD3D.cpp 12.1 KB
EditWeb IDE
×

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