mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
df4fc33667
Update third party dependencies WebGPU command encoder creation WebGPU CommandBuffer creation and submission WebGPU Compute pass recording Differential Revision: https://phabricator.services.mozilla.com/D59896 --HG-- rename : gfx/wgpu/wgpu-core/src/device.rs => gfx/wgpu/wgpu-core/src/device/mod.rs extra : moz-landing-system : lando
48 lines
1.2 KiB
C++
48 lines
1.2 KiB
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_RenderPassEncoder_H_
|
|
#define GPU_RenderPassEncoder_H_
|
|
|
|
#include "ObjectModel.h"
|
|
#include "RenderEncoderBase.h"
|
|
|
|
namespace mozilla {
|
|
namespace dom {
|
|
class DoubleSequenceOrGPUColorDict;
|
|
template <typename T>
|
|
class Sequence;
|
|
namespace binding_detail {
|
|
template <typename T>
|
|
class AutoSequence;
|
|
} // namespace binding_detail
|
|
} // namespace dom
|
|
namespace webgpu {
|
|
|
|
class CommandEncoder;
|
|
class RenderBundle;
|
|
|
|
class RenderPassEncoder final : public RenderEncoderBase,
|
|
public ChildOf<CommandEncoder> {
|
|
public:
|
|
NS_DECL_ISUPPORTS_INHERITED
|
|
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS_INHERITED(RenderPassEncoder,
|
|
RenderEncoderBase)
|
|
GPU_DECL_JS_WRAP(RenderPassEncoder)
|
|
|
|
RenderPassEncoder() = delete;
|
|
|
|
protected:
|
|
virtual ~RenderPassEncoder();
|
|
void Cleanup() {}
|
|
|
|
public:
|
|
};
|
|
|
|
} // namespace webgpu
|
|
} // namespace mozilla
|
|
|
|
#endif // GPU_RenderPassEncoder_H_
|