WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
133337
[EFL][CoordinatedGraphics] Remove CoordinatedTileClient and CoordinatedTileBackend
https://bugs.webkit.org/show_bug.cgi?id=133337
Summary
[EFL][CoordinatedGraphics] Remove CoordinatedTileClient and CoordinatedTileBa...
Ryuan Choi
Reported
2014-05-27 21:52:11 PDT
Both CoordinatedTileClient and TiledBackingStore::Client are implemented by CoordinatedGraphicsLayer. So, I suggest to simplify them by removing CoordinatedTileClient.
Attachments
Patch
(11.30 KB, patch)
2014-05-27 22:01 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(11.13 KB, patch)
2015-02-25 18:53 PST
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(15.28 KB, patch)
2015-05-26 05:29 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Ryuan Choi
Comment 1
2014-05-27 22:01:02 PDT
Created
attachment 232168
[details]
Patch
Hyowon Kim
Comment 2
2014-05-27 22:28:56 PDT
Your patch replaces CoordinatedTileClient with CoordinatedTiledBackingStoreClient inherited from TiledBackingStoreClient. But we don't have a CoordinatedTiledBackingStore class. I'm not sure this is a proper approach.
Ryuan Choi
Comment 3
2014-05-28 00:06:20 PDT
(In reply to
comment #2
)
> Your patch replaces CoordinatedTileClient with CoordinatedTiledBackingStoreClient inherited from TiledBackingStoreClient. > But we don't have a CoordinatedTiledBackingStore class. > I'm not sure this is a proper approach.
Right. I can't find similar cases in WebKit. Although there are some examples which extends Client (TrackPrivateBaseClient and InbandTextTrackPrivateClient), they also have instances. I can make CoordinatedTiledBackingStore, but I think that it looks bit weird. In my understanding, CoordinatedGraphicsLayer uses the extension of TiledBackingStore system, especially Tile and callbacks of TiledBackingStore. By the way, TiledBackingStore is now only used for Coordinated Graphics system. So, another suggestion is merging these extension into TiledBackingStore.
Ryuan Choi
Comment 4
2014-05-28 20:39:56 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > > Your patch replaces CoordinatedTileClient with CoordinatedTiledBackingStoreClient inherited from TiledBackingStoreClient. > > But we don't have a CoordinatedTiledBackingStore class. > > I'm not sure this is a proper approach. > > Right. > I can't find similar cases in WebKit. > Although there are some examples which extends Client (TrackPrivateBaseClient and InbandTextTrackPrivateClient), they also have instances. > > I can make CoordinatedTiledBackingStore, but I think that it looks bit weird. > > In my understanding, CoordinatedGraphicsLayer uses the extension of TiledBackingStore system, especially Tile and callbacks of TiledBackingStore. > > > By the way, TiledBackingStore is now only used for Coordinated Graphics system. > > So, another suggestion is merging these extension into TiledBackingStore.
Although I removed at
Bug 133341
, DocumentThreadableLoaderClient inherit ThreadableLoaderClient like CoordinatedTiledBackingStoreClient. (It was dead code since chromium port is out) Another suggestion, which merges CoordinatedTiledBackingStoreClient to TiledBackingStoreClient, looks not simple because Atlas and CoordinatedSurface and CoordinatedTile::Client are tightly coupled. In my analyzing, it requires the changes of callback structure so I want to do it in another bug.
Hyowon Kim
Comment 5
2014-05-28 21:25:34 PDT
(In reply to
comment #4
)
> (In reply to
comment #3
) > > (In reply to
comment #2
) > > > Your patch replaces CoordinatedTileClient with CoordinatedTiledBackingStoreClient inherited from TiledBackingStoreClient. > > > But we don't have a CoordinatedTiledBackingStore class. > > > I'm not sure this is a proper approach. > > > > Right. > > I can't find similar cases in WebKit. > > Although there are some examples which extends Client (TrackPrivateBaseClient and InbandTextTrackPrivateClient), they also have instances. > > > > I can make CoordinatedTiledBackingStore, but I think that it looks bit weird. > > > > In my understanding, CoordinatedGraphicsLayer uses the extension of TiledBackingStore system, especially Tile and callbacks of TiledBackingStore. > > > > > > By the way, TiledBackingStore is now only used for Coordinated Graphics system. > > > > So, another suggestion is merging these extension into TiledBackingStore. > > Although I removed at
Bug 133341
, DocumentThreadableLoaderClient inherit ThreadableLoaderClient like CoordinatedTiledBackingStoreClient. > (It was dead code since chromium port is out) > > Another suggestion, which merges CoordinatedTiledBackingStoreClient to TiledBackingStoreClient, looks not simple because Atlas and CoordinatedSurface and CoordinatedTile::Client are tightly coupled. > > In my analyzing, it requires the changes of callback structure so I want to do it in another bug.
To extend TiledBackingStoreClient looks better than to add CoordinatedTiledBackingStoreClient. And I think the rename of interfaces in CoordinatedTileClient is also needed when merging them into TiledBackingStoreClient.
Ryuan Choi
Comment 6
2014-06-02 01:26:20 PDT
yoon, could you take a loot at this?
Gyuyoung Kim
Comment 7
2015-02-03 07:34:35 PST
Ryuan, is this patch still valid for EFL port ?
Ryuan Choi
Comment 8
2015-02-25 18:53:23 PST
Created
attachment 247389
[details]
Patch
Ryuan Choi
Comment 9
2015-02-25 19:00:15 PST
(In reply to
comment #7
)
> Ryuan, is this patch still valid for EFL port ?
Sure, this is just a kind of clean up. I rebased. I think that TiledBackingStore is now just a part of Coordinated Graphics. So, I think that we can simplify them more.
Ryuan Choi
Comment 10
2015-05-26 05:29:30 PDT
Created
attachment 253704
[details]
Patch
WebKit Commit Bot
Comment 11
2015-05-26 14:39:14 PDT
Comment on
attachment 253704
[details]
Patch Clearing flags on attachment: 253704 Committed
r184876
: <
http://trac.webkit.org/changeset/184876
>
WebKit Commit Bot
Comment 12
2015-05-26 14:39:23 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug