mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-15 09:35:57 +00:00
Manages a single persistently mapped GPU heap which is sub-allocated inside of ring-buffer for uploads. To handle larger buffers without additional unused heaps, ring buffers are created on-demand. BUG=dawn:28 TEST=dawn_unittests Change-Id: Ifc5a1b06baf8633f1e133245ac1ee76275431cc5 Reviewed-on: https://dawn-review.googlesource.com/c/3160 Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
66 lines
1.8 KiB
C++
66 lines
1.8 KiB
C++
// Copyright 2017 The Dawn Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
#ifndef DAWNNATIVE_FORWARD_H_
|
|
#define DAWNNATIVE_FORWARD_H_
|
|
|
|
#include <cstdint>
|
|
|
|
namespace dawn_native {
|
|
|
|
class AdapterBase;
|
|
class BindGroupBase;
|
|
class BindGroupBuilder;
|
|
class BindGroupLayoutBase;
|
|
class BindGroupLayoutBuilder;
|
|
class BufferBase;
|
|
class BufferBuilder;
|
|
class ComputePipelineBase;
|
|
class CommandBufferBase;
|
|
class CommandBufferBuilder;
|
|
class ComputePassEncoderBase;
|
|
class FenceBase;
|
|
class InputStateBase;
|
|
class InputStateBuilder;
|
|
class InstanceBase;
|
|
class PipelineLayoutBase;
|
|
class PipelineLayoutBuilder;
|
|
class QueueBase;
|
|
class RenderPassDescriptorBase;
|
|
class RenderPassDescriptorBuilder;
|
|
class RenderPassEncoderBase;
|
|
class RenderPipelineBase;
|
|
class SamplerBase;
|
|
class ShaderModuleBase;
|
|
class ShaderModuleBuilder;
|
|
class StagingBufferBase;
|
|
class SwapChainBase;
|
|
class SwapChainBuilder;
|
|
class TextureBase;
|
|
class TextureViewBase;
|
|
class TextureViewBuilder;
|
|
|
|
class DeviceBase;
|
|
|
|
template <typename T>
|
|
class Ref;
|
|
|
|
template <typename T>
|
|
class PerStage;
|
|
|
|
enum PushConstantType : uint8_t;
|
|
} // namespace dawn_native
|
|
|
|
#endif // DAWNNATIVE_FORWARD_H_
|