Android下TextureView绘制闪屏问题
如果你在TextureView下使用canvas进行绘制时出现闪屏现象,可以尝试在TextureView进行lockCanvas之后清理canvas,如下Canvascanvas=textureView.lockCanvas();Paintpaint=newPaint();paint.setXfermode(newPorterDuffXfermode(PorterDuff.Mode.CLEAR));canvas.drawPaint(paint);...