It seems you asking about how to display data faster.olso4539 wrote:I was experimenting with the code, and it turns out most of the time is spent on vguLine(). It seems odd that i can only get 7300 lines per second with 1000 Mhz Arm and 500 Mhz core. That's 137,000 arm instructions or 68,500 core instructions per line drawn. I'm looking into the released Broadcom drivers to see what is happening now. Maybe openGLES would draw lines faster?
Code: Select all
Creates an egl display connection \ Creates a native window surface (dispmanx) | \ | V \ V Creates an egl rendering context \--->Creates an egl window surface from the native window surface and display conn. | | |------------> links the egl window to the rendering context <----------| and links openvg to egl
https://github.com/ajstarks/openvg has code for working with openvg and TrueType fonts (see: https://github.com/ajstarks/openvg/blob ... openvg.cpp)olso4539 wrote:I've updated the git repository to include three fonts and text rendering. It's a basic implementation, but it works. I would like to redo the implementation to allow the full list of installed fonts, but that is a ways off because i need to create/find a TrueType to openvg font converter. I would be glad to hear suggestions on getting this to work.