Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / src / gpu / graphite / GraphicsPipeline.h
1 /*
2  * Copyright 2021 Google LLC
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7
8 #ifndef skgpu_graphite_GraphicsPipeline_DEFINED
9 #define skgpu_graphite_GraphicsPipeline_DEFINED
10
11 #include "src/gpu/graphite/Resource.h"
12
13 namespace skgpu::graphite {
14
15 /**
16  * GraphicsPipeline corresponds to a backend specific pipeline used for rendering (vs. compute),
17  * e.g. MTLRenderPipelineState (Metal),
18  *      CreateRenderPipeline (Dawn),
19  *      CreateGraphicsPipelineState (D3D12),
20  *   or VkGraphicsPipelineCreateInfo (Vulkan).
21  *
22  * A GraphicsPipeline is created from the combination of a GraphicsPipelineDesc (representing draw
23  * specific configuration) and a RenderPassDesc (representing the target of the draw).
24  */
25 class GraphicsPipeline : public Resource {
26 public:
27     ~GraphicsPipeline() override;
28
29 protected:
30     GraphicsPipeline(const Gpu*);
31
32 private:
33 };
34
35 } // namespace skgpu::graphite
36
37 #endif // skgpu_graphite_GraphicsPipeline_DEFINED