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

Issue 973223002: cc: Scale checkerboard quads by the device scale factor. (Closed)

Created:
5 years, 9 months ago by danakj
Modified:
5 years, 9 months ago
Reviewers:
kenrb, vmpstr, enne (OOO)
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam, piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Scale checkerboard quads by the device scale factor. This adds pixel tests for checkerboard quads to verify we're able to draw them, and another test where the quad is scaled. R=enne, vmpstr BUG=169624 Committed: https://crrev.com/e1419ce4eee9e8067ec30853d3bab4a9415aefe4 Cr-Commit-Position: refs/heads/master@{#319131}

Patch Set 1 #

Total comments: 2

Patch Set 2 : checkerboardscale: . #

Total comments: 6

Patch Set 3 : checkerboardscale: rmdebugcode #

Total comments: 2

Patch Set 4 : checkerboardscale: init #

Patch Set 5 : checkerboardscale: fixwindowsbuild #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -61 lines) Patch
M cc/layers/picture_layer_impl.cc View 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/tiled_layer_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 1 chunk +8 lines, -6 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/renderer_pixeltest.cc View 1 2 3 4 1 chunk +103 lines, -0 lines 0 comments Download
M cc/output/software_renderer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/checkerboard_draw_quad.h View 1 chunk +5 lines, -2 lines 0 comments Download
M cc/quads/checkerboard_draw_quad.cc View 1 2 3 3 chunks +9 lines, -3 lines 0 comments Download
M cc/quads/draw_quad_unittest.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M cc/quads/render_pass_unittest.cc View 6 chunks +16 lines, -23 lines 0 comments Download
A cc/test/data/checkers.png View 1 Binary file 0 comments Download
A cc/test/data/checkers_big.png View 1 Binary file 0 comments Download
M cc/test/render_pass_test_common.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/cc_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 4 chunks +8 lines, -17 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
danakj
+kenrb for cc_messages
5 years, 9 months ago (2015-03-03 21:24:22 UTC) #2
kenrb
ipc lgtm
5 years, 9 months ago (2015-03-03 21:47:28 UTC) #3
vmpstr
https://codereview.chromium.org/973223002/diff/1/cc/layers/tiled_layer_impl.cc File cc/layers/tiled_layer_impl.cc (right): https://codereview.chromium.org/973223002/diff/1/cc/layers/tiled_layer_impl.cc#newcode245 cc/layers/tiled_layer_impl.cc:245: visible_tile_rect, checker_color, 1.f); Why 1 here?
5 years, 9 months ago (2015-03-03 22:13:46 UTC) #4
danakj
Oh I need to include the .pngs, but these tests are overly simplistic with only ...
5 years, 9 months ago (2015-03-03 22:31:26 UTC) #5
danakj
https://codereview.chromium.org/973223002/diff/1/cc/layers/tiled_layer_impl.cc File cc/layers/tiled_layer_impl.cc (right): https://codereview.chromium.org/973223002/diff/1/cc/layers/tiled_layer_impl.cc#newcode245 cc/layers/tiled_layer_impl.cc:245: visible_tile_rect, checker_color, 1.f); On 2015/03/03 22:13:46, vmpstr wrote: > ...
5 years, 9 months ago (2015-03-03 22:41:14 UTC) #6
danakj
PTAL
5 years, 9 months ago (2015-03-04 00:47:17 UTC) #7
vmpstr
https://codereview.chromium.org/973223002/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/973223002/diff/40001/cc/layers/picture_layer_impl.cc#newcode317 cc/layers/picture_layer_impl.cc:317: break; Debugging? https://codereview.chromium.org/973223002/diff/40001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/973223002/diff/40001/cc/output/gl_renderer.cc#newcode568 cc/output/gl_renderer.cc:568: float ...
5 years, 9 months ago (2015-03-04 00:53:56 UTC) #10
danakj
https://codereview.chromium.org/973223002/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/973223002/diff/40001/cc/layers/picture_layer_impl.cc#newcode317 cc/layers/picture_layer_impl.cc:317: break; On 2015/03/04 00:53:56, vmpstr wrote: > Debugging? *^_^* ...
5 years, 9 months ago (2015-03-04 17:06:57 UTC) #11
danakj
PTAL
5 years, 9 months ago (2015-03-04 17:08:23 UTC) #12
vmpstr
lgtm https://codereview.chromium.org/973223002/diff/60001/cc/quads/checkerboard_draw_quad.h File cc/quads/checkerboard_draw_quad.h (right): https://codereview.chromium.org/973223002/diff/60001/cc/quads/checkerboard_draw_quad.h#newcode34 cc/quads/checkerboard_draw_quad.h:34: float scale; nit: initialize in the ctor please.
5 years, 9 months ago (2015-03-04 17:22:30 UTC) #13
danakj
https://codereview.chromium.org/973223002/diff/60001/cc/quads/checkerboard_draw_quad.h File cc/quads/checkerboard_draw_quad.h (right): https://codereview.chromium.org/973223002/diff/60001/cc/quads/checkerboard_draw_quad.h#newcode34 cc/quads/checkerboard_draw_quad.h:34: float scale; On 2015/03/04 17:22:30, vmpstr wrote: > nit: ...
5 years, 9 months ago (2015-03-04 17:23:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/973223002/80001
5 years, 9 months ago (2015-03-04 17:24:55 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/60724) win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, ...
5 years, 9 months ago (2015-03-04 19:48:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/973223002/100001
5 years, 9 months ago (2015-03-04 20:26:35 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 9 months ago (2015-03-04 21:26:52 UTC) #23
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 21:27:20 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e1419ce4eee9e8067ec30853d3bab4a9415aefe4
Cr-Commit-Position: refs/heads/master@{#319131}

Powered by Google App Engine
This is Rietveld 408576698