Home
last modified time | relevance | path

Searched refs:gfxState (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_depth_render_slot.cpp199 ssd.hash = (ssd.shader.id << 32U) | (ssd.gfxState.id & 0xFFFFffff); in RenderSubmeshes()
446 if (!RenderHandleUtil::IsValid(ssd.gfxState)) { in CreateNewPso()
455 if (RenderHandleUtil::GetHandleType(ssd.gfxState) == RenderHandleType::GRAPHICS_STATE) { in CreateNewPso()
456 …const RenderHandle slotState = shaderMgr.GetGraphicsStateHandle(ssd.gfxState, jsonInputs_.stateRen… in CreateNewPso()
475 GraphicsState gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso() local
476 gfxState.rasterizationState.frontFace = FrontFace::CORE_FRONT_FACE_CLOCKWISE; in CreateNewPso()
477 const auto spec = GetShaderSpecializationView(gfxState, submeshMaterialFlags, submeshFlags); in CreateNewPso()
478 … psoHandle = psoMgr.GetGraphicsPsoHandle(currShader, gfxState, shaderMgr.GetPipelineLayout(currPl), in CreateNewPso()
481 const GraphicsState& gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso() local
482 const auto spec = GetShaderSpecializationView(gfxState, submeshMaterialFlags, submeshFlags); in CreateNewPso()
[all …]
H A Drender_node_default_material_render_slot.cpp335 ssd.hash = (ssd.shader.id << 32U) | (ssd.gfxState.id & 0xFFFFffff); in RenderSubmeshes()
732 if (!RenderHandleUtil::IsValid(ssd.gfxState)) { in CreateNewPso()
741 if (RenderHandleUtil::GetHandleType(ssd.gfxState) == RenderHandleType::GRAPHICS_STATE) { in CreateNewPso()
742 …const RenderHandle slotState = shaderMgr.GetGraphicsStateHandle(ssd.gfxState, jsonInputs_.stateRen… in CreateNewPso()
760 GraphicsState gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso() local
761 gfxState.rasterizationState.frontFace = FrontFace::CORE_FRONT_FACE_CLOCKWISE; in CreateNewPso()
764 … psoHandle = psoMgr.GetGraphicsPsoHandle(currShader, gfxState, shaderMgr.GetPipelineLayout(currPl), in CreateNewPso()
767 const GraphicsState& gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso() local
781 const RENDER_NS::GraphicsState& gfxState, in GetShaderSpecializationView() argument
786 if (gfxState.colorBlendState.colorAttachmentCount > 0) { in GetShaderSpecializationView()
[all …]
H A Drender_node_default_shadow_render_slot.cpp337 ssd.hash = (ssd.shader.id << 32U) | (ssd.gfxState.id & 0xFFFFffff); in RenderSubmeshes()
472 if (!RenderHandleUtil::IsValid(ssd.gfxState)) { in CreateNewPso()
481 if (RenderHandleUtil::GetHandleType(ssd.gfxState) == RenderHandleType::GRAPHICS_STATE) { in CreateNewPso()
482 …const RenderHandle slotState = shaderMgr.GetGraphicsStateHandle(ssd.gfxState, currentScene_.render… in CreateNewPso()
499 GraphicsState gfxState = shaderMgr.GetGraphicsState(currState); in CreateNewPso() local
500 gfxState.rasterizationState.frontFace = FrontFace::CORE_FRONT_FACE_CLOCKWISE; in CreateNewPso()
504 … currShader, gfxState, pl, vidv, specialization, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in CreateNewPso()
H A Drender_node_default_depth_render_slot.h117 RENDER_NS::RenderHandle gfxState; member
160 const RENDER_NS::GraphicsState& gfxState,
H A Drender_node_default_material_render_slot.h145 RENDER_NS::RenderHandle gfxState; member
207 const RENDER_NS::GraphicsState& gfxState,
H A Drender_node_default_shadow_render_slot.h68 RENDER_NS::RenderHandle gfxState; member
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/
H A Dintf_render_data_store_default_material.h200 RENDER_NS::RenderHandleReference gfxState; member
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_importer.h101 CORE_NS::EntityReference gfxState; member
H A Dgltf2_exporter.cpp1116 const GraphicsState gfxState = shaderMgr.GetGraphicsState(handle); in UpdateShaderStateToGltfMaterial() local
1117 … if (gfxState.rasterizationState.cullModeFlags == CullModeFlagBits::CORE_CULL_MODE_NONE) { in UpdateShaderStateToGltfMaterial()
1120 if (gfxState.colorBlendState.colorAttachmentCount > 0) { in UpdateShaderStateToGltfMaterial()
1121 if (gfxState.colorBlendState.colorAttachments[0].enableBlend) { in UpdateShaderStateToGltfMaterial()
1130 const GraphicsState gfxState = shaderMgr.GetGraphicsState(gfxHandle); in UpdateShaderStateToGltfMaterial() local
1131 … if (gfxState.rasterizationState.cullModeFlags == CullModeFlagBits::CORE_CULL_MODE_NONE) { in UpdateShaderStateToGltfMaterial()
1134 if (gfxState.colorBlendState.colorAttachmentCount > 0) { in UpdateShaderStateToGltfMaterial()
1135 if (gfxState.colorBlendState.colorAttachments[0].enableBlend) { in UpdateShaderStateToGltfMaterial()
H A Dgltf2_importer.cpp1663 desc.materialShader.graphicsState = dmShaderData.blend.gfxState; in SelectShaders()
1670 … gltfMaterial.doubleSided ? dmShaderData.blend.gfxStateDoubleSided : dmShaderData.blend.gfxState; in SelectShaders()
1677 … gltfMaterial.doubleSided ? dmShaderData.opaque.gfxStateDoubleSided : dmShaderData.opaque.gfxState; in SelectShaders()
1685 … gltfMaterial.doubleSided ? dmShaderData.depth.gfxStateDoubleSided : dmShaderData.depth.gfxState; in SelectShaders()
2293 shaderData.gfxState = em.GetReferenceCounted(resourceEntity); in FillShaderData()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.h129 CORE_NS::EntityReference gfxState; member
H A Drender_system.cpp168 shaderData.gfxState = em.GetReferenceCounted(resourceEntity); in FillShaderData()
175 GraphicsState gfxState = shaderMgr.GetGraphicsState(rsd.graphicsState); in FillShaderData() local
176 gfxState.rasterizationState.cullModeFlags = CullModeFlagBits::CORE_CULL_MODE_NONE; in FillShaderData()
177 const uint64_t gfxStateHash = shaderMgr.HashGraphicsState(gfxState); in FillShaderData()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/
H A Drender_node_scene_util.cpp300 submeshMatData.shader.GetHandle(), submeshMatData.gfxState.GetHandle() }); in GetRenderSlotSubmeshes()