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

Issue 23805002: [cc] Enable specifying a overhang/gutter texture. (Closed)

Created:
7 years, 3 months ago by ccameron
Modified:
7 years, 3 months ago
Reviewers:
jamesr, enne (OOO)
CC:
chromium-reviews, jam, apatrick_chromium, piman, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org
Visibility:
Public.

Description

[cc] Enable specifying a overhang/gutter texture. This is in contrast to drawing overhang region with the LTH's background color. Specify the texture to use through WebLayerTreeView. Use the UI resource framework to manage the upload of the linen texture. BUG=133097 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221276

Patch Set 1 #

Patch Set 2 : Fix spacing #

Patch Set 3 : Add unit test #

Patch Set 4 : Don't require Webkit patch #

Total comments: 18

Patch Set 5 : Incorporate review feedback #

Total comments: 4

Patch Set 6 : Incorporate review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -37 lines) Patch
M cc/resources/scoped_ui_resource.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M cc/resources/scoped_ui_resource.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 3 chunks +23 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 2 chunks +7 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 6 chunks +40 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 9 chunks +120 lines, -31 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ccameron
This hooks up the cc/ side of painting gutters with the linen texture. Before this ...
7 years, 3 months ago (2013-08-30 01:50:13 UTC) #1
enne (OOO)
This looks great. Could you also add some sort of testing so this doesn't regress ...
7 years, 3 months ago (2013-08-30 15:48:25 UTC) #2
ccameron
Thanks!! I've added a unit test that check the tex coords, etc. I don't have ...
7 years, 3 months ago (2013-08-30 22:30:33 UTC) #3
ccameron
Pinging this again in case it fell off the bottom of the the long weekend ...
7 years, 3 months ago (2013-09-03 21:46:25 UTC) #4
enne (OOO)
https://codereview.chromium.org/23805002/diff/12001/cc/resources/scoped_ui_resource.h File cc/resources/scoped_ui_resource.h (right): https://codereview.chromium.org/23805002/diff/12001/cc/resources/scoped_ui_resource.h#newcode25 cc/resources/scoped_ui_resource.h:25: gfx::Size GetSize(); const? https://codereview.chromium.org/23805002/diff/12001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/23805002/diff/12001/cc/trees/layer_tree_host.cc#newcode146 cc/trees/layer_tree_host.cc:146: ...
7 years, 3 months ago (2013-09-03 23:18:26 UTC) #5
ccameron
Thanks!! https://codereview.chromium.org/23805002/diff/12001/cc/resources/scoped_ui_resource.h File cc/resources/scoped_ui_resource.h (right): https://codereview.chromium.org/23805002/diff/12001/cc/resources/scoped_ui_resource.h#newcode25 cc/resources/scoped_ui_resource.h:25: gfx::Size GetSize(); On 2013/09/03 23:18:26, enne wrote: > ...
7 years, 3 months ago (2013-09-04 02:36:47 UTC) #6
jamesr
content/renderer/ lgtm https://codereview.chromium.org/23805002/diff/24001/content/renderer/gpu/render_widget_compositor.h File content/renderer/gpu/render_widget_compositor.h (right): https://codereview.chromium.org/23805002/diff/24001/content/renderer/gpu/render_widget_compositor.h#newcode73 content/renderer/gpu/render_widget_compositor.h:73: virtual void setOverhangBitmap(SkBitmap); in chromium style, all ...
7 years, 3 months ago (2013-09-04 03:08:32 UTC) #7
enne (OOO)
lgtm https://codereview.chromium.org/23805002/diff/24001/content/renderer/gpu/render_widget_compositor.h File content/renderer/gpu/render_widget_compositor.h (right): https://codereview.chromium.org/23805002/diff/24001/content/renderer/gpu/render_widget_compositor.h#newcode73 content/renderer/gpu/render_widget_compositor.h:73: virtual void setOverhangBitmap(SkBitmap); On 2013/09/04 03:08:32, jamesr wrote: ...
7 years, 3 months ago (2013-09-04 17:29:36 UTC) #8
ccameron
Thanks!! https://codereview.chromium.org/23805002/diff/24001/content/renderer/gpu/render_widget_compositor.h File content/renderer/gpu/render_widget_compositor.h (right): https://codereview.chromium.org/23805002/diff/24001/content/renderer/gpu/render_widget_compositor.h#newcode73 content/renderer/gpu/render_widget_compositor.h:73: virtual void setOverhangBitmap(SkBitmap); On 2013/09/04 03:08:32, jamesr wrote: ...
7 years, 3 months ago (2013-09-04 18:41:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/23805002/36001
7 years, 3 months ago (2013-09-04 18:42:06 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 21:35:15 UTC) #11
Message was sent while issue was closed.
Change committed as 221276

Powered by Google App Engine
This is Rietveld 408576698