Bring back ImageBitmap optimization in canvas renderer

It's more simple than it used to be, it will clear and debounce all
glyphs when any change is made.
This commit is contained in:
Daniel Imms
2022-10-04 15:24:10 -07:00
parent 3b260a2193
commit e0324e32a8
2 changed files with 58 additions and 2 deletions
-1
View File
@@ -77,7 +77,6 @@ export interface IRenderer extends IDisposable {
export interface ITextureAtlas extends IDisposable {
readonly cacheCanvas: HTMLCanvasElement;
// TODO: Add endFrame and make this readonly
hasCanvasChanged: boolean;
/**