Skip to content

Commit e164e83

Browse files
endpresschinmaygarde
authored andcommitted
Reset the raster cache when the compositor context is created. (flutter#6150)
1 parent f02fc8c commit e164e83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flow/compositor_context.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ bool CompositorContext::ScopedFrame::Raster(flow::LayerTree& layer_tree,
6969

7070
void CompositorContext::OnGrContextCreated() {
7171
texture_registry_.OnGrContextCreated();
72+
raster_cache_.Clear();
7273
}
7374

7475
void CompositorContext::OnGrContextDestroyed() {

0 commit comments

Comments
 (0)