Home
last modified time | relevance | path

Searched refs:GraphicsState (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/api/
H A Dmaterial.h56 class GraphicsState final : public META_NS::Internal::ObjectInterfaceAPI<GraphicsState, ClassId::Gr…
57 META_API(GraphicsState)
59 META_API_CACHE_INTERFACE(IGraphicsState, GraphicsState)
61 META_API_INTERFACE_PROPERTY_CACHED(GraphicsState, Uri, BASE_NS::string)
62 META_API_INTERFACE_PROPERTY_CACHED(GraphicsState, Variant, BASE_NS::string)
H A Dmaterial_uid.h25 REGISTER_CLASS(GraphicsState, "b49d2492-9bf3-467d-a214-de711a9e6e24", META_NS::ObjectCategoryBits::…
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_state_loader_util.cpp161 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::InputAssembly>& context)
184 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::StencilOpState>& context) in FromJson()
208 JsonContext<GraphicsState::StencilOpState> stencilContext; in FromJson()
217 JsonContext<GraphicsState::StencilOpState> stencilContext; in FromJson()
240 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::ColorBlendState>& context) in FromJson()
250 vector<JsonContext<GraphicsState::ColorBlendState::Attachment>> colorContexts; in FromJson()
272 GraphicsState graphicsState; in ParseSingleState()
275 JsonContext<GraphicsState::InputAssembly> context; in ParseSingleState()
286 JsonContext<GraphicsState::RasterizationState> context; in ParseSingleState()
297 JsonContext<GraphicsState::DepthStencilState> context; in ParseSingleState()
[all …]
H A Dshader_state_loader.h60 BASE_NS::vector<GraphicsState> states;
77 BASE_NS::array_view<const GraphicsState> GetGraphicsStates() const;
88 BASE_NS::vector<GraphicsState> graphicsStates_;
H A Dshader_state_loader.cpp82 array_view<const GraphicsState> ShaderStateLoader::GetGraphicsStates() const in GetGraphicsStates()
H A Dshader_data_loader.h60 GraphicsState graphicsState; in RENDER_BEGIN_NAMESPACE()
H A Dshader_loader.h83 const BASE_NS::array_view<const GraphicsState>& states);
H A Dshader_data_loader.cpp37 void LoadState(const json::value& jsonData, GraphicsState& graphicsState, GraphicsStateFlags& state… in LoadState()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.h137 void PrimeCache(const GraphicsState& graphicsState); // Forces the graphics state..
138 void PrimeDepthStencilState(const GraphicsState& graphicsState);
139 void PrimeBlendState(const GraphicsState& graphicsState);
140 void DoGraphicsState(const GraphicsState& graphicsState);
254 void UpdateBlendState(const GraphicsState& graphicsState);
255 void UpdateDepthState(const GraphicsState& graphicsState);
256 void UpdateStencilState(const GraphicsState& graphicsState);
257 void UpdateDepthStencilState(const GraphicsState& graphicsState);
258 void UpdateRasterizationState(const GraphicsState& graphicsState);
262 const uint32_t backFlags, const GraphicsState::StencilOpState& back);
[all …]
H A Dpipeline_state_object_gles.h38 GraphicsState graphicsState;
50 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
H A Drender_backend_gles.cpp319 void SetCullMode(const GraphicsState::RasterizationState& rs) in SetCullMode()
339 void SetFrontFace(const GraphicsState::RasterizationState& rs) in SetFrontFace()
354 void SetPolygonMode(const GraphicsState::RasterizationState& rs) in SetPolygonMode()
602 …const GraphicsState::ColorBlendState::Attachment& a, const GraphicsState::ColorBlendState::Attachm… in CompareBlendFactors()
608 void SetBlendFactors(GraphicsState::ColorBlendState::Attachment& a, const GraphicsState::ColorBlend… in SetBlendFactors()
617 …const GraphicsState::ColorBlendState::Attachment& a, const GraphicsState::ColorBlendState::Attachm… in CompareBlendOps()
622 void SetBlendOps(GraphicsState::ColorBlendState::Attachment& a, const GraphicsState::ColorBlendStat… in SetBlendOps()
628 bool CompareStencilOp(const GraphicsState::StencilOpState& a, const GraphicsState::StencilOpState& … in CompareStencilOp()
633 void SetStencilOp(GraphicsState::StencilOpState& a, const GraphicsState::StencilOpState& b) in SetStencilOp()
640 void SetStencilCompareOp(GraphicsState::StencilOpState& a, const GraphicsState::StencilOpState& b) in SetStencilCompareOp()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dgraphicsstate_impl.cpp23 … GraphicsStateImpl : public META_NS::ObjectFwd<GraphicsStateImpl, SCENE_NS::ClassId::GraphicsState,
54 …void SetGraphicsState(const RENDER_NS::GraphicsState& state, SCENE_NS::IMaterial::Ptr mat) override in SetGraphicsState()
74 …A_NS::GetObjectRegistry().Create<SCENE_NS::IShaderGraphicsState>(SCENE_NS::ClassId::GraphicsState); in GetGraphicsState()
84 … interface_cast<SCENE_NS::IPendingRequestData<RENDER_NS::GraphicsState>>(ret)) { in GetGraphicsState()
H A Dcomponent_dll.cpp164 …SCENE_NS::PendingRequestImpl<RENDER_NS::GraphicsState, SCENE_NS::ClassId::PendingGraphicsStateRequ… in RegisterInterfaces()
218 …SCENE_NS::PendingRequestImpl<RENDER_NS::GraphicsState, SCENE_NS::ClassId::PendingGraphicsStateRequ… in UnregisterInterfaces()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dpipeline_state_object_vk.cpp175 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, in GraphicsPipelineStateObjectVk()
209 const GraphicsState::InputAssembly& inputAssembly = graphicsState.inputAssembly; in GraphicsPipelineStateObjectVk()
220 const GraphicsState::RasterizationState& rasterizationState = graphicsState.rasterizationState; in GraphicsPipelineStateObjectVk()
239 const GraphicsState::DepthStencilState& depthStencilState = graphicsState.depthStencilState; in GraphicsPipelineStateObjectVk()
241 … const GraphicsState::StencilOpState& frontStencilOpState = depthStencilState.frontStencilOpState; in GraphicsPipelineStateObjectVk()
251 const GraphicsState::StencilOpState& backStencilOpState = depthStencilState.backStencilOpState; in GraphicsPipelineStateObjectVk()
278 const GraphicsState::ColorBlendState& colorBlendState = graphicsState.colorBlendState; in GraphicsPipelineStateObjectVk()
285 …const GraphicsState::ColorBlendState::Attachment& attachmentBlendState = colorBlendState.colorAtta… in GraphicsPipelineStateObjectVk()
H A Dpipeline_state_object_vk.h43 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Dnode_context_pso_manager.h74 RenderHandle GetGraphicsPsoHandle(const RenderHandle shader, const GraphicsState& graphicsState,
102 …const BASE_NS::array_view<const DynamicStateEnum> dynamicStates, const GraphicsState* graphicsStat…
134 BASE_NS::unique_ptr<GraphicsState> customGraphicsState;
H A Dnode_context_pso_manager.cpp246 … const array_view<const DynamicStateEnum> dynamicStates, const GraphicsState* customGraphicsState) in GetGraphicsPsoHandleImpl()
299 unique_ptr<GraphicsState> customGraphicsStatePtr = in GetGraphicsPsoHandleImpl()
300 customGraphicsState ? make_unique<GraphicsState>(*customGraphicsState) : nullptr; in GetGraphicsPsoHandleImpl()
343 …textPsoManager::GetGraphicsPsoHandle(const RenderHandle shader, const GraphicsState& graphicsState, in GetGraphicsPsoHandle()
421 const GraphicsState* customGraphicsState = psoDataRef.customGraphicsState.get(); in GetGraphicsPso()
422 const GraphicsState& graphicsState = (customGraphicsState) in GetGraphicsPso()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dintf_shader_manager.h133 const GraphicsState& graphicsState; in RENDER_BEGIN_NAMESPACE()
333 virtual GraphicsState GetGraphicsState(const RenderHandleReference& handle) const = 0; in RENDER_BEGIN_NAMESPACE()
437 virtual uint64_t HashGraphicsState(const GraphicsState& graphicsState) const = 0; in RENDER_BEGIN_NAMESPACE()
663 virtual const GraphicsState& GetGraphicsState(const RenderHandle& handle) const = 0;
753 virtual uint64_t HashGraphicsState(const GraphicsState& graphicsState) const = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_manager.h178 GraphicsState GetGraphicsState(const RenderHandleReference& handle) const override;
179 const GraphicsState& GetGraphicsStateRef(const RenderHandleReference& handle) const;
180 const GraphicsState& GetGraphicsStateRef(const RenderHandle& handle) const;
215 uint64_t HashGraphicsState(const GraphicsState& graphicsState) const override;
331 BASE_NS::vector<GraphicsState> graphicsStates;
478 GraphicsState defaultGraphicsState_;
511 virtual const GraphicsState& GetGraphicsState(const RenderHandle& handle) const override;
531 uint64_t HashGraphicsState(const GraphicsState& graphicsState) const override;
H A Dshader_manager.cpp59 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::InputAssembly& inputAssembly) in hash()
68 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::RasterizationState& state) in hash()
80 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::DepthStencilState& state) in hash()
91 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::ColorBlendState::Attachment& state) in hash()
107 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState::ColorBlendState& state) in hash()
125 uint64_t BASE_NS::hash(const RENDER_NS::GraphicsState& state) in hash()
352 uint64_t ShaderManager::HashGraphicsState(const GraphicsState& graphicsState) const in HashGraphicsState()
1081 GraphicsState ShaderManager::GetGraphicsState(const RenderHandleReference& handle) const in GetGraphicsState()
1093 const GraphicsState& ShaderManager::GetGraphicsStateRef(const RenderHandle& handle) const in GetGraphicsStateRef()
2326 const GraphicsState& RenderNodeShaderManager::GetGraphicsState(const RenderHandle& handle) const in GetGraphicsState()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/
H A Dintf_node_context_pso_manager.h109 …virtual RenderHandle GetGraphicsPsoHandle(const RenderHandle shaderHandle, const GraphicsState& gr…
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_material.h141 using IShaderGraphicsState = IPendingRequest<RENDER_NS::GraphicsState>;
162 const RENDER_NS::GraphicsState& state, BASE_NS::shared_ptr<SCENE_NS::IMaterial> mat) = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_depth_render_slot.cpp475 GraphicsState gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso()
481 const GraphicsState& gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso()
492 const RENDER_NS::GraphicsState& gfxState, in GetShaderSpecializationView()
H A Drender_node_default_depth_render_slot.h160 const RENDER_NS::GraphicsState& gfxState,
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dscene_util.cpp615 RENDER_NS::GraphicsState gs = shaderMgr.GetGraphicsState(rsd.graphicsState); in GetDefaultMaterialShaderData()
628 RENDER_NS::GraphicsState gs = shaderMgr.GetGraphicsState(rsd.graphicsState); in GetDefaultMaterialShaderData()
656 RENDER_NS::GraphicsState gs = shaderMgr.GetGraphicsState(rsd.graphicsState); in GetDefaultMaterialShaderData()

12