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
  • RobustResourceInitTest.cpp
Find file
BlameHistoryPermalink
  • Jiawei Shao's avatar
    OpenGL: Remove all attachments before executing internal clear · e794ddc8
    Jiawei Shao authored May 10, 2019
    This patch fixes a bug in BlitGL::clearRenderbuffer() by removing
    all the attachments of mScratchFBO before attaching the real
    target of clear to keep mScratchFBO always being incomplete.
    
    Without this fix, the WebGL CTS tests mentioned in issue 2760 will
    fail on Intel OpenGL drivers when Chromium is using pass through
    command buffer because when a multisampled depth renderbuffer is
    attached to mScratchFBO, mScratchFBO will sometimes become
    incomplete because it may already have a non-multisampled color
    attachment.
    
    Bug: angleproject:2760
    Test: angle_end2end_tests
    Change-Id: Id206fb4b338545ab46aba118e80d288158dcd8ec
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1612305
    Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    e794ddc8
RobustResourceInitTest.cpp 72.9 KB
EditWeb IDE
×

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