2019-10-02 16:46:03 +00:00
|
|
|
/* -*- 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;
|
|
|
|
|
2020-02-11 03:03:47 +00:00
|
|
|
class RenderBundleEncoder final : public ObjectBase, public ChildOf<Device> {
|
2019-10-02 16:46:03 +00:00
|
|
|
public:
|
2020-02-11 03:03:47 +00:00
|
|
|
GPU_DECL_CYCLE_COLLECTION(RenderBundleEncoder)
|
2019-10-02 16:46:03 +00:00
|
|
|
GPU_DECL_JS_WRAP(RenderBundleEncoder)
|
|
|
|
|
|
|
|
RenderBundleEncoder() = delete;
|
|
|
|
|
|
|
|
private:
|
2020-01-22 07:31:51 +00:00
|
|
|
~RenderBundleEncoder() = default;
|
2020-02-11 03:03:47 +00:00
|
|
|
void Cleanup() {}
|
2019-10-02 16:46:03 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace webgpu
|
|
|
|
} // namespace mozilla
|
|
|
|
|
|
|
|
#endif // GPU_RenderBundleEncoder_H_
|