commit | 5c73a1ae6198d997a909387d8ab55b6a6e5c18a0 | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Tue Jul 17 02:43:21 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 17 02:43:21 2018 |
tree | 7ebc5d854a586b65db08a4c90adb438d259f5ac6 | |
parent | f75a5ea8e5ea7655288d45bf10a33d54b739207c [diff] |
Skip CallDeferredErrorCallbacks if no deferred error In current Deferred Error Callback implementation, CallDeferredErrorCallbacks will be invoked in every GPU_CLIENT_SINGLE_THREAD_CHECK(). Current implementation of CallDeferredErrorCallbacks will do extra deque created and swap operation even there is no errors. This impact performance. This patch fixed this by adding a flag and skip CallDeferredErrorCallbacks if there are no errors. Bug: 862069 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ie64aca137ac20bd7a19895a9dafed2a1744348ae Reviewed-on: https://chromium-review.googlesource.com/1131010 Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Cr-Commit-Position: refs/heads/master@{#575527}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .