android - What is the fastest way to draw an array of lines? -
i need draw array of lines in overlay. currently, use canvas , bitmap , draw 500 lines. drawing time high - around 200 ms bad, acceptable.
now need add 500 lines more , time grows significantly. fastest way this? need use opengl? , how? best approach?
turning off anti-aliasing speed things lot. sure profile code make sure rendering place time going. once have optimized things , majority of time spent in rendering , have made rendering simple possible, next step you'll have take move opengl.
Comments
Post a Comment