4#include <QtGui/private/qrhi_p.h>
6#include <score_plugin_gfx_export.h>
19SCORE_PLUGIN_GFX_EXPORT
20QRhiGraphicsPipeline::CompareOp toCompareOp(std::string_view s)
noexcept;
22SCORE_PLUGIN_GFX_EXPORT
23QRhiGraphicsPipeline::CullMode toCullMode(std::string_view s)
noexcept;
25SCORE_PLUGIN_GFX_EXPORT
26QRhiGraphicsPipeline::FrontFace toFrontFace(std::string_view s)
noexcept;
28SCORE_PLUGIN_GFX_EXPORT
29QRhiGraphicsPipeline::PolygonMode toPolygonMode(std::string_view s)
noexcept;
31SCORE_PLUGIN_GFX_EXPORT
32QRhiGraphicsPipeline::BlendFactor toBlendFactor(std::string_view s)
noexcept;
34SCORE_PLUGIN_GFX_EXPORT
35QRhiGraphicsPipeline::BlendOp toBlendOp(std::string_view s)
noexcept;
37SCORE_PLUGIN_GFX_EXPORT
38QRhiGraphicsPipeline::StencilOp toStencilOp(std::string_view s)
noexcept;
40SCORE_PLUGIN_GFX_EXPORT
41QRhiGraphicsPipeline::ColorMask toColorMask(std::string_view s)
noexcept;
49SCORE_PLUGIN_GFX_EXPORT
50float depthClearForCompare(QRhiGraphicsPipeline::CompareOp compare)
noexcept;
59SCORE_PLUGIN_GFX_EXPORT
60float depthClearForState(
const isf::pipeline_state& state)
noexcept;
64SCORE_PLUGIN_GFX_EXPORT
65QRhiGraphicsPipeline::TargetBlend toTargetBlend(
const isf::blend_attachment& b)
noexcept;
67SCORE_PLUGIN_GFX_EXPORT
68QRhiGraphicsPipeline::StencilOpState toStencilOpState(
const isf::stencil_op_state& s)
noexcept;
75SCORE_PLUGIN_GFX_EXPORT
76isf::pipeline_state mergeState(isf::pipeline_state base,
const isf::pipeline_state& over);
79SCORE_PLUGIN_GFX_EXPORT
80bool stateAffectsPipeline(
const isf::pipeline_state&)
noexcept;
96SCORE_PLUGIN_GFX_EXPORT
97void applyPipelineState(
98 QRhiGraphicsPipeline& pip,
99 const isf::pipeline_state& state,
100 int colorAttachmentCount,
101 bool depthAttachmentAvailable,
102 bool wantsDepthByDefault)
noexcept;
Graphics rendering pipeline for ossia score.
Definition Filter/PreviewWidget.hpp:11