| Summary: | [CoordinatedGraphics] Cache and reuse image-based backing stores | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Miguel Gomez <magomez> | ||||||||
| Component: | WebKitGTK | Assignee: | Zan Dobersek (Reviews) <zdobersek> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bugs-noreply, pawel.lampe, zan | ||||||||
| Priority: | P2 | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Miguel Gomez
2022-07-06 09:27:21 PDT
Created attachment 460858 [details]
WIP patch
Still needs the caching functionality.
Created attachment 461112 [details]
WIP patch
Now with caching in different parts, but not yet cleaned up and validated.
Tested WIP change using WPE build with MiniBrowser on play.works portal and the Nicosia::Buffer-related memory usage went down from 154MB to 22MB. It's very promising result. Created attachment 461836 [details]
WIP patch
This additionally moves out the CPU buffer when the backing store is created, avoiding keeping the buffer around after the backing store is already active and cached.
Pull request: https://github.com/WebKit/WebKit/pull/3652 Committed 253807@main (487411cb6083): <https://commits.webkit.org/253807@main> Reviewed commits have been landed. Closing PR #3652 and removing active labels. |