Both units are the 40250 bodies; only the PDT-stream draw becomes UIRenderAddImage (with the rendering mode). SCREEN/COLOR_DODGE were packed as 0x28 (INVDESTALPHA+ONE); 40250 uses INVDESTCOLOR+ONE (0x2A). OnIsType calls the base OnIsType instead of 40250's recursing IsType. port.grp_resource covers the quads, UVs, colour and blend mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
226 lines
6.6 KiB
JSON
226 lines
6.6 KiB
JSON
{
|
|
"reference": "EterLib/GrpImageInstance.cpp",
|
|
"reference_sha256": "59c2dd35bca5a7ad3cf517070a6188ee37ac41cb1fd53ef3ee65437b737b622c",
|
|
"priority": "P4",
|
|
"contracts": [],
|
|
"functions": {
|
|
"CGraphicImageInstance::CreateSystem": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::CreateSystem"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::DestroySystem": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::DestroySystem"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::New": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::New"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::Delete": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::Delete"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::Render": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::Render"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::OnRender": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::OnRender"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
],
|
|
"note": "40250: SetPDTStream + DEFAULT_IB_FILL_RECT + stage-0 texture, DrawIndexedPrimitive. Port: the same four TPDTVertex corners/UVs/diffuse go to UIRenderAddImage. Invariant: quad = image rect at m_v2Position-0.5, UVs = rect/texture size."
|
|
},
|
|
"CGraphicImageInstance::GetTextureReference": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::GetTextureReference"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::GetTexturePointer": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::GetTexturePointer"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::GetGraphicImagePointer": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::GetGraphicImagePointer"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::GetWidth": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::GetWidth"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::GetHeight": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::GetHeight"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::SetDiffuseColor": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::SetDiffuseColor"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::SetPosition": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::SetPosition"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::SetImagePointer": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::SetImagePointer"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::ReloadImagePointer": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::ReloadImagePointer"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::IsEmpty": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::IsEmpty"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::Type": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::Type"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::IsType": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::IsType"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::OnIsType": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::OnIsType"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::OnSetImagePointer": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::OnSetImagePointer"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::Initialize": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::Initialize"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::Destroy": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::Destroy"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::CGraphicImageInstance": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::CGraphicImageInstance"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicImageInstance::~CGraphicImageInstance": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpImageInstance.cpp:CGraphicImageInstance::~CGraphicImageInstance"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
}
|
|
}
|
|
}
|