Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 11413123: cc: switch to new WebLayerTreeViewClient API for requesting font atlas (Closed)

Created:
8 years, 1 month ago by egraether
Modified:
8 years ago
Reviewers:
danakj, jamesr, piman
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org, nduca, jamesr
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

This change switches the compositor to the new WebLayerTreeViewClient::createFontAtlas() API. LayerTreeHost now manages whether a font atlas needs to be loaded. commit order: https://bugs.webkit.org/show_bug.cgi?id=102958 https://codereview.chromium.org/11413123 https://bugs.webkit.org/show_bug.cgi?id=102960 BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170614

Patch Set 1 #

Patch Set 2 : fixed WebKit tests for patch #1 #

Total comments: 6

Patch Set 3 : fixing aura, added show check #

Total comments: 1

Patch Set 4 : resolved nit #

Patch Set 5 : fixing tests #

Patch Set 6 : Rebase to LayerTreeDebugState #

Patch Set 7 : Fixing tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -31 lines) Patch
M cc/heads_up_display_layer.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M cc/heads_up_display_layer.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M cc/layer_tree_host.h View 1 2 3 4 5 4 chunks +1 line, -5 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 4 5 6 2 chunks +17 lines, -16 lines 2 comments Download
M cc/layer_tree_host_client.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test_common.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.h View 3 chunks +2 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.cc View 1 2 3 4 5 1 chunk +9 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jamesr
https://codereview.chromium.org/11413123/diff/2001/cc/heads_up_display_layer.h File cc/heads_up_display_layer.h (right): https://codereview.chromium.org/11413123/diff/2001/cc/heads_up_display_layer.h#newcode38 cc/heads_up_display_layer.h:38: bool m_hasFontAtlas; why do we need a bool? Can't ...
8 years ago (2012-11-27 21:07:43 UTC) #1
danakj
https://codereview.chromium.org/11413123/diff/2001/cc/heads_up_display_layer.h File cc/heads_up_display_layer.h (right): https://codereview.chromium.org/11413123/diff/2001/cc/heads_up_display_layer.h#newcode38 cc/heads_up_display_layer.h:38: bool m_hasFontAtlas; On 2012/11/27 21:07:44, jamesr wrote: > why ...
8 years ago (2012-11-27 21:26:14 UTC) #2
egraether
https://codereview.chromium.org/11413123/diff/2001/cc/heads_up_display_layer.h File cc/heads_up_display_layer.h (right): https://codereview.chromium.org/11413123/diff/2001/cc/heads_up_display_layer.h#newcode38 cc/heads_up_display_layer.h:38: bool m_hasFontAtlas; On 2012/11/27 21:26:14, danakj wrote: > On ...
8 years ago (2012-11-27 21:49:22 UTC) #3
piman
https://codereview.chromium.org/11413123/diff/2001/cc/layer_tree_host_client.h File cc/layer_tree_host_client.h (right): https://codereview.chromium.org/11413123/diff/2001/cc/layer_tree_host_client.h#newcode41 cc/layer_tree_host_client.h:41: virtual scoped_ptr<cc::FontAtlas> createFontAtlas() = 0; drive-by: you'll need to ...
8 years ago (2012-11-27 21:54:02 UTC) #4
jamesr
lgtm
8 years ago (2012-11-28 19:20:51 UTC) #5
piman
LGTM+nit https://codereview.chromium.org/11413123/diff/8002/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): https://codereview.chromium.org/11413123/diff/8002/ui/compositor/compositor.cc#newcode547 ui/compositor/compositor.cc:547: { nit: chrome style - '{' goes on ...
8 years ago (2012-11-28 19:25:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/egraether@chromium.org/11413123/3008
8 years ago (2012-11-28 19:43:35 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-11-28 20:05:22 UTC) #8
egraether
I rebased this patch to the LayerTreeDebugState patch I landed yesterday (https://codereview.chromium.org/11414017/). Some parts in ...
8 years ago (2012-11-30 21:27:55 UTC) #9
jamesr
lgtm
8 years ago (2012-11-30 22:10:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/egraether@chromium.org/11413123/2006
8 years ago (2012-11-30 22:26:34 UTC) #11
commit-bot: I haz the power
8 years ago (2012-12-01 00:42:42 UTC) #12
Message was sent while issue was closed.
Change committed as 170614

Powered by Google App Engine
This is Rietveld 408576698