RESOLVED WONTFIX 75547
[chromium] Use scratch textures in skia/Ganesh for canvas backing stores.
https://bugs.webkit.org/show_bug.cgi?id=75547
Summary [chromium] Use scratch textures in skia/Ganesh for canvas backing stores.
Stephen White
Reported 2012-01-04 07:40:43 PST
This improves performance when canvas backing stores are re-created at the same res, since Ganesh will retrieve them from cache rather than performing a glTexImage2D().
Attachments
Patch (2.97 KB, patch)
2012-01-04 07:54 PST, Stephen White
senorblanco: review-
Stephen White
Comment 1 2012-01-04 07:54:38 PST
Kenneth Russell
Comment 2 2012-01-04 12:05:51 PST
Comment on attachment 121111 [details] Patch Looks good to me as long as it's been tested. You're sure that this code path in Ganesh won't change GL state in a way that might confuse the caller?
Brian Salomon
Comment 3 2012-01-04 12:21:15 PST
I think we will want to handle the recycling of textures on behalf of the client transparently in skia without changing webkit. This change will work but every canvas will count against the cache budget for skia's internally created textures.
Stephen White
Comment 4 2012-01-04 12:22:22 PST
Comment on attachment 121111 [details] Patch After discussion w/Brian, we'll try this another way.
Note You need to log in before you can comment on or make changes to this bug.