Rebuild cache when framerate drops significantly from uncached objects
This commit is contained in:
parent
d91c7e987f
commit
0b72dd4ea9
4 changed files with 54 additions and 19 deletions
|
|
@ -453,7 +453,7 @@ void DrawingProgramSelection::draw_components(SkCanvas* canvas, const DrawData&
|
|||
if(!surface)
|
||||
throw std::runtime_error("[DrawingProgramSelection::draw_components] Could not make temporary surface");
|
||||
|
||||
cache.draw_components_to_canvas(surface->getCanvas(), selectionDrawData);
|
||||
cache.draw_components_to_canvas(surface->getCanvas(), selectionDrawData, {});
|
||||
|
||||
SkPaint glowBlurP;
|
||||
glowBlurP.setImageFilter(SkImageFilters::Blur(5, 5, nullptr));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue