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
  • Image.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Sync image in TextureVk::syncState. · 44168468
    Jamie Madill authored Jun 20, 2019
    We can use the DIRTY_BIT_IMPLEMENTATION internal dirty bit in the
    gl::Texture class to force calls to ContextVk::syncState. In syncState
    we can ensure we call ensureImageInitialized before we get to the
    ContextVk. This in turn means we can remove some of the command graph
    breaks from TextureVk.
    
    We need to make sure the dirty bits are propagated to EGL Image
    siblings with this method. This fixes a potential implementation issue
    with EGL images with the GL back-end.
    
    Also makes a state change test a little better by removing some of the
    VAO and program init calls before the draw.
    
    Improves perf on the texture change microbenchmark by 12.5%.
    
    Bug: angleproject:3539
    Bug: angleproject:3117
    Change-Id: I2b5481690801fa98f859a6c02e3f4b974590cd3d
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1663839
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    44168468
Image.cpp 11.6 KB
EditWeb IDE
×

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