@@ -7,13 +7,15 @@ import androidx.core.graphics.record
import java.util.concurrent.locks.ReentrantLock
class PictureMirror {
-
+ @Volatile
var picture: Picture? = null
@Volatile
- var isDirty = true
var lock: ReentrantLock? = null
+ var isDirty = true
+
inline fun drawLocked(
canvas: Canvas?,
width: Int,