1. 15 Aug, 2017 4 commits
  2. 14 Aug, 2017 5 commits
  3. 11 Aug, 2017 4 commits
  4. 10 Aug, 2017 4 commits
  5. 09 Aug, 2017 5 commits
  6. 07 Aug, 2017 1 commit
  7. 05 Aug, 2017 1 commit
  8. 04 Aug, 2017 2 commits
  9. 03 Aug, 2017 3 commits
  10. 02 Aug, 2017 7 commits
  11. 01 Aug, 2017 3 commits
  12. 31 Jul, 2017 1 commit
    • Handle viewport and scissor state changes for side-by-side framebuffers · 878c8b1e
      Martin Radev authored
      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>