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
  • vulkan
  • ContextVk.cpp
Find file
BlameHistoryPermalink
  • Mohan Maiya's avatar
    Vulkan: Check texture type before calling into feedbackloop check · 67333608
    Mohan Maiya authored Feb 25, 2021
    In ContextVk::updateActiveTextures we end up calling this method
    shouldSwitchToReadOnlyDepthFeedbackLoopMode(...) for every active
    texture. Since color textures are more numerous than depth, check
    the texture type beforehand to decrease function stack depth.
    
    This removes 0.5% CPU overhead from a Manhattan30 offscreen run
    
    Bug: angleproject:5689
    Change-Id: I14758b031e58b269392b4f450a5bb1ba8edabb44
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2723493Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
    67333608
ContextVk.cpp 229 KB
EditWeb IDE
×

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