Revert "Enable Queue, Device labels to be set."

This reverts commit 0126761de8.

Reason for revert:
Causing Dawn->Chromium roll to fail

BUG=dawn:1346

Original change's description:
> Enable Queue, Device labels to be set.
>
> Queue labels can be set by the defaultQueue.label member of the device
> descriptor or the setQueue method.
>
> Device labels can be set label member of the device
> descriptor or the setQueue method.
>
> D3D12 and VK backend label support included.
>
> Change-Id: Id12dd6e1fc8f1519c55e4efb35e1ead67c085e46
> Bug: dawn:1323
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85540
> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
> Commit-Queue: Brandon Jones <bajones@chromium.org>

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: dawn:1323
Change-Id: I62e4b508d2c55fd89f2f4c5cbe5d04d22681aeef
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85700
Reviewed-by: Brandon Jones <bajones@chromium.org>
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Ryan Harrison
2022-04-05 22:09:43 +00:00
committed by Dawn LUCI CQ
parent 7bcf9d8fa3
commit 8d9d132f7c
17 changed files with 24 additions and 95 deletions

View File

@@ -39,7 +39,7 @@ namespace dawn::native::opengl {
const DeviceDescriptor* descriptor,
const OpenGLFunctions& functions) {
Ref<Device> device = AcquireRef(new Device(adapter, descriptor, functions));
DAWN_TRY(device->Initialize(descriptor));
DAWN_TRY(device->Initialize());
return device;
}
@@ -53,11 +53,11 @@ namespace dawn::native::opengl {
Destroy();
}
MaybeError Device::Initialize(const DeviceDescriptor* descriptor) {
MaybeError Device::Initialize() {
InitTogglesFromDriver();
mFormatTable = BuildGLFormatTable();
return DeviceBase::Initialize(new Queue(this), descriptor);
return DeviceBase::Initialize(new Queue(this));
}
void Device::InitTogglesFromDriver() {

View File

@@ -42,7 +42,7 @@ namespace dawn::native::opengl {
const OpenGLFunctions& functions);
~Device() override;
MaybeError Initialize(const DeviceDescriptor* descriptor);
MaybeError Initialize();
// Contains all the OpenGL entry points, glDoFoo is called via device->gl.DoFoo.
const OpenGLFunctions gl;