Commit e5f23738 authored by Findit's avatar Findit

Revert "Roll src/third_party/dawn/ 1093c4de2..cc071e45b (6 commits)"

This reverts commit 8716ddc2.

Reason for revert:

Findit (https://goo.gl/kROfz5) identified CL at revision 706414 as the
culprit for failures in the build cycles as shown on:
https://analysis.chromium.org/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtLzg3MTZkZGMyNzQ2MmE5OGIxZWYwNDliZTY5N2M1YzBlNWJjZjYzNmMM

Sample Failed Build: https://ci.chromium.org/buildbot/chromium/win32-archive-dbg/4735

Sample Failed Step: compile

Original change's description:
> Roll src/third_party/dawn/ 1093c4de2..cc071e45b (6 commits)
> 
> https://dawn.googlesource.com/dawn.git/+log/1093c4de2cfa..cc071e45bb9c
> 
> $ git log 1093c4de2..cc071e45b --date=short --no-merges --format='%ad %ae %s'
> 2019-10-16 enga Split generation of dawncpp headers from libdawncpp
> 2019-10-16 natlee D3D12 replace ASSERT_SUCCESS with better error handling
> 2019-10-16 hao.x.li Prioritize discrete GPU in end2end tests
> 2019-10-15 senorblanco clang-win compile files for skia-dawn.
> 2019-10-15 cwallez Add dawnGetProcAddress.
> 2019-10-15 cwallez Split the libdawn target in components with a single purpose.
> 
> Created with:
>   roll-dep src/third_party/dawn
> 
> TBR=kbr@chromium.org
> BUG=dawn:22
> 
> Change-Id: Ib61611e5455abf1b66f33b1b68c311a428c3bf9f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864683
> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#706414}


No-Presubmit: true
No-Tree-Checks: true
No-Try: true
BUG=dawn:22

Change-Id: I0a9279b00ded522a578ec0957a0ae528fd09aa54
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864410
Cr-Commit-Position: refs/heads/master@{#706429}
parent 187d7225
......@@ -302,7 +302,7 @@ vars = {
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed
# and whatever else without interference from each other.
'dawn_revision': 'cc071e45bb9cfaf822156d5c22b52653618e269e',
'dawn_revision': '1093c4de2cfad715f0da1460aafbf88f47bd7bb1',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed
# and whatever else without interference from each other.
......
......@@ -6,7 +6,6 @@
#define GPU_COMMAND_BUFFER_CLIENT_WEBGPU_INTERFACE_H_
#include <dawn/dawn.h>
#include <dawn/dawn_proc_table.h>
#include "gpu/command_buffer/client/interface_base.h"
#include "gpu/command_buffer/common/webgpu_cmd_enums.h"
......
......@@ -29,7 +29,6 @@
#include "ui/gl/init/gl_factory.h"
#if BUILDFLAG(USE_DAWN)
#include <dawn/dawn_proc.h>
#include <dawn/dawncpp.h>
#include <dawn_native/DawnNative.h>
#endif // BUILDFLAG(USE_DAWN)
......@@ -268,7 +267,7 @@ TEST_F(SharedImageBackingFactoryIOSurfaceTest, Dawn_SkiaGL) {
dawn::Device device = dawn::Device::Acquire(adapter_it->CreateDevice());
DawnProcTable procs = dawn_native::GetProcs();
dawnProcSetProcs(&procs);
dawnSetProcs(&procs);
// Create a backing using mailbox.
auto mailbox = Mailbox::GenerateForSharedImage();
......@@ -356,7 +355,7 @@ TEST_F(SharedImageBackingFactoryIOSurfaceTest, Dawn_SkiaGL) {
// Shut down Dawn
device = dawn::Device();
dawnProcSetProcs(nullptr);
dawnSetProcs(nullptr);
skia_representation.reset();
factory_ref.reset();
......
......@@ -6,7 +6,6 @@
#define GPU_COMMAND_BUFFER_SERVICE_SHARED_IMAGE_REPRESENTATION_H_
#include <dawn/dawn.h>
#include <dawn/dawn_proc_table.h>
#include "base/callback_helpers.h"
#include "build/build_config.h"
......
......@@ -5,7 +5,6 @@
#include "gpu/command_buffer/tests/webgpu_test.h"
#include <dawn/dawn.h>
#include <dawn/dawn_proc.h>
#include "base/test/test_simple_task_runner.h"
#include "build/build_config.h"
......@@ -82,7 +81,7 @@ void WebGPUTest::Initialize(const Options& options) {
webgpu()->RequestAdapter(webgpu::PowerPreference::kHighPerformance);
DawnProcTable procs = webgpu()->GetProcs();
dawnProcSetProcs(&procs);
dawnSetProcs(&procs);
}
webgpu::WebGPUInterface* WebGPUTest::webgpu() const {
......
......@@ -6,7 +6,6 @@
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGPU_DAWN_OBJECT_H_
#include <dawn/dawn.h>
#include <dawn/dawn_proc_table.h>
#include "base/memory/scoped_refptr.h"
#include "third_party/blink/renderer/platform/bindings/script_wrappable.h"
......
......@@ -6,7 +6,6 @@
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_GPU_DAWN_CONTROL_CLIENT_HOLDER_H_
#include <dawn/dawn.h>
#include <dawn/dawn_proc_table.h>
#include "third_party/blink/public/platform/web_graphics_context_3d_provider.h"
#include "third_party/blink/renderer/platform/platform_export.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment