1. 22 Nov, 2017 6 commits
    • Apply Chromium style fixes. · acf2f3ad
      Jamie Madill authored
      This addresses several minor code quality issues that are validated
      in Chromium, but not yet applied to ANGLE:
      
      * constructors and destructors must be defined out-of-line
      * auto is not allowed for simple pointer types
      * use override everywhere instead of virtual
      * virtual functions must also be defined out-of-line
      
      Slightly reduces binary size for me (~2k on Win, 150k on Linux).
      
      Bug: angleproject:1569
      Change-Id: I073ca3365188caf5f29fb28d9eb207903c1843e6
      Reviewed-on: https://chromium-review.googlesource.com/779959
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Fix ComputeGenericHash. · f1b47e89
      Jamie Madill authored
      ANGLE's internal hash maps would run MurmurHash on c++ structs to
      come up with hash values. Since the hash ran on 4 byte words only,
      it would have no understanding that sometimes our structs would only
      have meaninful data in the first N bytes, and would include the
      garbage at the end in the hash calculation. This fixes the problem by
      forcing our structs to be aligned at compile-time.
      
      It also adds custom copy operators for a few classes to ensure that
      all bits are copied when the struct is initialized, including the
      padding.
      
      Bug: angleproject:1569
      Bug: chromium:721648
      Change-Id: I4d11f6e12d9a067b36e1416c7ed15586eff99aab
      Reviewed-on: https://chromium-review.googlesource.com/783990
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • ES31: Implement creation and attaching geometry shader on OpenGL · 89be29a5
      Jiawei Shao authored
      This patch intends to implement the creation of a geometry shader
      and attaching a geometry shader to a program on OpenGL back-ends.
      
      This patch also adds all geometry shader related dEQP-GLES31 test
      failures to deqp_gles31_test_expectations.txt.
      
      BUG=angleproject:1941
      TEST=angle_end2end_tests
      
      Change-Id: Ib0b497030255b15dacd967e48bc59eef0009af46
      Reviewed-on: https://chromium-review.googlesource.com/757979
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Reland "Update cq.cfg for new compile-only builders." · 6e94c455
      Jamie Madill authored
      This is a reland of cc93cebf
      
      Re-landing after mb_config.pyl fix.
      
      Original change's description:
      > Update cq.cfg for new compile-only builders.
      >
      > This removes the x64 versions of the Windows tests from the ANGLE CQ.
      > They are still available to run as optional try jobs, if we suspect
      > a failure. This should reduce the amount of test duplication while
      > still keeping complete coverage.
      >
      > It also updates the Clang builder to the MSVC builder, since Chrome
      > has switched to Clang by default on Windows, and the clang builder
      > was a deprecated version of the MSVC builder anyway.
      >
      > Bug: chromium:786044
      > Change-Id: I786fe85dcdaa57b55b0b44244797c9285c577ea2
      > Reviewed-on: https://chromium-review.googlesource.com/782402
      > Reviewed-by: Geoff Lang <geofflang@chromium.org>
      > Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
      > Commit-Queue: Jamie Madill <jmadill@chromium.org>
      
      Bug: chromium:786044
      Change-Id: I85d1fe95d12a29e91755303423dd151450bb6a3b
      Reviewed-on: https://chromium-review.googlesource.com/784232Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Revert "Update cq.cfg for new compile-only builders." · cce013c9
      Jamie Madill authored
      This reverts commit cc93cebf.
      
      Reason for revert: There was a typo in mb_config.py.
      
      https://build.chromium.org/deprecated/tryserver.chromium.angle/builders/win_angle_compile_x64_dbg_ng/builds/0/steps/analyze/logs/stdio
      
      MBErr: Builder name "win_angle_compile_x64_dbg_ng"  not found under masters[tryserver.chromium.angle] in "E:\b\c\b\win\src\tools\mb\mb_config.pyl"
      
      Original change's description:
      > Update cq.cfg for new compile-only builders.
      > 
      > This removes the x64 versions of the Windows tests from the ANGLE CQ.
      > They are still available to run as optional try jobs, if we suspect
      > a failure. This should reduce the amount of test duplication while
      > still keeping complete coverage.
      > 
      > It also updates the Clang builder to the MSVC builder, since Chrome
      > has switched to Clang by default on Windows, and the clang builder
      > was a deprecated version of the MSVC builder anyway.
      > 
      > Bug: chromium:786044
      > Change-Id: I786fe85dcdaa57b55b0b44244797c9285c577ea2
      > Reviewed-on: https://chromium-review.googlesource.com/782402
      > Reviewed-by: Geoff Lang <geofflang@chromium.org>
      > Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
      > Commit-Queue: Jamie Madill <jmadill@chromium.org>
      
      TBR=geofflang@chromium.org,jmadill@chromium.org,tandrii@chromium.org
      
      Change-Id: If13d3d69f0a1facd3876858afdaf0577f6ab1cb7
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: chromium:786044
      Reviewed-on: https://chromium-review.googlesource.com/784070Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Update cq.cfg for new compile-only builders. · cc93cebf
      Jamie Madill authored
      This removes the x64 versions of the Windows tests from the ANGLE CQ.
      They are still available to run as optional try jobs, if we suspect
      a failure. This should reduce the amount of test duplication while
      still keeping complete coverage.
      
      It also updates the Clang builder to the MSVC builder, since Chrome
      has switched to Clang by default on Windows, and the clang builder
      was a deprecated version of the MSVC builder anyway.
      
      Bug: chromium:786044
      Change-Id: I786fe85dcdaa57b55b0b44244797c9285c577ea2
      Reviewed-on: https://chromium-review.googlesource.com/782402Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarAndrii Shyshkalov <tandrii@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
  2. 21 Nov, 2017 8 commits
  3. 20 Nov, 2017 9 commits
  4. 18 Nov, 2017 4 commits
  5. 17 Nov, 2017 6 commits
  6. 16 Nov, 2017 7 commits