mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Deallocate offscreen buffer for non-HW-accel draw"
This commit is contained in:
commit
ed56ea86d0
@ -605,4 +605,8 @@ public class KeyboardView extends View {
|
|||||||
super.onDetachedFromWindow();
|
super.onDetachedFromWindow();
|
||||||
freeOffscreenBuffer();
|
freeOffscreenBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void deallocateMemory() {
|
||||||
|
freeOffscreenBuffer();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1271,7 +1271,9 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void deallocateMemory() {
|
public void deallocateMemory() {
|
||||||
|
super.deallocateMemory();
|
||||||
mGestureTrailsPreview.deallocateMemory();
|
mGestureTrailsPreview.deallocateMemory();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user