1. 11 Aug, 2017 4 commits
  2. 10 Aug, 2017 4 commits
  3. 09 Aug, 2017 5 commits
  4. 07 Aug, 2017 1 commit
  5. 05 Aug, 2017 1 commit
  6. 04 Aug, 2017 2 commits
  7. 03 Aug, 2017 3 commits
  8. 02 Aug, 2017 7 commits
  9. 01 Aug, 2017 3 commits
  10. 31 Jul, 2017 3 commits
    • 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>
    • Disallow timer queries with multi-view draw framebuffers · ffe754b7
      Martin Radev authored
      According to the ANGLE_multiview spec Draw* commands should generate
      an INVALID_OPERATION error if there is an active query object for
      target TIME_ELAPSED_EXT and the number of views in the active draw
      framebuffer is greater than 1.
      
      BUG=angleproject:2062
      TEST=angle_end2end_tests
      
      Change-Id: I8a4434784ecec753a39c5ef82fa3ee46255a0851
      Reviewed-on: https://chromium-review.googlesource.com/593315Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Martin Radev <mradev@nvidia.com>
    • Disallow glReadPixels with multi-view read framebuffers · 2803168e
      Martin Radev authored
      According to the ANGLE_multiview spec, glReadPixels must generate an
      INVALID_FRAMEBUFFER_OPERATION error if the active read framebuffer has
      a multi-view layout.
      
      BUG=angleproject:2062
      TEST=angle_end2end_tests
      
      Change-Id: Ia5311ff7a62c5ff732491eb80befd32de57b9d44
      Reviewed-on: https://chromium-review.googlesource.com/591368
      Commit-Queue: Martin Radev <mradev@nvidia.com>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
  11. 28 Jul, 2017 6 commits
  12. 27 Jul, 2017 1 commit
    • Fix BlitFramebuffer validation for BGRA sources and targets. · 6938285b
      Kenneth Russell authored
      It is legal to blit between GL_RGBA8 and GL_BGRA8 sources and
      destinations when resolving multisampled renderbuffers. Expand
      BlitFramebuffer's validation to handle this case.
      
      Query GL_MAX_VERTEX_OUTPUT_COMPONENTS on the Core Profile to work
      around an error generated on macOS when querying
      GL_MAX_VARYING_COMPONENTS.
      
      Expand the BlitFramebuffer tests to cover these cases and start
      running them on the OpenGL backend.
      
      Fix detectition of multisampled D3D11 rendertargets when the sample count
      is 1.
      
      BUG=angleproject:891
      
      Change-Id: Ief5531756651caa66f612e647d3d5c05c8c51ff5
      Reviewed-on: https://chromium-review.googlesource.com/587459Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>