/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | node_context_pso_manager.cpp | 243 const RenderHandle graphicsState, const PipelineLayout& pipelineLayout, in GetGraphicsPsoHandleImpl() argument 252 if (RenderHandleUtil::IsValid(graphicsState) && in GetGraphicsPsoHandleImpl() 265 if ((!RenderHandleUtil::IsValid(graphicsState)) && customGraphicsState) { in GetGraphicsPsoHandleImpl() 303 psoCreationData.graphicsStateHandle = graphicsState; in GetGraphicsPsoHandleImpl() 318 const RenderHandle graphicsState, const RenderHandle pipelineLayoutHandle, in GetGraphicsPsoHandle() argument 326 (RenderHandleUtil::GetHandleType(graphicsState) == RenderHandleType::GRAPHICS_STATE) in GetGraphicsPsoHandle() 327 ? graphicsState in GetGraphicsPsoHandle() 349 shaderSpecialization, dynamicStates, &graphicsState); in GetGraphicsPsoHandle() 422 const GraphicsState& graphicsState = (customGraphicsState) in GetGraphicsPso() local 430 } else if (graphicsState.colorBlendState.colorAttachmentCount != in GetGraphicsPso() [all …]
|
H A D | node_context_pso_manager.h | 66 RenderHandle GetGraphicsPsoHandle(const RenderHandle shader, const RenderHandle graphicsState, 70 RenderHandle GetGraphicsPsoHandle(const RenderHandle shader, const RenderHandle graphicsState, 74 RenderHandle GetGraphicsPsoHandle(const RenderHandle shader, const GraphicsState& graphicsState, 102 …nst BASE_NS::array_view<const DynamicStateEnum> dynamicStates, const GraphicsState* graphicsState);
|
/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);
|
H A D | pipeline_state_object_gles.h | 38 GraphicsState graphicsState; member 50 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
|
H A D | pipeline_state_object_gles.cpp | 152 …const GpuShaderProgram& gpuShaderProgram, const GraphicsState& graphicsState, const PipelineLayout… in GraphicsPipelineStateObjectGLES() argument 159 plat_.graphicsState = graphicsState; in GraphicsPipelineStateObjectGLES()
|
H A D | render_backend_gles.cpp | 1055 DoGraphicsState(data.graphicsState); in BindGraphicsPipeline() 2741 cDepth = graphicsState.depthStencilState; in PrimeDepthStencilState() 2756 cBlend = graphicsState.colorBlendState; in PrimeBlendState() 2788 const auto& ia = graphicsState.inputAssembly; in PrimeCache() 2814 PrimeDepthStencilState(graphicsState); in PrimeCache() 2815 PrimeBlendState(graphicsState); in PrimeCache() 2890 UpdateDepthState(graphicsState); in UpdateDepthStencilState() 2891 UpdateStencilState(graphicsState); in UpdateDepthStencilState() 3018 UpdateRasterizationState(graphicsState); in DoGraphicsState() 3019 UpdateDepthStencilState(graphicsState); in DoGraphicsState() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_node_context_pso_manager.h | 77 …tual RenderHandle GetGraphicsPsoHandle(const RenderHandle shader, const RenderHandle graphicsState, 93 …tual RenderHandle GetGraphicsPsoHandle(const RenderHandle shader, const RenderHandle graphicsState, 109 …derHandle GetGraphicsPsoHandle(const RenderHandle shaderHandle, const GraphicsState& graphicsState,
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_motion_blur.cpp | 59 …const RenderHandle graphicsState = shaderMgr.GetGraphicsStateHandleByShaderHandle(renderData_.shad… in Init() local 60 ….pso = renderNodeContextMgr.GetPsoManager().GetGraphicsPsoHandle(renderData_.shader, graphicsState, in Init() 68 …const RenderHandle graphicsState = shaderMgr.GetGraphicsStateHandleByShaderHandle(renderTileMaxDat… in Init() local 70 …graphicsState, renderTileMaxData_.pipelineLayout, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES… in Init() 77 const RenderHandle graphicsState = in Init() local 85 …renderTileNeighborData_.shader, graphicsState, renderTileNeighborData_.pipelineLayout, {}, specDat… in Init() 92 …renderTileNeighborData_.shader, graphicsState, renderTileNeighborData_.pipelineLayout, {}, specDat… in Init() 99 …renderTileNeighborData_.shader, graphicsState, renderTileNeighborData_.pipelineLayout, {}, specDat… in Init()
|
H A D | render_node_fullscreen_generic.cpp | 68 …pipelineData_.graphicsState = shaderMgr.GetGraphicsStateHandleByShaderHandle(pipelineData_.shader); in RENDER_BEGIN_NAMESPACE() 195 … pipelineData_.shader, pipelineData_.graphicsState, pipelineData_.pipelineLayout, {}, in GetPsoHandle() 214 …pipelineData_.graphicsState, pipelineData_.pipelineLayout, {}, {}, { dynamicStates, dynamicStateCo… in GetPsoHandle()
|
H A D | render_node_back_buffer.cpp | 147 const RenderHandle graphicsState = in CheckForPsoSpecilization() local 150 …shader_, graphicsState, pipelineLayout_, {}, {}, { DYNAMIC_STATES, BASE_NS::countof(DYNAMIC_STATES… in CheckForPsoSpecilization()
|
H A D | render_node_fullscreen_generic.h | 74 RenderHandle graphicsState; member
|
H A D | render_blur.cpp | 125 …const RenderHandle graphicsState = shaderMgr.GetGraphicsStateHandleByShaderHandle(renderData_.shad… in Execute() local 130 … renderNodeContextMgr.GetPsoManager().GetGraphicsPsoHandle(renderData_.shader, graphicsState, in Execute() 137 … renderNodeContextMgr.GetPsoManager().GetGraphicsPsoHandle(renderData_.shader, graphicsState, in Execute()
|
H A D | render_node_mip_chain_post_process.h | 121 RenderHandle graphicsState; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_state_loader_util.cpp | 272 GraphicsState graphicsState; in ParseSingleState() local 277 graphicsState.inputAssembly = context.data; in ParseSingleState() 288 graphicsState.rasterizationState = context.data; in ParseSingleState() 299 graphicsState.depthStencilState = context.data; in ParseSingleState() 310 graphicsState.colorBlendState = context.data; in ParseSingleState() 319 ssr.states.states.push_back(move(graphicsState)); in ParseSingleState()
|
H A D | shader_data_loader.cpp | 37 void LoadState(const json::value& jsonData, GraphicsState& graphicsState, GraphicsStateFlags& state… in LoadState() argument 45 graphicsState = move(ssr.states.states[0u]); in LoadState() 74 LoadState(*iter, data.graphicsState, data.stateFlags, result); in LoadSingleShaderVariant()
|
H A D | shader_data_loader.h | 60 GraphicsState graphicsState; in RENDER_BEGIN_NAMESPACE() member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | intf_shader_manager.h | 112 RenderHandle graphicsState; in RENDER_BEGIN_NAMESPACE() member 133 const GraphicsState& graphicsState; in RENDER_BEGIN_NAMESPACE() member 175 RENDER_NS::RenderHandleReference graphicsState; in RENDER_BEGIN_NAMESPACE() member 437 virtual uint64_t HashGraphicsState(const GraphicsState& graphicsState) const = 0; in RENDER_BEGIN_NAMESPACE() 753 virtual uint64_t HashGraphicsState(const GraphicsState& graphicsState) const = 0;
|
/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() argument 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() 278 const GraphicsState::ColorBlendState& colorBlendState = graphicsState.colorBlendState; in GraphicsPipelineStateObjectVk()
|
H A D | pipeline_state_object_vk.h | 43 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/ |
H A D | render_data_store_default_material.cpp | 483 renderSlotData[0u].graphicsState = matData.materialShader.graphicsState; in AddSubmesh() 486 if ((renderSlotId == INVALID_RENDER_SLOT_ID) && renderSlotData[0].graphicsState) { in AddSubmesh() 487 renderSlotId = shaderMgr_.GetRenderSlotId(renderSlotData[0u].graphicsState); in AddSubmesh() 502 renderSlotData[renderSlotCount].graphicsState = matData.depthShader.graphicsState; in AddSubmesh() 560 …ortLayerHash, renderSortHash, submeshRenderMaterialFlags, slotRef.shader, slotRef.graphicsState }); in AddSubmesh()
|
/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() 621 … materialShader.graphicsState = GetOrCreateEntityReference(entityMgr, *renderHandleMgr, gsHandle); in GetDefaultMaterialShaderData() 628 RENDER_NS::GraphicsState gs = shaderMgr.GetGraphicsState(rsd.graphicsState); in GetDefaultMaterialShaderData() 634 … depthShader.graphicsState = GetOrCreateEntityReference(entityMgr, *renderHandleMgr, gsHandle); in GetDefaultMaterialShaderData() 655 if (rsd.graphicsState) { in GetDefaultMaterialShaderData() 656 RENDER_NS::GraphicsState gs = shaderMgr.GetGraphicsState(rsd.graphicsState); in GetDefaultMaterialShaderData() 661 … shader.graphicsState = GetOrCreateEntityReference(entityMgr, *renderHandleMgr, gsHandle); in GetDefaultMaterialShaderData()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.cpp | 1945 stateEntityRef = readHandle->materialShader.graphicsState; in GetGraphicsState() 1947 stateEntityRef = readHandle->depthShader.graphicsState; in GetGraphicsState() 2005 entityRef = readHandle->materialShader.graphicsState; in SetGraphicsState() 2007 entityRef = readHandle->depthShader.graphicsState; in SetGraphicsState() 2037 entityRef = readHandle->materialShader.graphicsState; in GetGraphicsState() 2039 entityRef = readHandle->depthShader.graphicsState; in GetGraphicsState() 2110 if (!writeHandle->materialShader.graphicsState) { in SetShader() 2113 writeHandle->materialShader.graphicsState = in SetShader() 2119 if (!writeHandle->depthShader.graphicsState) { in SetShader() 2121 writeHandle->depthShader.graphicsState = in SetShader() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | material_component.h | 176 CORE_NS::EntityReference graphicsState; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_manager.cpp | 352 uint64_t ShaderManager::HashGraphicsState(const GraphicsState& graphicsState) const in HashGraphicsState() 354 return BASE_NS::hash(graphicsState); in HashGraphicsState() 416 if (renderSlotIds_.data[renderSlotId].graphicsState) { in SetRenderSlotData() 422 renderSlotIds_.data[renderSlotId].graphicsState = stateHandle; in SetRenderSlotData() 691 … RenderHandleUtil::GetIndexPart(createInfo.graphicsState), vertShaderModule, in CreateShader() 948 graphicsStates_.graphicsStates[arrayIndex] = createInfo.graphicsState; in CreateGraphicsState() 949 const uint64_t hash = HashGraphicsState(createInfo.graphicsState); in CreateGraphicsState() 963 graphicsStates_.graphicsStates.push_back(createInfo.graphicsState); in CreateGraphicsState() 964 const uint64_t hash = HashGraphicsState(createInfo.graphicsState); in CreateGraphicsState() 2402 uint64_t RenderNodeShaderManager::HashGraphicsState(const GraphicsState& graphicsState) const in HashGraphicsState() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_depth_render_slot.cpp | 349 allShaderData_.defaultStateHandle = shaderRsd.graphicsState.GetHandle(); in CreateDefaultShaderData() 367 if (stateRsd.graphicsState) { in CreateDefaultShaderData() 368 allShaderData_.defaultStateHandle = stateRsd.graphicsState.GetHandle(); in CreateDefaultShaderData()
|