GameOverlay.Net icon indicating copy to clipboard operation
GameOverlay.Net copied to clipboard

Text rendering performance

Open michel-pi opened this issue 5 years ago • 2 comments

I originally switched to creating a new TextLayout every time in the text rendering methods because their was a little bug (either in mine or SharpDX code) which let the renderer not draw or crash when using the DrawText method instead of the DrawTextLayout method.

I think this is no more an issue and can be changed if this provides better performance for text rendering.

Disclaimer: I assume that Direct2D just creates a TextLayout for you if you use the simpler methods.

michel-pi avatar Mar 07 '19 05:03 michel-pi

Updates .?

CorrM avatar Jan 11 '20 04:01 CorrM

@CorrM i don't have much time to do this 😞

michel-pi avatar Jan 11 '20 16:01 michel-pi