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
  • Framebuffer.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Fix bugs with drawbuffer state. · a15472a3
    Geoff Lang authored Aug 11, 2015
     * IsAttachmentEnabled was checking the wrong draw buffer state.  Instead
       of checking that drawbuffer[colorAttachment] is in use, it should have
       been scanning for a drawbuffer state that points to colorAttachment.
     * Allow for maxDrawBuffer != maxColorAttachments.  Tested by the GL
       backend on some systems that don't have the draw buffers extension.
    
    Fixed by updating the helpers and adding a new getDrawBuffer helper.
    
    BUG=angleproject:1121
    
    Change-Id: Idd1b0a9ec4a3f944d332c708364408bf5d59e1fd
    Reviewed-on: https://chromium-review.googlesource.com/292740Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Tryjob-Request: Geoff Lang <geofflang@chromium.org>
    Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    a15472a3
Framebuffer.cpp 23.9 KB
EditWeb IDE
×

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