• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps GLSurfaceView in fast drawing of graphs.

sba

Lurker
I'm developing an app that will connect to (my own) oscilloscope, read data via USB and display plots - so just normal oscilloscope.


USB is ok, now I have to draw the graphs.


As you know (or not) in oscilloscope there are really fast-changing signals, so I have to render graphs really fast. So I'm looking for a fast way to do it.


I've read that GLSurfaceView uses OpenGL and GPU so it is used for games, but will I benefit from it in my project? GL is really complicated (to draw a square or just lines, not to mention about text...) while SurfaceView has its Canvas so it's much easier.


I really care for performance, but have not much time and nerver used OpenGL so what do you think?
 
Android canvas is fast enough to build games on it, it should be just fine to draw a graph. I draw full screen graphics in my game using SurfaceView at steady 60 fps on full HD device screens no problem.
 
Back
Top Bottom