gecko-dev/dom/webgpu/RenderBundleEncoder.h
Dzmitry Malyshau bf6b5347b2 Bug 1611024 - Turn WebGPU programmable passes into interface mixins r=jgilbert,webidl,bzbarsky
this makes us closer to the upstream spec and removes a bunch of useless code

Differential Revision: https://phabricator.services.mozilla.com/D62377

--HG--
extra : moz-landing-system : lando
2020-02-11 03:03:47 +00:00

35 lines
836 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef GPU_RenderBundleEncoder_H_
#define GPU_RenderBundleEncoder_H_
#include "ObjectModel.h"
namespace mozilla {
namespace webgpu {
class Device;
class RenderBundle;
class RenderBundleEncoder final : public ObjectBase, public ChildOf<Device> {
public:
GPU_DECL_CYCLE_COLLECTION(RenderBundleEncoder)
GPU_DECL_JS_WRAP(RenderBundleEncoder)
RenderBundleEncoder() = delete;
private:
~RenderBundleEncoder() = default;
void Cleanup() {}
public:
};
} // namespace webgpu
} // namespace mozilla
#endif // GPU_RenderBundleEncoder_H_