Search code examples
androidandroid-canvaspaint

Fast paths drawing


I make a paint app that use array of finger paths for drawing them on screen. now by paths array increasing, app work and draw slower than past. What ways you recommend for its faster drawing?


Solution

  • Let me rephrase. Currently, you're doing a software draw finger painting app, which sounds like its using vector graphics.

    Learn OpenGL and use hardware acceleration to draw.

    Alternatively, you could create a back buffer and render to that, then do a quick copy.