Try a different cache refresh on lag strategy
This commit is contained in:
parent
73fde8beb7
commit
c302353bd9
7 changed files with 30 additions and 16 deletions
|
|
@ -454,9 +454,6 @@ void DrawingProgramCache::draw_components_to_canvas(SkCanvas* canvas, const Draw
|
|||
|
||||
if(optData.lastDrawnComponentPlacement)
|
||||
*optData.lastDrawnComponentPlacement = lastComponentDrawn;
|
||||
|
||||
if(optData.timeToDrawUnsortedComponents)
|
||||
*optData.timeToDrawUnsortedComponents = unsortedCompDrawTime;
|
||||
}
|
||||
|
||||
void DrawingProgramCache::draw_cache_image_to_canvas(SkCanvas* canvas, const DrawData& drawData, const std::shared_ptr<DrawingProgramCacheBVHNode>& bvhNode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue