TextBar and DibBar verbatim over the FreeType GDI shim (+GetTextExtentPoint32A); BlockTexture verbatim except Render, which records the clipped quad as a UI image of the device CPU texture (UIRenderAddImageNamed). Notices now render; port.text_bar covers block split, pixels, colour, ClearBar and TipBoard clip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
{
|
|
"reference": "EterLib/BlockTexture.cpp",
|
|
"reference_sha256": "791df4fed556b4aad015ede57d85763393fefd48cc505584198865f84c7a1b99",
|
|
"priority": "P4",
|
|
"contracts": [],
|
|
"functions": {
|
|
"CBlockTexture::SetClipRect": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/BlockTexture.cpp:CBlockTexture::SetClipRect"
|
|
],
|
|
"test": [
|
|
"tests/port/port_text_bar_test.cpp"
|
|
],
|
|
"note": "Verbatim 40250 (CreateTexture/LockRect on the recording device's CPU texture)."
|
|
},
|
|
"CBlockTexture::Render": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterLib/BlockTexture.cpp:CBlockTexture::Render"
|
|
],
|
|
"test": [
|
|
"tests/port/port_text_bar_test.cpp"
|
|
],
|
|
"note": "40250: SetPDTStream + DEFAULT_IB_FILL_RECT + stage-0 m_lpd3dTexture + DrawIndexedPrimitive in the UI pass. Port: the same clipped corners/UVs recorded as a UI image of the device CPU texture (UIRenderAddImageNamed). Invariant: identical quad, UVs and texels; clipped-out blocks draw nothing."
|
|
},
|
|
"CBlockTexture::InvalidateRect": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/BlockTexture.cpp:CBlockTexture::InvalidateRect"
|
|
],
|
|
"test": [
|
|
"tests/port/port_text_bar_test.cpp"
|
|
],
|
|
"note": "Verbatim 40250 (CreateTexture/LockRect on the recording device's CPU texture)."
|
|
},
|
|
"CBlockTexture::Create": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/BlockTexture.cpp:CBlockTexture::Create"
|
|
],
|
|
"test": [
|
|
"tests/port/port_text_bar_test.cpp"
|
|
],
|
|
"note": "Verbatim 40250 (CreateTexture/LockRect on the recording device's CPU texture)."
|
|
},
|
|
"CBlockTexture::CBlockTexture": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/BlockTexture.cpp:CBlockTexture::CBlockTexture"
|
|
],
|
|
"test": [
|
|
"tests/port/port_text_bar_test.cpp"
|
|
],
|
|
"note": "Verbatim 40250 (CreateTexture/LockRect on the recording device's CPU texture)."
|
|
},
|
|
"CBlockTexture::~CBlockTexture": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterLib/BlockTexture.cpp:CBlockTexture::~CBlockTexture"
|
|
],
|
|
"test": [
|
|
"tests/port/port_text_bar_test.cpp"
|
|
],
|
|
"note": "Verbatim 40250 (CreateTexture/LockRect on the recording device's CPU texture)."
|
|
}
|
|
}
|
|
}
|