Lidar_AI_Solution
Lidar_AI_Solution copied to clipboard
cuOSD stb font backend memory too big
In order to perform asynchronous operations using multiple contexts, it was found that the OSD physical memory was heavily occupied. However, it was found that the backend of the font was heavily occupied, mainly due to measurement_ Text is occupied, so could you please help confirm
-
Does asynchronous operation require multiple contexts
-
Can multiple contexts share font backend
-
Inaccurate measurement of font backend STB font (font set to 10, return height is 12)
thanks, Keep On Waiting
it was found that the OSD physical memory was heavily occupied -> Could you expand on this?
Inaccurate measurement of font backend STB font (font set to 10, return height is 12) -> The measurement function is designed to return the size of the area needed for the rendering. It may include the background area(like a filled background), not just text.
Inaccurate measurement of font backend STB font (font set to 10, return height is 12) -> The measurement function is designed to return the size of the area needed for the rendering. It may include the background area(like a filled background), not just text.
pic 1
pic 2
Sorry for the delay in other matters last week and not responding in a timely manner。 pic 1 shows the actual drawn font height of approximately 19 pixels pic 2 shows that the font height returned by cuosd_measure_text is 10 pixels My understanding is cuosd_ Measure_ Text returns the font height occupied by the drawing
thanks, Keep On Waiting