/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/api/ |
H A D | material.h | 56 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 D | material_uid.h | 25 REGISTER_CLASS(GraphicsState, "b49d2492-9bf3-467d-a214-de711a9e6e24", META_NS::ObjectCategoryBits::…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_state_loader_util.cpp | 161 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 D | shader_state_loader.h | 60 BASE_NS::vector<GraphicsState> states; 77 BASE_NS::array_view<const GraphicsState> GetGraphicsStates() const; 88 BASE_NS::vector<GraphicsState> graphicsStates_;
|
H A D | shader_state_loader.cpp | 82 array_view<const GraphicsState> ShaderStateLoader::GetGraphicsStates() const in GetGraphicsStates()
|
H A D | shader_data_loader.h | 60 GraphicsState graphicsState; in RENDER_BEGIN_NAMESPACE()
|
H A D | shader_loader.h | 83 const BASE_NS::array_view<const GraphicsState>& states);
|
H A D | shader_data_loader.cpp | 37 void LoadState(const json::value& jsonData, GraphicsState& graphicsState, GraphicsStateFlags& state… in LoadState()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.h | 137 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 D | pipeline_state_object_gles.h | 38 GraphicsState graphicsState; 50 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
|
H A D | render_backend_gles.cpp | 319 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 D | graphicsstate_impl.cpp | 23 … 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 D | component_dll.cpp | 164 …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 D | pipeline_state_object_vk.cpp | 175 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 D | pipeline_state_object_vk.h | 43 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | node_context_pso_manager.h | 74 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 D | node_context_pso_manager.cpp | 246 … 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 D | intf_shader_manager.h | 133 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 D | shader_manager.h | 178 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 D | shader_manager.cpp | 59 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 D | intf_node_context_pso_manager.h | 109 …virtual RenderHandle GetGraphicsPsoHandle(const RenderHandle shaderHandle, const GraphicsState& gr…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_material.h | 141 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 D | render_node_default_depth_render_slot.cpp | 475 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 D | render_node_default_depth_render_slot.h | 160 const RENDER_NS::GraphicsState& gfxState,
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | scene_util.cpp | 615 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()
|