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

Issue 12328098: cc: Moving anti-aliasing decision to parent compositor. (Closed)

Created:
7 years, 9 months ago by ernstm
Modified:
7 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@solidaa
Visibility:
Public.

Description

cc: Moving anti-aliasing decision to parent compositor. Changed edge antialiasing flags in TileDrawQuad to edge flags and moved to SharedQuadState. The quad cannot tell anymore if it needs antialiasing or not. The renderer will make that decision. Moved blending decision from GLRenderer::drawQuad to GLRenderer::draw*Quad functions. BUG=169163 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185934

Patch Set 1 #

Patch Set 2 : Fixed indentation #

Patch Set 3 : More indentation fixes #

Total comments: 27

Patch Set 4 : Made changes requested in message #2 #

Total comments: 4

Patch Set 5 : Addressed change request from message #6 (updated unit tests). #

Total comments: 2

Patch Set 6 : Added missing comparison of SharedQuadState::content_bounds to unit test. #

Patch Set 7 : Rebase to tip of tree #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -143 lines) Patch
M cc/delegated_renderer_layer_impl_unittest.cc View 1 2 3 4 8 chunks +14 lines, -2 lines 0 comments Download
M cc/draw_quad.h View 1 2 3 4 5 6 2 chunks +27 lines, -0 lines 0 comments Download
M cc/draw_quad_unittest.cc View 1 2 3 4 5 6 4 chunks +9 lines, -21 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 3 13 chunks +31 lines, -12 lines 0 comments Download
M cc/gl_renderer_pixeltest.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layer_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M cc/picture_layer_impl.cc View 1 2 3 4 5 6 3 chunks +1 line, -11 lines 0 comments Download
M cc/render_pass_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/render_surface_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/shared_quad_state.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M cc/shared_quad_state.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/software_renderer_unittest.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M cc/test/render_pass_test_common.cc View 1 2 3 4 4 chunks +1 line, -12 lines 0 comments Download
M cc/test/render_pass_test_utils.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M cc/tile_draw_quad.h View 1 2 3 4 5 6 2 chunks +2 lines, -21 lines 0 comments Download
M cc/tile_draw_quad.cc View 1 2 3 4 5 6 4 chunks +3 lines, -26 lines 0 comments Download
M cc/tiled_layer_impl.cc View 1 chunk +1 line, -11 lines 0 comments Download
M content/common/cc_messages.h View 1 2 3 4 5 6 2 chunks +1 line, -4 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 1 2 3 4 5 6 7 chunks +5 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
ernstm
7 years, 9 months ago (2013-02-26 00:53:58 UTC) #1
reveman
https://codereview.chromium.org/12328098/diff/4013/cc/draw_quad.h File cc/draw_quad.h (right): https://codereview.chromium.org/12328098/diff/4013/cc/draw_quad.h#newcode75 cc/draw_quad.h:75: // Is the left edge of this tile aligned ...
7 years, 9 months ago (2013-02-26 01:49:28 UTC) #2
ernstm
Made changes requested in message #2. https://codereview.chromium.org/12328098/diff/4013/cc/draw_quad.h File cc/draw_quad.h (right): https://codereview.chromium.org/12328098/diff/4013/cc/draw_quad.h#newcode75 cc/draw_quad.h:75: // Is the ...
7 years, 9 months ago (2013-02-26 18:10:56 UTC) #3
reveman
lgtm aelias, this causes subtle change to the software renderer output as we no longer ...
7 years, 9 months ago (2013-02-26 20:17:25 UTC) #4
aelias_OOO_until_Jul13
I understand Slavi rebaselined the software renderer layout tests to not expect exactly the same ...
7 years, 9 months ago (2013-02-26 20:26:27 UTC) #5
danakj
https://codereview.chromium.org/12328098/diff/4015/cc/shared_quad_state.h File cc/shared_quad_state.h (right): https://codereview.chromium.org/12328098/diff/4015/cc/shared_quad_state.h#newcode23 cc/shared_quad_state.h:23: const gfx::Size& content_bounds, nit: pass gfx::Size by value (also ...
7 years, 9 months ago (2013-02-26 20:26:29 UTC) #6
ernstm
Updated unit tests. Passes gfx::Size by value. https://codereview.chromium.org/12328098/diff/4015/cc/shared_quad_state.h File cc/shared_quad_state.h (right): https://codereview.chromium.org/12328098/diff/4015/cc/shared_quad_state.h#newcode23 cc/shared_quad_state.h:23: const gfx::Size& ...
7 years, 9 months ago (2013-02-26 22:08:05 UTC) #7
danakj
https://codereview.chromium.org/12328098/diff/11002/content/common/cc_messages_unittest.cc File content/common/cc_messages_unittest.cc (right): https://codereview.chromium.org/12328098/diff/11002/content/common/cc_messages_unittest.cc#newcode50 content/common/cc_messages_unittest.cc:50: EXPECT_EQ(a->visible_content_rect, b->visible_content_rect); Thanks! Can you also compare the content_bounds ...
7 years, 9 months ago (2013-02-26 22:11:20 UTC) #8
ernstm
Added missing comparison of SharedQuadState::content_bounds to unit test. https://codereview.chromium.org/12328098/diff/11002/content/common/cc_messages_unittest.cc File content/common/cc_messages_unittest.cc (right): https://codereview.chromium.org/12328098/diff/11002/content/common/cc_messages_unittest.cc#newcode50 content/common/cc_messages_unittest.cc:50: EXPECT_EQ(a->visible_content_rect, ...
7 years, 9 months ago (2013-02-26 22:28:26 UTC) #9
piman
LGTM for content/ but you'll need a security person to review this.
7 years, 9 months ago (2013-02-26 22:48:25 UTC) #10
ernstm
Chris, can you please do the security review for this CL?
7 years, 9 months ago (2013-02-26 23:03:11 UTC) #11
reveman
+justin cris or justin, any chance we can get a security review for this by ...
7 years, 9 months ago (2013-02-28 01:34:01 UTC) #12
jschuh
On 2013/02/28 01:34:01, David Reveman wrote: > +justin > > cris or justin, any chance ...
7 years, 9 months ago (2013-02-28 02:12:02 UTC) #13
reveman
On 2013/02/28 02:12:02, Justin Schuh wrote: > On 2013/02/28 01:34:01, David Reveman wrote: > > ...
7 years, 9 months ago (2013-02-28 02:44:19 UTC) #14
jschuh
On 2013/02/28 02:44:19, David Reveman wrote: > On 2013/02/28 02:12:02, Justin Schuh wrote: > > ...
7 years, 9 months ago (2013-02-28 04:06:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ernstm@chromium.org/12328098/18012
7 years, 9 months ago (2013-03-04 13:17:21 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=117815
7 years, 9 months ago (2013-03-04 17:07:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ernstm@chromium.org/12328098/18012
7 years, 9 months ago (2013-03-04 17:35:38 UTC) #18
commit-bot: I haz the power
7 years, 9 months ago (2013-03-04 18:33:32 UTC) #19
Message was sent while issue was closed.
Change committed as 185934

Powered by Google App Engine
This is Rietveld 408576698