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

Issue 11175009: Implement SkImageFilter support in the compositor. (Closed)

Created:
8 years, 2 months ago by Stephen White
Modified:
8 years, 2 months ago
Reviewers:
danakj, jamesr
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org, aelias_OOO_until_Jul13, slavi, piman
Visibility:
Public.

Description

Implement SkImageFilter support in the compositor. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163507

Patch Set 1 #

Patch Set 2 : Add TODOs; comment out OVERRIDE. #

Total comments: 19

Patch Set 3 : Changes re: review comments #

Patch Set 4 : Fix damage tracker issues #

Patch Set 5 : Updated to ToT #

Total comments: 8

Patch Set 6 : Add damage tracker test, fix braces, include order. #

Total comments: 9

Patch Set 7 : Fix damage filter unit test to damage child, not parent, and test both. #

Total comments: 2

Patch Set 8 : add asserts, fix skia include paths, refactor filter context creation. #

Patch Set 9 : setFilter() and setFilters() are now mutually exclusive; make sure the test respects that. #

Patch Set 10 : Updated to ToT (past the Great Renaming) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -13 lines) Patch
M cc/damage_tracker.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M cc/damage_tracker.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -2 lines 0 comments Download
M cc/damage_tracker_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +34 lines, -2 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 5 chunks +79 lines, -4 lines 0 comments Download
M cc/layer.h View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -0 lines 0 comments Download
M cc/layer.cc View 1 2 3 4 5 6 7 8 9 6 chunks +17 lines, -0 lines 0 comments Download
M cc/layer_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M cc/layer_impl.cc View 1 2 3 4 5 6 7 8 9 5 chunks +14 lines, -0 lines 0 comments Download
M cc/layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -0 lines 0 comments Download
M cc/layer_tree_host_common.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/occlusion_tracker.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M cc/render_pass.h View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -0 lines 0 comments Download
M cc/render_pass.cc View 1 2 3 4 5 6 7 8 9 5 chunks +8 lines, -0 lines 0 comments Download
M cc/render_pass_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -0 lines 0 comments Download
M cc/render_surface_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M webkit/compositor_bindings/web_layer_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_layer_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Stephen White
PTAL. For the threaded compositor case, according to my read of SkRefCnt.h (and confirming with ...
8 years, 2 months ago (2012-10-19 18:49:58 UTC) #1
jamesr
Is SkImageFilter supposed to be instead of or in addition to the existing filters property? ...
8 years, 2 months ago (2012-10-19 19:15:30 UTC) #2
danakj
http://codereview.chromium.org/11175009/diff/2001/cc/gl_renderer.cc File cc/gl_renderer.cc (right): http://codereview.chromium.org/11175009/diff/2001/cc/gl_renderer.cc#newcode26 cc/gl_renderer.cc:26: #include "SkGrTexturePixelRef.h" nit: sorting http://codereview.chromium.org/11175009/diff/2001/cc/gl_renderer.cc#newcode352 cc/gl_renderer.cc:352: static SkBitmap applyFilter(CCRendererGL* ...
8 years, 2 months ago (2012-10-19 19:34:24 UTC) #3
Stephen White
http://codereview.chromium.org/11175009/diff/2001/cc/gl_renderer.cc File cc/gl_renderer.cc (right): http://codereview.chromium.org/11175009/diff/2001/cc/gl_renderer.cc#newcode26 cc/gl_renderer.cc:26: #include "SkGrTexturePixelRef.h" On 2012/10/19 19:34:24, danakj wrote: > nit: ...
8 years, 2 months ago (2012-10-19 21:34:50 UTC) #4
danakj
On Fri, Oct 19, 2012 at 5:34 PM, <senorblanco@chromium.org> wrote: > Could you check if ...
8 years, 2 months ago (2012-10-20 00:16:20 UTC) #5
Stephen White
On 2012/10/19 19:15:30, jamesr wrote: > Is SkImageFilter supposed to be instead of or in ...
8 years, 2 months ago (2012-10-20 00:18:27 UTC) #6
Stephen White
On 2012/10/19 19:15:30, jamesr wrote: > Is SkImageFilter supposed to be instead of or in ...
8 years, 2 months ago (2012-10-20 00:19:57 UTC) #7
Stephen White
On 2012/10/20 00:16:20, danakj wrote: > On Fri, Oct 19, 2012 at 5:34 PM, <mailto:senorblanco@chromium.org> ...
8 years, 2 months ago (2012-10-22 16:10:41 UTC) #8
danakj
http://codereview.chromium.org/11175009/diff/19/cc/damage_tracker.cc File cc/damage_tracker.cc (right): http://codereview.chromium.org/11175009/diff/19/cc/damage_tracker.cc#newcode139 cc/damage_tracker.cc:139: else if (filter) nit: add braces {} http://codereview.chromium.org/11175009/diff/19/cc/damage_tracker_unittest.cc File ...
8 years, 2 months ago (2012-10-22 18:00:43 UTC) #9
Stephen White
PTAL http://codereview.chromium.org/11175009/diff/19/cc/damage_tracker.cc File cc/damage_tracker.cc (right): http://codereview.chromium.org/11175009/diff/19/cc/damage_tracker.cc#newcode139 cc/damage_tracker.cc:139: else if (filter) On 2012/10/22 18:00:43, danakj wrote: ...
8 years, 2 months ago (2012-10-22 18:51:00 UTC) #10
danakj
http://codereview.chromium.org/11175009/diff/19/cc/render_pass.h File cc/render_pass.h (right): http://codereview.chromium.org/11175009/diff/19/cc/render_pass.h#newcode117 cc/render_pass.h:117: SkImageFilter* m_filter; On 2012/10/22 18:51:00, Stephen White wrote: > ...
8 years, 2 months ago (2012-10-22 18:56:02 UTC) #11
danakj
+piman FYI for renderpass serialization.
8 years, 2 months ago (2012-10-22 18:56:27 UTC) #12
jamesr
lgtm http://codereview.chromium.org/11175009/diff/1048/cc/damage_tracker.cc File cc/damage_tracker.cc (right): http://codereview.chromium.org/11175009/diff/1048/cc/damage_tracker.cc#newcode139 cc/damage_tracker.cc:139: } else if (filter) { Why is this ...
8 years, 2 months ago (2012-10-22 19:14:17 UTC) #13
danakj
lgtm also, thanks for the test!
8 years, 2 months ago (2012-10-22 19:15:43 UTC) #14
Stephen White
http://codereview.chromium.org/11175009/diff/1048/cc/damage_tracker.cc File cc/damage_tracker.cc (right): http://codereview.chromium.org/11175009/diff/1048/cc/damage_tracker.cc#newcode139 cc/damage_tracker.cc:139: } else if (filter) { On 2012/10/22 19:14:17, jamesr ...
8 years, 2 months ago (2012-10-22 20:11:20 UTC) #15
danakj
http://codereview.chromium.org/11175009/diff/1048/cc/damage_tracker.cc File cc/damage_tracker.cc (right): http://codereview.chromium.org/11175009/diff/1048/cc/damage_tracker.cc#newcode139 cc/damage_tracker.cc:139: } else if (filter) { On 2012/10/22 20:11:20, Stephen ...
8 years, 2 months ago (2012-10-22 20:12:45 UTC) #16
Stephen White
http://codereview.chromium.org/11175009/diff/1048/cc/damage_tracker.cc File cc/damage_tracker.cc (right): http://codereview.chromium.org/11175009/diff/1048/cc/damage_tracker.cc#newcode139 cc/damage_tracker.cc:139: } else if (filter) { On 2012/10/22 20:12:46, danakj ...
8 years, 2 months ago (2012-10-22 21:13:56 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/senorblanco@chromium.org/11175009/13020
8 years, 2 months ago (2012-10-22 21:18:18 UTC) #18
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests, interactive_ui_tests, sync_integration_tests
8 years, 2 months ago (2012-10-22 23:37:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/senorblanco@chromium.org/11175009/9012
8 years, 2 months ago (2012-10-23 02:46:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/senorblanco@chromium.org/11175009/9012
8 years, 2 months ago (2012-10-23 02:48:49 UTC) #21
commit-bot: I haz the power
8 years, 2 months ago (2012-10-23 04:45:47 UTC) #22
Change committed as 163507

Powered by Google App Engine
This is Rietveld 408576698