RESOLVED FIXED147621
[CoordinatedGraphics] Remove unused functions in Coordinated TiledBackingStore
https://bugs.webkit.org/show_bug.cgi?id=147621
Summary [CoordinatedGraphics] Remove unused functions in Coordinated TiledBackingStore
Gyuyoung Kim
Reported 2015-08-04 00:50:33 PDT
I think we don't need to update tile size when new size is same with exist size.
Attachments
Patch (1.53 KB, patch)
2015-08-04 00:51 PDT, Gyuyoung Kim
no flags
Patch (2.17 KB, patch)
2015-08-06 06:58 PDT, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2015-08-04 00:51:38 PDT
Csaba Osztrogonác
Comment 2 2015-08-04 03:25:36 PDT
(In reply to comment #0) > I think we don't need to update tile size when new size is same with exist > size. Does this case happen frequently?
Gyuyoung Kim
Comment 3 2015-08-04 19:44:14 PDT
(In reply to comment #2) > (In reply to comment #0) > > I think we don't need to update tile size when new size is same with exist > > size. > > Does this case happen frequently? This case doesn't happen frequently honestly. But it seems to me that it would be good if this condition is added.
Gyuyoung Kim
Comment 4 2015-08-05 18:09:03 PDT
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #0) > > > I think we don't need to update tile size when new size is same with exist > > > size. > > > > Does this case happen frequently? > > This case doesn't happen frequently honestly. But it seems to me that it > would be good if this condition is added. Ossy ping ?
Csaba Osztrogonác
Comment 5 2015-08-06 04:35:19 PDT
Comment on attachment 258163 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=258163&action=review > Source/WebCore/platform/graphics/texmap/coordinated/TiledBackingStore.cpp:58 > void TiledBackingStore::setTileSize(const IntSize& size) > { > + if (m_tileSize == size) > + return; > + > m_tileSize = size; > m_tiles.clear(); > } It seems setTileSize() is an unused function now and can be removed. :) Or do you plan to push patches in the future which rely on its functionality?
Gyuyoung Kim
Comment 6 2015-08-06 06:58:44 PDT
Gyuyoung Kim
Comment 7 2015-08-06 06:59:57 PDT
(In reply to comment #5) > Comment on attachment 258163 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=258163&action=review > > > Source/WebCore/platform/graphics/texmap/coordinated/TiledBackingStore.cpp:58 > > void TiledBackingStore::setTileSize(const IntSize& size) > > { > > + if (m_tileSize == size) > > + return; > > + > > m_tileSize = size; > > m_tiles.clear(); > > } > > It seems setTileSize() is an unused function now and can be removed. :) > Or do you plan to push patches in the future which rely on its functionality? Ok, let's remove it.
WebKit Commit Bot
Comment 8 2015-08-06 10:58:25 PDT
Comment on attachment 258363 [details] Patch Clearing flags on attachment: 258363 Committed r188046: <http://trac.webkit.org/changeset/188046>
WebKit Commit Bot
Comment 9 2015-08-06 10:58:30 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.