Reset the raster cache when the compositor context is created. (flutter/engine#6150)

This commit is contained in:
Eric
2018-09-07 08:11:17 +08:00
committed by Chinmay Garde
parent 2445a6e8e9
commit 9a5581563f

View File

@@ -69,6 +69,7 @@ bool CompositorContext::ScopedFrame::Raster(flow::LayerTree& layer_tree,
void CompositorContext::OnGrContextCreated() {
texture_registry_.OnGrContextCreated();
raster_cache_.Clear();
}
void CompositorContext::OnGrContextDestroyed() {