blob: 1f22251a597612b2303aab6845202c91fbe9e2a3 [file] [log] [blame] [edit]
/*
* Copyright 2020 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrD3DPipelineState_DEFINED
#define GrD3DPipelineState_DEFINED
#include "include/gpu/GrTypes.h"
#include "include/gpu/d3d/GrD3DTypes.h"
#include <memory>
class GrD3DGpu;
class GrProgramInfo;
class GrD3DPipelineState {
public:
static std::unique_ptr<GrD3DPipelineState> Make(GrD3DGpu* gpu, const GrProgramInfo&);
private:
GrD3DPipelineState(gr_cp<ID3D12PipelineState> pipelineState);
gr_cp<ID3D12PipelineState> fPipelineState;
};
#endif