GrpImage/GrpSubImage verbatim; GrpImageTexture DDS path through CDXTCImage header + low-texture-memory mip bias, CreateDeviceObjects/CreateFromDiskFile verbatim; GrpTexture::SetTextureStage via STATEMANAGER. Port-map entries for GrpTexture/Image/SubImage/ImageTexture/IndexBuffer/VertexBuffer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
124 lines
5.1 KiB
JSON
124 lines
5.1 KiB
JSON
{
|
|
"reference": "EterLib/GrpIndexBuffer.cpp",
|
|
"reference_sha256": "ef734b7d12aa0da8881bdb55d9356f932bbfe528c445504c81c816ba004201af",
|
|
"priority": "P4",
|
|
"contracts": [],
|
|
"functions": {
|
|
"CGraphicIndexBuffer::GetD3DIndexBuffer": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::GetD3DIndexBuffer"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::SetIndices": {
|
|
"status": "ADAPTED",
|
|
"note": "40250: D3D8 index buffer Lock/Unlock/CreateIndexBuffer/Release. Port: CPU memory (CpuBuffer.h MtCpu*Buffer); Lock hands out the bytes, Unlock bumps the revision the renderer re-uploads on. Invariant: the same bytes and sizes reach the draw; no device needed (Granny loader thread).",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::SetIndices"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::Lock": {
|
|
"status": "ADAPTED",
|
|
"note": "40250: D3D8 index buffer Lock/Unlock/CreateIndexBuffer/Release. Port: CPU memory (CpuBuffer.h MtCpu*Buffer); Lock hands out the bytes, Unlock bumps the revision the renderer re-uploads on. Invariant: the same bytes and sizes reach the draw; no device needed (Granny loader thread).",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::Lock"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::Unlock": {
|
|
"status": "ADAPTED",
|
|
"note": "40250: D3D8 index buffer Lock/Unlock/CreateIndexBuffer/Release. Port: CPU memory (CpuBuffer.h MtCpu*Buffer); Lock hands out the bytes, Unlock bumps the revision the renderer re-uploads on. Invariant: the same bytes and sizes reach the draw; no device needed (Granny loader thread).",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::Unlock"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::Copy": {
|
|
"status": "ADAPTED",
|
|
"note": "40250: D3D8 index buffer Lock/Unlock/CreateIndexBuffer/Release. Port: CPU memory (CpuBuffer.h MtCpu*Buffer); Lock hands out the bytes, Unlock bumps the revision the renderer re-uploads on. Invariant: the same bytes and sizes reach the draw; no device needed (Granny loader thread).",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::Copy"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::Create": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::Create"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::CreateDeviceObjects": {
|
|
"status": "ADAPTED",
|
|
"note": "40250: D3D8 index buffer Lock/Unlock/CreateIndexBuffer/Release. Port: CPU memory (CpuBuffer.h MtCpu*Buffer); Lock hands out the bytes, Unlock bumps the revision the renderer re-uploads on. Invariant: the same bytes and sizes reach the draw; no device needed (Granny loader thread).",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::CreateDeviceObjects"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::DestroyDeviceObjects": {
|
|
"status": "ADAPTED",
|
|
"note": "40250: D3D8 index buffer Lock/Unlock/CreateIndexBuffer/Release. Port: CPU memory (CpuBuffer.h MtCpu*Buffer); Lock hands out the bytes, Unlock bumps the revision the renderer re-uploads on. Invariant: the same bytes and sizes reach the draw; no device needed (Granny loader thread).",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::DestroyDeviceObjects"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::Destroy": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::Destroy"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::Initialize": {
|
|
"status": "ADAPTED",
|
|
"note": "40250: leaves m_iidxCount/m_dwBufferSize unset. Port: zeroes them. Invariant: every 40250 reader runs after Create, which sets both.",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::Initialize"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::CGraphicIndexBuffer": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::CGraphicIndexBuffer"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
},
|
|
"CGraphicIndexBuffer::~CGraphicIndexBuffer": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/GrpIndexBuffer.cpp:CGraphicIndexBuffer::~CGraphicIndexBuffer"
|
|
],
|
|
"test": [
|
|
"tests/port/port_grp_resource_test.cpp"
|
|
]
|
|
}
|
|
}
|
|
}
|