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

Issue 11649005: cc: Support anti-aliasing for solid color layers. (Closed)

Created:
8 years ago by reveman
Modified:
7 years, 8 months ago
Reviewers:
danakj, jamesr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, whunt
Visibility:
Public.

Description

cc: Support anti-aliasing for solid color layers. Render solid color layers using the same edge AA method used for tiled layers and render surfaces. BUG=166570 TEST=manual

Patch Set 1 #

Patch Set 2 : per edge anti-aliasing #

Total comments: 4

Patch Set 3 : Rebase and add DrawQuad::AntiAliasing struct. #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+440 lines, -140 lines) Patch
M cc/checkerboard_draw_quad.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/debug_border_draw_quad.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/delegated_renderer_layer_impl_unittest.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M cc/draw_quad.h View 1 2 4 chunks +33 lines, -1 line 4 comments Download
M cc/draw_quad.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M cc/draw_quad_unittest.cc View 1 2 2 chunks +12 lines, -12 lines 0 comments Download
M cc/gl_renderer.h View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M cc/gl_renderer.cc View 1 2 4 chunks +137 lines, -8 lines 2 comments Download
M cc/gl_renderer_pixeltest.cc View 1 2 3 chunks +57 lines, -3 lines 0 comments Download
M cc/io_surface_draw_quad.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/picture_layer_impl.cc View 1 2 3 chunks +16 lines, -11 lines 0 comments Download
M cc/render_pass_draw_quad.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/shader.h View 1 1 chunk +15 lines, -0 lines 0 comments Download
M cc/shader.cc View 1 1 chunk +43 lines, -0 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_draw_quad.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M cc/solid_color_draw_quad.cc View 1 2 3 chunks +9 lines, -3 lines 0 comments Download
M cc/solid_color_layer_impl.cc View 1 2 2 chunks +14 lines, -1 line 0 comments Download
M cc/stream_video_draw_quad.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A cc/test/data/anti_aliasing.png View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M cc/test/render_pass_test_common.cc View 1 2 4 chunks +4 lines, -12 lines 0 comments Download
M cc/test/render_pass_test_utils.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/texture_draw_quad.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/tile_draw_quad.h View 1 2 1 chunk +4 lines, -21 lines 0 comments Download
M cc/tile_draw_quad.cc View 1 2 3 chunks +7 lines, -25 lines 0 comments Download
M cc/tiled_layer_impl.cc View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M cc/yuv_video_draw_quad.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/cc_messages.h View 1 2 3 chunks +9 lines, -4 lines 0 comments Download
M content/common/cc_messages.cc View 1 2 1 chunk +34 lines, -0 lines 2 comments Download

Messages

Total messages: 18 (0 generated)
reveman
This is work in progress but I'd like some feedback before moving forward. Latest patch ...
8 years ago (2012-12-21 20:46:53 UTC) #1
danakj
https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h File cc/solid_color_draw_quad.h (right): https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h#newcode40 cc/solid_color_draw_quad.h:40: // TODO(danakj): Stick the data used to compute these ...
8 years ago (2012-12-21 20:50:18 UTC) #2
reveman
https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h File cc/solid_color_draw_quad.h (right): https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h#newcode40 cc/solid_color_draw_quad.h:40: // TODO(danakj): Stick the data used to compute these ...
8 years ago (2012-12-21 20:58:05 UTC) #3
danakj
https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h File cc/solid_color_draw_quad.h (right): https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h#newcode40 cc/solid_color_draw_quad.h:40: // TODO(danakj): Stick the data used to compute these ...
8 years ago (2012-12-21 22:18:57 UTC) #4
reveman
https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h File cc/solid_color_draw_quad.h (right): https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h#newcode40 cc/solid_color_draw_quad.h:40: // TODO(danakj): Stick the data used to compute these ...
8 years ago (2012-12-21 23:33:45 UTC) #5
danakj
On 2012/12/21 23:33:45, David Reveman wrote: > https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h > File cc/solid_color_draw_quad.h (right): > > https://codereview.chromium.org/11649005/diff/2001/cc/solid_color_draw_quad.h#newcode40 ...
8 years ago (2012-12-21 23:38:47 UTC) #6
enne (OOO)
What's the use case here? When do we have solid color quads that aren't axis ...
7 years, 12 months ago (2012-12-27 02:03:37 UTC) #7
reveman
On 2012/12/27 02:03:37, enne wrote: > What's the use case here? When do we have ...
7 years, 12 months ago (2012-12-27 08:05:09 UTC) #8
jamesr
Can we use a struct with reasonable names and a default constructor instead of passing ...
7 years, 11 months ago (2013-01-03 00:58:55 UTC) #9
reveman
On 2013/01/03 00:58:55, jamesr wrote: > Can we use a struct with reasonable names and ...
7 years, 11 months ago (2013-01-03 17:07:00 UTC) #10
danakj
On Thu, Jan 3, 2013 at 12:07 PM, <reveman@chromium.org> wrote: > On 2013/01/03 00:58:55, jamesr ...
7 years, 11 months ago (2013-01-03 17:34:57 UTC) #11
reveman
Added DrawQuad::AntiAliasing struct. PTAL.
7 years, 11 months ago (2013-01-08 22:23:15 UTC) #12
jamesr
https://codereview.chromium.org/11649005/diff/16001/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/11649005/diff/16001/cc/gl_renderer.cc#newcode763 cc/gl_renderer.cc:763: LayerQuad::Edge rightEdge(topRight, bottomRight); Tons of this code is copy-pasted ...
7 years, 11 months ago (2013-01-08 22:29:26 UTC) #13
danakj
https://codereview.chromium.org/11649005/diff/16001/cc/draw_quad.h File cc/draw_quad.h (right): https://codereview.chromium.org/11649005/diff/16001/cc/draw_quad.h#newcode31 cc/draw_quad.h:31: struct AntiAliasing { Should this instead be "Layer Edgeness" ...
7 years, 11 months ago (2013-01-08 22:30:46 UTC) #14
danakj
https://codereview.chromium.org/11649005/diff/16001/cc/draw_quad.h File cc/draw_quad.h (right): https://codereview.chromium.org/11649005/diff/16001/cc/draw_quad.h#newcode37 cc/draw_quad.h:37: AntiAliasing(bool left_edge, I'm also wondering what is the benefit ...
7 years, 11 months ago (2013-01-08 22:34:16 UTC) #15
jamesr
https://codereview.chromium.org/11649005/diff/16001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/11649005/diff/16001/content/common/cc_messages.cc#newcode660 content/common/cc_messages.cc:660: void ParamTraits<cc::DrawQuad::AntiAliasing>::Write( yeah this really doesn't make sense to ...
7 years, 11 months ago (2013-01-08 23:01:58 UTC) #16
reveman
https://chromiumcodereview.appspot.com/11649005/diff/16001/cc/draw_quad.h File cc/draw_quad.h (right): https://chromiumcodereview.appspot.com/11649005/diff/16001/cc/draw_quad.h#newcode31 cc/draw_quad.h:31: struct AntiAliasing { On 2013/01/08 22:30:46, danakj wrote: > ...
7 years, 11 months ago (2013-01-09 14:20:05 UTC) #17
enne (OOO)
7 years, 8 months ago (2013-04-16 20:25:56 UTC) #18
Message was sent while issue was closed.
Closing this patch, as AA for solid color layers has already landed.

Powered by Google App Engine
This is Rietveld 408576698