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

Issue 678193002: cc: Full solid layers not at origin painted incorrectly (Closed)

Created:
6 years, 1 month ago by hendrikw
Modified:
6 years, 1 month ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Full solid layers not at origin painted incorrectly Old code used a size, we now use a rect, and I didn't update the quad clipping to use the origin offset. We now correctly clip the quads, and I've updated the unit test to use a visible rect that doesn't sit on (0,0), and will fail without this change. Though I wasn't able to reproduce it, it may also fix: https://code.google.com/p/chromium/issues/detail?id=427467 BUG=18132446 (internal) Committed: https://crrev.com/efe523e2b7b92af88a16a798b4059cc320901c85 Cr-Commit-Position: refs/heads/master@{#301519}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix temps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M cc/layers/picture_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/solid_color_layer_impl.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
hendrikw
I broke this with my last change, PTAL
6 years, 1 month ago (2014-10-27 22:50:06 UTC) #2
danakj
LGTM https://codereview.chromium.org/678193002/diff/1/cc/layers/solid_color_layer_impl.cc File cc/layers/solid_color_layer_impl.cc (right): https://codereview.chromium.org/678193002/diff/1/cc/layers/solid_color_layer_impl.cc#newcode48 cc/layers/solid_color_layer_impl.cc:48: std::min(visible_content_rect.right() - x, kSolidQuadTileSize), throw these in temp ...
6 years, 1 month ago (2014-10-27 22:53:07 UTC) #3
hendrikw
Fixed the temporaries! Thanks
6 years, 1 month ago (2014-10-27 23:00:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/678193002/20001
6 years, 1 month ago (2014-10-27 23:05:41 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-28 00:40:03 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 00:40:43 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/efe523e2b7b92af88a16a798b4059cc320901c85
Cr-Commit-Position: refs/heads/master@{#301519}

Powered by Google App Engine
This is Rietveld 408576698