1. 20 Mar, 2019 1 commit
  2. 19 Mar, 2019 5 commits
  3. 18 Mar, 2019 6 commits
  4. 16 Mar, 2019 4 commits
  5. 15 Mar, 2019 4 commits
  6. 14 Mar, 2019 8 commits
  7. 13 Mar, 2019 3 commits
    • Fix ShCompileTest.DecimalSepLocale failure. · 494afea9
      Jonah Ryan-Davis authored
      The test had an additional check to make sure we have coverage on every
      platform, but this is unnecessary and requires too much overhead to
      maintain a list of good locales for all platforms.
      
      Bug: 941249
      
      Change-Id: I3e6da2ad61453fc385edf5f18101c8cb13ae0503
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1520989
      Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Fix several WGL test failures. · 13a8c4d8
      Yuly Novikov authored
      SimpleOperationTest.ClearAndSwap/ES2_WGL failed when run in isolation,
      since getGLWindow()->hasError() would report a previous error,
      instead of result of swapBuffers().
      When running after an OPENGL test, swapBuffers() would clear
      the previous error, but that doesn't happen in isolation.
      
      The previous error is from loading WGL functions, some of which are
      expected not to be present. Clear the error in GetProcAddressWithFallback,
      but verify that there is no error entering it.
      
      This uncovers more errors in angle_perftests:
      DrawCallPerfBenchmark.Run/wgl
      DrawCallPerfBenchmark.Run/wgl_tex_change
      DrawCallPerfBenchmark.Run/wgl_vbo_change
      DrawElementsPerfBenchmark.Run/wgl_ushort
      They come from redundant calls when destroying a window. Fix this as well.
      
      Several more errors where uncovered by debug prints, fix those, too.
      
      Bug: angleproject:3153
      Change-Id: I559c098be9dcdfd3add83f045f745d190250b986
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1515602
      Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
      Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    • Fix eglChooseConfig for attributes that have exact default values. · 4e87659e
      Ian Elliott authored
      The implementation of eglChooseConfig does not match the
      specification for attributes not provided by the calling function.  It
      is supposed to use the default value and match semantics, per the
      specification.  This is fine for many attributes (where the value in
      the EGLConfig doesn't matter).  Currently, this affects the following
      attributes:
      
      - EGL_COLOR_BUFFER_TYPE
      - EGL_LEVEL
      - EGL_RENDERABLE_TYPE
      - EGL_SURFACE_TYPE
      - EGL_TRANSPARENT_TYPE
      - EGL_OPTIMAL_SURFACE_ORIENTATION_ANGLE
      - EGL_COLOR_COMPONENT_TYPE_EXT
      
      This change causes 55 of 65 of the dEQP-EGL.functional.choose_config.* tests
      to start passing.
      
      Bug: angleproject:3172
      Change-Id: I287af5ba7d296694d9a78ded5d1e3bc4e7043d03
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1506696
      Commit-Queue: Ian Elliott <ianelliott@google.com>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
  8. 12 Mar, 2019 4 commits
    • Include script outputs in run_code_generation.py. · 3c1f5a6b
      Jamie Madill authored
      This will prevent incorrect modifications to outputs from being checked
      into the repository. Requires a few changes to some generators.
      
      Bug: angleproject:3227
      Change-Id: I5285cb78a9d85df155a5272edf8b6b8cd27fc04c
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1515212Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • 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>
  9. 11 Mar, 2019 3 commits
  10. 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>
  11. 06 Mar, 2019 1 commit