From c04a0132be6c384c90bd33b06929a9b7fc5d4726 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 9 Nov 2020 22:32:35 +0000 Subject: [PATCH] Remove deprecated Device::CreateQueue. Bug: dawn:22 Change-Id: I0b2c9fec3440808c9a481fe215a4e25a604c79f1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/32022 Reviewed-by: Austin Eng Reviewed-by: Stephen White Commit-Queue: Corentin Wallez --- src/dawn_native/Device.cpp | 6 ------ src/dawn_native/Device.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/dawn_native/Device.cpp b/src/dawn_native/Device.cpp index c3421c380b..e96cc49f33 100644 --- a/src/dawn_native/Device.cpp +++ b/src/dawn_native/Device.cpp @@ -668,12 +668,6 @@ namespace dawn_native { return result; } - QueueBase* DeviceBase::CreateQueue() { - // TODO(dawn:22): Remove this once users use GetDefaultQueue - EmitDeprecationWarning( - "Device::CreateQueue is deprecated, use Device::GetDefaultQueue instead"); - return GetDefaultQueue(); - } SamplerBase* DeviceBase::CreateSampler(const SamplerDescriptor* descriptor) { SamplerBase* result = nullptr; diff --git a/src/dawn_native/Device.h b/src/dawn_native/Device.h index ce7ef26a3a..ee73000608 100644 --- a/src/dawn_native/Device.h +++ b/src/dawn_native/Device.h @@ -146,7 +146,6 @@ namespace dawn_native { ComputePipelineBase* CreateComputePipeline(const ComputePipelineDescriptor* descriptor); PipelineLayoutBase* CreatePipelineLayout(const PipelineLayoutDescriptor* descriptor); QuerySetBase* CreateQuerySet(const QuerySetDescriptor* descriptor); - QueueBase* CreateQueue(); void CreateReadyComputePipeline(const ComputePipelineDescriptor* descriptor, WGPUCreateReadyComputePipelineCallback callback, void* userdata);