Commit 8716ddc2 authored by Corentin Wallez's avatar Corentin Wallez Committed by Commit Bot

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/+/1864683Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706414}
parent d39cc7cd
......@@ -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': '1093c4de2cfad715f0da1460aafbf88f47bd7bb1',
'dawn_revision': 'cc071e45bb9cfaf822156d5c22b52653618e269e',
# 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,6 +6,7 @@
#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,6 +29,7 @@
#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)
......@@ -267,7 +268,7 @@ TEST_F(SharedImageBackingFactoryIOSurfaceTest, Dawn_SkiaGL) {
dawn::Device device = dawn::Device::Acquire(adapter_it->CreateDevice());
DawnProcTable procs = dawn_native::GetProcs();
dawnSetProcs(&procs);
dawnProcSetProcs(&procs);
// Create a backing using mailbox.
auto mailbox = Mailbox::GenerateForSharedImage();
......@@ -355,7 +356,7 @@ TEST_F(SharedImageBackingFactoryIOSurfaceTest, Dawn_SkiaGL) {
// Shut down Dawn
device = dawn::Device();
dawnSetProcs(nullptr);
dawnProcSetProcs(nullptr);
skia_representation.reset();
factory_ref.reset();
......
......@@ -6,6 +6,7 @@
#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,6 +5,7 @@
#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"
......@@ -81,7 +82,7 @@ void WebGPUTest::Initialize(const Options& options) {
webgpu()->RequestAdapter(webgpu::PowerPreference::kHighPerformance);
DawnProcTable procs = webgpu()->GetProcs();
dawnSetProcs(&procs);
dawnProcSetProcs(&procs);
}
webgpu::WebGPUInterface* WebGPUTest::webgpu() const {
......
......@@ -6,6 +6,7 @@
#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,6 +6,7 @@
#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