Bug 144810

Summary: Flip the direction of the fence in scaleViewAndUpdateGeometryFenced
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, dino, mitz, sam, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch simon.fraser: review+

Description Tim Horton 2015-05-08 13:23:42 PDT
Flip the direction of the fence in scaleViewAndUpdateGeometryFenced
Comment 1 Tim Horton 2015-05-08 13:24:14 PDT
Created attachment 252740 [details]
Patch
Comment 2 WebKit Commit Bot 2015-05-08 13:26:10 PDT
Attachment 252740 [details] did not pass style-queue:


ERROR: Source/WebKit2/UIProcess/WebPageProxy.cpp:2251:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/WebPageProxy.h:656:  Extra space before ( in function call  [whitespace/parens] [4]
Total errors found: 2 in 13 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Simon Fraser (smfr) 2015-05-08 13:32:52 PDT
Comment on attachment 252740 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=252740&action=review

> Source/WebKit2/ChangeLog:20
> +        Note that you must setFencePort() with this port if you want the LayerHostingContext's
> +        CAContext to block on it!

This comment will go unnoticed here; it should be in the code.

> Source/WebKit2/UIProcess/WebPageProxy.h:1321
> +    void machSendRightCallback(const WebCore::MachSendRight&, uint64_t);

So sad we have all these untyped uint64_t.

> Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:89
> +    virtual void replyWithFenceAfterNextFlush(uint64_t callbackID) override;

If uint64_t were typed you wouldn't have to explain what it was.

> Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:152
> +    Vector<uint64_t> m_fenceCallbacksForAfterNextFlush;

:|

> Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:335
> +            for (uint64_t callbackID : m_fenceCallbacksForAfterNextFlush)

auto?
Comment 4 Tim Horton 2015-05-08 13:43:08 PDT
http://trac.webkit.org/changeset/184011
Comment 5 Tim Horton 2015-05-08 13:45:36 PDT
http://trac.webkit.org/changeset/184012
Comment 6 Tim Horton 2015-05-08 13:59:32 PDT
http://trac.webkit.org/changeset/184014
Comment 7 Tim Horton 2015-05-08 14:50:38 PDT
http://trac.webkit.org/changeset/184016