Summary: | [skia] don't rely on lockPixels failure to detect gpu-backed device (in prep for skia roll) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mike Reed <reed> | ||||
Component: | New Bugs | Assignee: | Mike Reed <reed> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bsalomon, jamesr, senorblanco, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Mike Reed
2011-07-08 05:39:19 PDT
Created attachment 100109 [details]
Patch
(Unofficial) LGTM. Comment on attachment 100109 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=100109&action=review > Source/WebCore/platform/graphics/skia/ImageBufferSkia.cpp:304 > + bool temporaryBitmap = !!deviceBitmap.getTexture(); Will this code work with the current rev of skia? If not, you'll have to wrap it temporarily in an #ifdef that you turn on in Chrome (ie., two-sided change), then remove it after the skia roll. this does work with the current rev. of skia. It is being done so that we can perform a new rev. later on. Ok, great. r=me Comment on attachment 100109 [details] Patch Clearing flags on attachment: 100109 Committed r90645: <http://trac.webkit.org/changeset/90645> All reviewed patches have been landed. Closing bug. |