1. 12 Mar, 2019 3 commits
    • Add glmark2 to angle_perftests · f576a708
      Shahbaz Youssefi authored
      Bug: angleproject:3125
      Change-Id: I9242743c6b5c6e18d0a23ff853ef6b9b370865a6
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1452956
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    • Allow testing::Combine in ANGLE_INSTANTIATE_TEST · b6eb3412
      Shahbaz Youssefi authored
      In most tests, ANGLE_INSTANTIATE_TEST is sufficient.  This macro takes a
      a variable number of angle::PlatformParameters and instantiates that
      many tests.  angle::PlatformParameters already aggregates multiple
      configurations.
      
      In a number of cases, however, it would be useful to have even more
      configurations in conjunction with angle::PlatformParameters.
      gl_tests/MultiviewDrawTest.cpp solves this by creating a custom class
      that combines angle::PlatformParameters with test-specific
      configurations.  gl_tests/CopyTextureTest.cpp included numerous tests
      with hardcoded values for its configurations.
      
      This change introduces ANGLE_INSTANTIATE_TEST_COMBINE_N.  These macros
      take N testing::* parameter generators followed by the list of
      angle::PlatformParameters as per ANGLE_INSTANTIATE_TEST.  They then
      testing::Combine these generators, placing the angle::PlatformParameters
      list first.
      
      Tests that use this functionality would inherit from
      ANGLETestWithParams<std::tuple<angle::PlatformParameters, ...>> instead
      of ANGLETest, and instantiate their tests as such:
      
      ANGLE_INSTANTIATE_TEST_COMBINE_3(TestName,
                                       PrettyPrintFunction,
                                       testing::ValuesIn(listOfParameters),
                                       testing::Values(some, other, parameters),
                                       testing::Bool(),
                                       ES2_D3D9(),
                                       ES2_D3D11(),
                                       ES2_OPENGL(),
                                       ES2_OPENGLES(),
                                       ES2_VULKAN());
      
      The name of the test, as used by --gtest_filter, will be suffixed with
      the output of the PrettyPrintFunction.  Assuming the tuple type given to
      ANGLETestWithParams is Params, this function takes a
      ::testing::TestParamInfo<Params> input to pretty-print the name of the
      test variation.  It is recommended to output the platform first for
      consistency with other tests.
      
      gl_tests/CopyTextureTest.cpp is modified to use this macro.
      
      Bug: angleproject:3125
      Change-Id: I0311b84659578bf3c7b5e9673b41cc3a3adfc50d
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1506236
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    • Disable the initialization of shared memory · c9bc33cf
      Qin Jiajia authored
      This patch disables the initialization of shared memory for d3d backend.
      The initialization of shared memory is very slow and may produce
      incorrect behavior for some compute shaders on d3d backend.
      
      Bug: angleproject:3226
      Change-Id: I41f0f061a5611c52af7667f23938fa48819906b5
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1498385Reviewed-by: 's avatarJamie Madill (use @chromium please) <jmadill@google.com>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Jiajia Qin <jiajia.qin@intel.com>
  2. 11 Mar, 2019 3 commits
  3. 08 Mar, 2019 1 commit
    • Avoid unnecessary loading of D3D9.dll · b6a2f6bc
      Rafael Cintron authored
      D3D9.dll is being loaded by ANGLE when using D3D11. This change
      removes the D3D9 dependency.
      
      - Delayload D3D9.dll using ldflags in BUILD.gn
      
      - Replace Renderer11 usage of DebugAnnotator9 with DebugAnnotator11.
      Using debug annotations with Visual Studio PIX tools now requires Windows 10.
      
      - Refactor DebugAnnotator11 to QI ID3DUserDefinedAnnotation from the
      renderer's ID3D11DeviceContext instead of making a 'null' device.
      
      Bug: angleproject:3234
      Change-Id: I10a2b537e07cda2094b08abf02b7876bbe5009f8
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1508643
      Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  4. 06 Mar, 2019 5 commits
  5. 05 Mar, 2019 7 commits
  6. 04 Mar, 2019 6 commits
  7. 02 Mar, 2019 1 commit
  8. 01 Mar, 2019 5 commits
  9. 28 Feb, 2019 7 commits
  10. 27 Feb, 2019 1 commit
  11. 26 Feb, 2019 1 commit