Bug 124317 - Expose a private flag on WKView to indicate whether it's using a remote layer tree drawing area
Summary: Expose a private flag on WKView to indicate whether it's using a remote layer...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-13 15:39 PST by Simon Fraser (smfr)
Modified: 2013-11-13 16:46 PST (History)
4 users (show)

See Also:


Attachments
Patch (2.12 KB, patch)
2013-11-13 15:39 PST, Simon Fraser (smfr)
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2013-11-13 15:39:02 PST
Expose a private flag on WKView to indicate whether it's using a remote layer tree drawing area
Comment 1 Simon Fraser (smfr) 2013-11-13 15:39:57 PST
Created attachment 216875 [details]
Patch
Comment 2 Anders Carlsson 2013-11-13 15:44:22 PST
Comment on attachment 216875 [details]
Patch

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

> Source/WebKit2/ChangeLog:9
> +        Expose isUsingUISideCompositing on WKView in the private header,
> +        which returns YES if the view is using a DrawingAreaTypeRemoteLayerTree.

Why?
Comment 3 Simon Fraser (smfr) 2013-11-13 15:52:05 PST
https://trac.webkit.org/r159254
Comment 4 mitz 2013-11-13 16:24:38 PST
Comment on attachment 216875 [details]
Patch

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

> Source/WebKit2/UIProcess/API/mac/WKViewPrivate.h:67
> +@property (readonly) BOOL isUsingUISideCompositing;

Normally the property name omits the “is”:
@property (readonly, getter=isUsingUISideCompositing) BOOL usingUISideCompositing;
Comment 5 Simon Fraser (smfr) 2013-11-13 16:46:32 PST
Tweaked in https://trac.webkit.org/changeset/159262