mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -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
|
||||
|
||||
@Volatile
|
||||
var isDirty = true
|
||||
|
||||
inline fun drawLocked(
|
||||
canvas: Canvas?,
|
||||
width: Int,
|
||||
|
||||
Reference in New Issue
Block a user