CI / build (push) Successful in 1m15s
The renderer process now takes each view's chunks on a thread of its own as they come, and draws the newest frame on its main thread: the client no longer waits for the previous frame to be drawn (on a VM, 22 of a frame's 25 ms). The adapter records the client's steps (SceneViewer::step, by replacing its entry in the exported IFrameListener vtable, after checking it), and the frame pacer doesn't ask for a frame that wouldn't end before the next step is due: a late step made the client catch up two at once, which showed as hitches. While the renderer process covers the view, the client's renderer doesn't begin or present frames, which could wait for the display. The engine's stats now include the time in the client renderer's methods. Co-Authored-By: Claude Opus 5.5 <[email protected]>
18 lines
525 B
CMake
18 lines
525 B
CMake
# t5deRenderEngine.dll, the adapter: a renderer plugin for IMVU Classic (32-bit).
|
|
|
|
add_library(t5de_render_engine SHARED
|
|
engine.cpp
|
|
frame_pacer.cpp
|
|
log.cpp
|
|
pixmap.cpp
|
|
plugin.cpp
|
|
plugin.def
|
|
recorder.cpp
|
|
renderer_process.cpp
|
|
resources.cpp
|
|
scene_hooks.cpp)
|
|
set_target_properties(t5de_render_engine PROPERTIES OUTPUT_NAME t5deRenderEngine)
|
|
target_link_libraries(t5de_render_engine PRIVATE t5de::imvu t5de::protocol t5de::options)
|
|
|
|
install(TARGETS t5de_render_engine RUNTIME DESTINATION .)
|