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

Issue 11308153: Migrate most of cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed)

Created:
8 years, 1 month ago by shawnsingh
Modified:
8 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Animation code is not yet migrated by this patch, due to WebTransformOperations. BUG=159972 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=169609

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebased to tip of tree and addressed feedback #

Total comments: 21

Patch Set 3 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1581 lines, -1634 lines) Patch
M cc/animation_curve.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/damage_tracker.cc View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M cc/damage_tracker_unittest.cc View 1 2 5 chunks +13 lines, -13 lines 0 comments Download
M cc/delegated_renderer_layer_impl_unittest.cc View 1 2 9 chunks +24 lines, -25 lines 0 comments Download
M cc/direct_renderer.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M cc/direct_renderer.cc View 1 2 3 chunks +18 lines, -20 lines 0 comments Download
M cc/draw_quad.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/draw_quad_unittest.cc View 1 2 4 chunks +5 lines, -6 lines 0 comments Download
M cc/float_quad_unittest.cc View 1 2 2 chunks +23 lines, -25 lines 0 comments Download
M cc/gl_renderer.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 10 chunks +21 lines, -37 lines 0 comments Download
M cc/gl_renderer_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/heads_up_display_layer.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layer.h View 1 9 chunks +21 lines, -20 lines 0 comments Download
M cc/layer.cc View 1 2 5 chunks +5 lines, -6 lines 0 comments Download
M cc/layer_animation_controller.h View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/layer_animation_controller.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M cc/layer_animation_controller_unittest.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M cc/layer_impl.h View 1 9 chunks +18 lines, -18 lines 0 comments Download
M cc/layer_impl.cc View 1 2 7 chunks +11 lines, -13 lines 0 comments Download
M cc/layer_impl_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layer_iterator_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M cc/layer_sorter.h View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layer_sorter.cc View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M cc/layer_sorter_unittest.cc View 1 2 8 chunks +47 lines, -49 lines 0 comments Download
M cc/layer_tree_host.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M cc/layer_tree_host_common.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layer_tree_host_common.cc View 1 2 26 chunks +83 lines, -84 lines 0 comments Download
M cc/layer_tree_host_common_unittest.cc View 1 2 138 chunks +494 lines, -508 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 6 chunks +10 lines, -12 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 37 chunks +91 lines, -72 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 11 chunks +28 lines, -28 lines 0 comments Download
M cc/layer_unittest.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M cc/math_util.h View 1 2 4 chunks +14 lines, -20 lines 0 comments Download
M cc/math_util.cc View 1 2 15 chunks +53 lines, -61 lines 0 comments Download
M cc/math_util_unittest.cc View 1 2 31 chunks +130 lines, -132 lines 0 comments Download
M cc/nine_patch_layer_impl_unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M cc/occlusion_tracker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/occlusion_tracker.cc View 1 2 9 chunks +12 lines, -13 lines 0 comments Download
M cc/occlusion_tracker_unittest.cc View 1 2 33 chunks +105 lines, -104 lines 0 comments Download
M cc/overdraw_metrics.h View 3 chunks +4 lines, -7 lines 0 comments Download
M cc/overdraw_metrics.cc View 1 2 5 chunks +5 lines, -7 lines 0 comments Download
M cc/quad_culler.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/quad_culler_unittest.cc View 1 2 21 chunks +42 lines, -44 lines 0 comments Download
M cc/render_pass.h View 4 chunks +7 lines, -6 lines 0 comments Download
M cc/render_pass.cc View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M cc/render_pass_unittest.cc View 1 2 4 chunks +7 lines, -6 lines 0 comments Download
M cc/render_surface.h View 1 3 chunks +16 lines, -15 lines 0 comments Download
M cc/render_surface.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M cc/render_surface_impl.h View 1 3 chunks +13 lines, -13 lines 0 comments Download
M cc/render_surface_impl.cc View 1 2 3 chunks +6 lines, -8 lines 0 comments Download
M cc/render_surface_unittest.cc View 1 2 5 chunks +9 lines, -11 lines 0 comments Download
M cc/shared_quad_state.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M cc/shared_quad_state.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/software_renderer.cc View 1 2 3 chunks +18 lines, -17 lines 0 comments Download
M cc/software_renderer_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M cc/solid_color_layer_impl.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/solid_color_layer_impl.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M cc/stream_video_draw_quad.h View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/stream_video_draw_quad.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/animation_test_common.h View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/test/animation_test_common.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/geometry_test_utils.h View 2 chunks +7 lines, -0 lines 0 comments Download
M cc/test/geometry_test_utils.cc View 1 2 2 chunks +28 lines, -1 line 0 comments Download
M cc/test/render_pass_test_common.cc View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M cc/thread_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/tiled_layer.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M cc/tiled_layer_impl.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/tiled_layer_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/tiled_layer_unittest.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M cc/video_layer_impl.h View 3 chunks +4 lines, -3 lines 0 comments Download
M cc/video_layer_impl.cc View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M content/common/cc_messages.h View 1 2 chunks +6 lines, -3 lines 0 comments Download
M content/common/cc_messages.cc View 1 3 chunks +66 lines, -62 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/compositor_bindings/web_layer_impl.cc View 2 chunks +10 lines, -42 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
shawnsingh
vollick@ kindly agreed to take a look at this patch. danakj@ and enne@ as owners ...
8 years, 1 month ago (2012-11-21 21:27:03 UTC) #1
shawnsingh
Just to give some context to this patch: 1. vollick has some gfx::Transform API cleanups ...
8 years, 1 month ago (2012-11-21 21:32:02 UTC) #2
Ian Vollick
I had to run before I could finish my review, but here are the things ...
8 years, 1 month ago (2012-11-21 22:07:09 UTC) #3
danakj
cc/layer_tree_host_impl_unittest.cc:4516:5: note: in instantiation of function template specialization 'testing::internal::EqHelper<false>::Compare<WebKit::WebTransformationMatrix, gfx::Transform>' requested here EXPECT_EQ(expectedImplTransform, m_hostImpl->rootLayer()->implTransform()); One ...
8 years, 1 month ago (2012-11-22 01:06:00 UTC) #4
shawnsingh
Next patch is rebased to tip of tree, addressed reviewer feedback. Main change between this ...
8 years, 1 month ago (2012-11-23 08:10:45 UTC) #5
piman
LGTM for content/ and ui/compositor/
8 years, 1 month ago (2012-11-23 17:11:15 UTC) #6
danakj
Some nitty things. And please s/Transform/gfx::Transform/ everywhere, and make sure there's no case of "using ...
8 years, 1 month ago (2012-11-24 02:34:54 UTC) #7
shawnsingh
danakj@ - one quick question and two responses. Will wait for your reply before landing. ...
8 years, 1 month ago (2012-11-24 02:56:14 UTC) #8
danakj
https://codereview.chromium.org/11308153/diff/3003/cc/layer_impl.cc File cc/layer_impl.cc (right): https://codereview.chromium.org/11308153/diff/3003/cc/layer_impl.cc#newcode311 cc/layer_impl.cc:311: m_drawTransform.matrix().getDouble(0, 0), m_drawTransform.matrix().getDouble(1, 0), m_drawTransform.matrix().getDouble(2, 0), m_drawTransform.matrix().getDouble(3, 0), On ...
8 years, 1 month ago (2012-11-24 03:20:08 UTC) #9
danakj
https://codereview.chromium.org/11308153/diff/3003/cc/layer_impl.cc File cc/layer_impl.cc (right): https://codereview.chromium.org/11308153/diff/3003/cc/layer_impl.cc#newcode311 cc/layer_impl.cc:311: m_drawTransform.matrix().getDouble(0, 0), m_drawTransform.matrix().getDouble(1, 0), m_drawTransform.matrix().getDouble(2, 0), m_drawTransform.matrix().getDouble(3, 0), On ...
8 years, 1 month ago (2012-11-24 03:24:11 UTC) #10
Ian Vollick
On 2012/11/24 03:24:11, danakj wrote: > https://codereview.chromium.org/11308153/diff/3003/cc/layer_impl.cc > File cc/layer_impl.cc (right): > > https://codereview.chromium.org/11308153/diff/3003/cc/layer_impl.cc#newcode311 > ...
8 years ago (2012-11-24 04:47:27 UTC) #11
Ian Vollick
On 2012/11/23 08:10:45, shawnsingh wrote: > Next patch is rebased to tip of tree, addressed ...
8 years ago (2012-11-24 04:54:41 UTC) #12
shawnsingh
On 2012/11/24 03:24:11, danakj wrote: > > Ya, It used to output in or order, ...
8 years ago (2012-11-24 06:27:04 UTC) #13
shawnsingh
Enne@ can you please review the webkit/compositor_bindings changes? Thanks in advance. After getting that final ...
8 years ago (2012-11-25 21:11:16 UTC) #14
enne (OOO)
webkit/compositor_bindings lgtm (It seems like gfx::Transform should have an SkMatrix44 ctor, but maybe that's just ...
8 years ago (2012-11-26 14:49:19 UTC) #15
danakj
On 2012/11/26 14:49:19, enne wrote: > webkit/compositor_bindings lgtm > > (It seems like gfx::Transform should ...
8 years ago (2012-11-26 16:57:51 UTC) #16
shawnsingh
Hi Ben, it looks like I might need your approval for the content/common changes. can ...
8 years ago (2012-11-27 01:06:32 UTC) #17
piman
content/common LGTM. I'm OWNER, however you'll need security folks to review the cc_messages.h changes.
8 years ago (2012-11-27 01:10:05 UTC) #18
shawnsingh
Oh ok, thanks. I was just blindly following presubmit checks. +tsepez, I believe he reviewed ...
8 years ago (2012-11-27 01:19:50 UTC) #19
Tom Sepez
LGTM on messages.
8 years ago (2012-11-27 02:36:22 UTC) #20
Ben Goodger (Google)
8 years ago (2012-11-27 16:38:45 UTC) #21
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698