|
inline void ExecuteOnMainThread(void (^_block)(void)) |
the architecture of the overlay is broken and we have this unneeded complexity.
also we have this dead code from a previous overlay implementation (USE_SYSTEM_UI=0):
https://github.com/e-dream-ai/client/tree/a0e75ee8090a1c030a1a91afe281f69519b5319e/client_generic/DisplayOutput/Metal/TextRendering
we should use CATextLayer, without animation, but update it from the main loop. And it should be all in 1 layer, or whatever is efficient and best practice and simple and reliable code.
check how the icons and other overlays are displayed.
client/client_generic/DisplayOutput/Metal/TextMetal.mm
Line 12 in a0e75ee
the architecture of the overlay is broken and we have this unneeded complexity.
also we have this dead code from a previous overlay implementation (USE_SYSTEM_UI=0):
https://github.com/e-dream-ai/client/tree/a0e75ee8090a1c030a1a91afe281f69519b5319e/client_generic/DisplayOutput/Metal/TextRendering
we should use CATextLayer, without animation, but update it from the main loop. And it should be all in 1 layer, or whatever is efficient and best practice and simple and reliable code.
check how the icons and other overlays are displayed.