Reset the raster cache when the compositor context is created. (flutter/engine#6150)
This commit is contained in:
@@ -69,6 +69,7 @@ bool CompositorContext::ScopedFrame::Raster(flow::LayerTree& layer_tree,
|
||||
|
||||
void CompositorContext::OnGrContextCreated() {
|
||||
texture_registry_.OnGrContextCreated();
|
||||
raster_cache_.Clear();
|
||||
}
|
||||
|
||||
void CompositorContext::OnGrContextDestroyed() {
|
||||
|
||||
Reference in New Issue
Block a user