RESOLVED DUPLICATE of bug 7842677897
[Chromium] SkDevice caching by per-tile texture updater.
https://bugs.webkit.org/show_bug.cgi?id=77897
Summary [Chromium] SkDevice caching by per-tile texture updater.
David Reveman
Reported 2012-02-06 13:15:34 PST
Avoid to create a new SkDevice after each update. This is efficient with the per-tile texture updater as update size is very often the same. Provides a performance improvement at the cost of higher memory usage.
Attachments
Patch (1.52 KB, patch)
2012-02-06 13:18 PST, David Reveman
no flags
Patch (9.10 KB, patch)
2012-02-09 11:27 PST, David Reveman
no flags
David Reveman
Comment 1 2012-02-06 13:18:14 PST
Dana Jansens
Comment 2 2012-02-09 10:21:59 PST
Comment on attachment 125700 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=125700&action=review > Source/WebCore/platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp:-48 > - m_device = adoptPtr(new SkDevice(SkBitmap::kARGB_8888_Config, sourceRect.width(), sourceRect.height())); for posterity: always be the size of the texture and less resizing will be required.
David Reveman
Comment 3 2012-02-09 11:27:01 PST
David Reveman
Comment 4 2012-02-11 15:23:55 PST
*** This bug has been marked as a duplicate of bug 78426 ***
Note You need to log in before you can comment on or make changes to this bug.