Bug 103046 - [TexMap] Remove dependency of TextureMapperLayer on GraphicsLayerTextureMapper.
Summary: [TexMap] Remove dependency of TextureMapperLayer on GraphicsLayerTextureMapper.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dongseong Hwang
URL:
Keywords:
Depends on:
Blocks: 102994 103171 104640
  Show dependency treegraph
 
Reported: 2012-11-22 03:06 PST by Dongseong Hwang
Modified: 2012-12-10 23:48 PST (History)
5 users (show)

See Also:


Attachments
Patch (26.45 KB, patch)
2012-11-22 03:12 PST, Dongseong Hwang
no flags Details | Formatted Diff | Diff
Patch (26.51 KB, patch)
2012-11-22 16:39 PST, Dongseong Hwang
no flags Details | Formatted Diff | Diff
Patch (26.51 KB, patch)
2012-11-22 18:20 PST, Dongseong Hwang
no flags Details | Formatted Diff | Diff
Patch (26.54 KB, patch)
2012-11-22 18:24 PST, Dongseong Hwang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dongseong Hwang 2012-11-22 03:06:22 PST
It is a preparation patch for Threaded Coordinated Graphics on WK1.

We want to make TextureMapperLayer into an actor model. After making an actor
model, GraphicsLayerTextureMapper and LayerTreeRenderer will communicate with
TextureMapperLayer using message passing. In the first step, we want to hide
GraphicsLayerTextureMapper from TextureMapperLayer.

There are 2 kinds of dependencies of TextureMapperLayer in GraphicsLayerTextureMapper.
1. To query layer states
2. To paint layer contents

In this patch, we removed the second dependency. Currently, TextureMapperLayer
requests painting contents to GraphicsLayerTextureMapper in WK1 while
Coordinated Graphics prepares the contents in LayerTreeRenderer. This patch
makes WK1 prepare the contents in GraphicsLayerTextureMapper like
LayerTreeRenderer.

We will remove the first dependency in a follow-up patch.
Comment 1 Dongseong Hwang 2012-11-22 03:12:40 PST
Created attachment 175636 [details]
Patch
Comment 2 EFL EWS Bot 2012-11-22 04:41:16 PST
Comment on attachment 175636 [details]
Patch

Attachment 175636 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/14966333
Comment 3 Noam Rosenthal 2012-11-22 06:17:38 PST
Comment on attachment 175636 [details]
Patch

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

Looks really good! Seems like it's missing some Timer.h includes though :)

> Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:57
> +    , m_shouldManageBackingStore(true)

m_hasOwnBackingStore

> Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:475
> +

Empty line
Comment 4 Dongseong Hwang 2012-11-22 16:38:49 PST
(In reply to comment #3)
> (From update of attachment 175636 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=175636&action=review
> 
> Looks really good! Seems like it's missing some Timer.h includes though :)

Thanks for review! I just do as you said :) 
GraphicsLayerTextureMapper absolutely needs Timer.h, but it's interesting how only qt can build without Timer.h.

> 
> > Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:57
> > +    , m_shouldManageBackingStore(true)
> 
> m_hasOwnBackingStore

Done 

> 
> > Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:475
> > +
> 
> Empty line

Done
Comment 5 Dongseong Hwang 2012-11-22 16:39:36 PST
Created attachment 175715 [details]
Patch
Comment 6 EFL EWS Bot 2012-11-22 16:44:01 PST
Comment on attachment 175715 [details]
Patch

Attachment 175715 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/14964571
Comment 7 Dongseong Hwang 2012-11-22 18:20:12 PST
Created attachment 175722 [details]
Patch
Comment 8 EFL EWS Bot 2012-11-22 18:23:42 PST
Comment on attachment 175722 [details]
Patch

Attachment 175722 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/14967551
Comment 9 Dongseong Hwang 2012-11-22 18:24:25 PST
Created attachment 175724 [details]
Patch
Comment 10 Dongseong Hwang 2012-11-22 18:24:39 PST
fixed gtk and efl build fails.
Comment 11 WebKit Review Bot 2012-11-23 08:52:06 PST
Comment on attachment 175724 [details]
Patch

Clearing flags on attachment: 175724

Committed r135620: <http://trac.webkit.org/changeset/135620>
Comment 12 WebKit Review Bot 2012-11-23 08:52:10 PST
All reviewed patches have been landed.  Closing bug.
Comment 13 Dongseong Hwang 2012-11-23 23:25:41 PST
This bug causes Assertion fail. I'm sorry.

I'll file Bug 103171.