port: Grp texture/image/buffer units toward 40250 (+ port.grp_resource)

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>
This commit is contained in:
shenlei
2026-09-30 14:15:45 +09:00
co-authored by Claude Opus 5.5
parent 7e385f827b
commit 010e99f070
13 changed files with 1142 additions and 135 deletions
+3
View File
@@ -214,6 +214,9 @@ if(BUILD_TESTING AND CMAKE_SYSTEM_NAME STREQUAL CMAKE_HOST_SYSTEM_NAME)
add_executable(port_eter_image_test ${PROJECT_SOURCE_DIR}/tests/port/port_eter_image_test.cpp)
target_link_libraries(port_eter_image_test PRIVATE port_platform)
add_test(NAME port.eter_image COMMAND $<TARGET_FILE:port_eter_image_test>)
add_executable(port_grp_resource_test ${PROJECT_SOURCE_DIR}/tests/port/port_grp_resource_test.cpp)
target_link_libraries(port_grp_resource_test PRIVATE port_platform)
add_test(NAME port.grp_resource COMMAND $<TARGET_FILE:port_grp_resource_test>)
# MilesLib: the 40250 sound managers over the Miles emulation (platform/MilesLib/MilesAil.cpp).
add_executable(port_miles_test ${PROJECT_SOURCE_DIR}/tests/port/port_miles_test.cpp)