mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
fa95dd1e3c
commit
51cb0dc796
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user