RESOLVED FIXED 103046
[TexMap] Remove dependency of TextureMapperLayer on GraphicsLayerTextureMapper.
https://bugs.webkit.org/show_bug.cgi?id=103046
Summary [TexMap] Remove dependency of TextureMapperLayer on GraphicsLayerTextureMapper.
Dongseong Hwang
Reported 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.
Attachments
Patch (26.45 KB, patch)
2012-11-22 03:12 PST, Dongseong Hwang
no flags
Patch (26.51 KB, patch)
2012-11-22 16:39 PST, Dongseong Hwang
no flags
Patch (26.51 KB, patch)
2012-11-22 18:20 PST, Dongseong Hwang
no flags
Patch (26.54 KB, patch)
2012-11-22 18:24 PST, Dongseong Hwang
no flags
Dongseong Hwang
Comment 1 2012-11-22 03:12:40 PST
EFL EWS Bot
Comment 2 2012-11-22 04:41:16 PST
Noam Rosenthal
Comment 3 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
Dongseong Hwang
Comment 4 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
Dongseong Hwang
Comment 5 2012-11-22 16:39:36 PST
EFL EWS Bot
Comment 6 2012-11-22 16:44:01 PST
Dongseong Hwang
Comment 7 2012-11-22 18:20:12 PST
EFL EWS Bot
Comment 8 2012-11-22 18:23:42 PST
Dongseong Hwang
Comment 9 2012-11-22 18:24:25 PST
Dongseong Hwang
Comment 10 2012-11-22 18:24:39 PST
fixed gtk and efl build fails.
WebKit Review Bot
Comment 11 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>
WebKit Review Bot
Comment 12 2012-11-23 08:52:10 PST
All reviewed patches have been landed. Closing bug.
Dongseong Hwang
Comment 13 2012-11-23 23:25:41 PST
This bug causes Assertion fail. I'm sorry. I'll file Bug 103171.
Note You need to log in before you can comment on or make changes to this bug.