Summary: | [chromium] Flip Y and swizzle inside compositeAndReadback implementation | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexandre Elias <aelias> | ||||||
Component: | New Bugs | Assignee: | Alexandre Elias <aelias> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aelias, alexst, cc-bugs, danakj, enne, jamesr, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Alexandre Elias
2012-09-11 19:16:12 PDT
Created attachment 163497 [details]
Patch
How come this doesn't require changing DumpRenderTree (since it does flipping too?) DumpRenderTree uses the WebViewImpl call; I have been testing this change by running DumpRenderTree. Comment on attachment 163497 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=163497&action=review DumpRenderTree uses WebViewImpl, so the total # of flips / swizzles should be the same for the GL path in DRT. > Source/WebCore/platform/graphics/chromium/cc/CCRendererGL.cpp:1177 > + int rowBytes = rect.width() * 4; size_t would be marginally more consistent with other code that does byte addressing (overflow isn't a realistic concern here, but consistency is still nice) (In reply to comment #3) > DumpRenderTree uses the WebViewImpl call; I have been testing this change by running DumpRenderTree. Ah I see, I thought it had some other flip in TestShell somewheres.. guess not! Thanks :) Created attachment 163525 [details]
Patch
Switched types to size_t
Comment on attachment 163525 [details] Patch Rejecting attachment 163525 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 ERROR: /mnt/git/webkit-commit-queue/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output: http://queues.webkit.org/results/13822632 Comment on attachment 163525 [details] Patch Clearing flags on attachment: 163525 Committed r128269: <http://trac.webkit.org/changeset/128269> All reviewed patches have been landed. Closing bug. |