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
  • Martin Radev's avatar
    Handle viewport and scissor state changes for side-by-side framebuffers · 878c8b1e
    Martin Radev authored Jul 28, 2017
    Side-by-side framebuffers have viewport offsets as part of their state
    which have to be applied to the viewport and scissor rectangles to
    generate the final viewport and scissor rectangles of each view.
    Whenever there is a transition to or from a side-by-side framebuffer,
    viewport and scissor state has to be synced. Also, because rendering is
    done on the same 2D texture the scissor test has to be always enabled to
    guarantee that no fragments leak to a neighboring view.
    
    The patch addresses this by extending the viewport and scissor state
    in StateManagerGL to be a vector of rectangles instead of a single
    rectangle. Two new dirty bits are added to cover changes in the viewport
    offsets and whether the framebuffer has a side-by-side layout.
    
    BUG=angleproject:2062
    TEST=angle_end2end_tests
    
    Change-Id: I8107d7ba97d06b20cf24358f19963fa494844592
    Reviewed-on: https://chromium-review.googlesource.com/585012
    Commit-Queue: Martin Radev <mradev@nvidia.com>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    878c8b1e
FramebufferAttachment.h 7.82 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.