mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Reset the raster cache when the compositor context is created. (#6150)
This commit is contained in:
parent
f02fc8c106
commit
e164e83a85
@ -69,6 +69,7 @@ bool CompositorContext::ScopedFrame::Raster(flow::LayerTree& layer_tree,
|
||||
|
||||
void CompositorContext::OnGrContextCreated() {
|
||||
texture_registry_.OnGrContextCreated();
|
||||
raster_cache_.Clear();
|
||||
}
|
||||
|
||||
void CompositorContext::OnGrContextDestroyed() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user