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

This commit is contained in:
Eric 2018-09-07 08:11:17 +08:00 committed by Chinmay Garde
parent f02fc8c106
commit e164e83a85

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() {