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
  • FramebufferAttachment.h
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Add Queries and Setters for resource initialization state. · 32f0dd6a
    Geoff Lang authored Oct 15, 2020
    There are cases where we know that the next draw operation will fully
    initialize a texture/renderbuffer and we can save the robust resource
    init cost.
    
    Default all resource init state to Initialized, any redefinition will
    set it back to MayNeedInit.
    
    After setting an individual texture image to initialized, check if
    all images are now initialized and update the TextureState::mInitState
    to match. The cost of this check is only performed after initializing
    an image and allows future init checks to be faster.
    
    Bug: chromium:1132514
    Change-Id: Ia23664ae162559d1614f1eb5643e24a491d87f7f
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2475456
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    32f0dd6a
FramebufferAttachment.h 9.73 KB
EditWeb IDE
×

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