Bug 133942 - [UI-side compositing] fix reflections on composited layers
Summary: [UI-side compositing] fix reflections on composited layers
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: 2014-06-16 08:39 PDT by Simon Fraser (smfr)
Modified: 2014-06-17 14:07 PDT (History)
10 users (show)

See Also:


Attachments
WIP patch (28.39 KB, patch)
2014-06-16 08:40 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (33.74 KB, patch)
2014-06-16 22:02 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (35.65 KB, patch)
2014-06-17 10:06 PDT, Simon Fraser (smfr)
thorton: 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) 2014-06-16 08:39:38 PDT
[UI-side compositing] fix reflections on composited layers
Comment 1 Simon Fraser (smfr) 2014-06-16 08:40:11 PDT
Created attachment 233161 [details]
WIP patch
Comment 2 Simon Fraser (smfr) 2014-06-16 22:02:34 PDT
Created attachment 233217 [details]
Patch
Comment 3 Gyuyoung Kim 2014-06-17 03:06:49 PDT
FYI, efl-wk2 ews is false alarm. I succeed to build WebKit EFL2 with this patch locally.
Comment 4 Simon Fraser (smfr) 2014-06-17 10:06:49 PDT
Created attachment 233236 [details]
Patch
Comment 5 Tim Horton 2014-06-17 11:47:55 PDT
Comment on attachment 233236 [details]
Patch

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

> Source/WebCore/ChangeLog:12
> +        This layer may be told that its content need updating out of order during

contents

> Source/WebCore/ChangeLog:16
> +        In the UI process, a new step is added to emoteLayerTreeHost::updateLayerTree()

*Re*mote

> Source/WebCore/platform/graphics/ca/mac/PlatformCALayerMac.mm:330
> +    CALayer* caLayer = layer->m_layer.get();

star on the wrong side. isn't there a platformLayer getter, too?

> Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:201
> +        m_context->layerPropertyChangedInTransactionBuilding(this);

WhileBuildingTransaction?
Comment 6 Simon Fraser (smfr) 2014-06-17 14:07:26 PDT
https://trac.webkit.org/r170071