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

Issue 591473003: (Reland) cc:Use impl-side painting in LTH context lost test (Closed)

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

Description

(Reland) cc:Use impl-side painting in LTH context lost test Current LTH Context Lost tests do not test for impl-side painting, this updates the tests to use ContentLayer or PictureLayer based on the settings. Also, SetRequiresHighResToDraw when we recover from lost context/ new output surface is used, to avoid checkerboards. BUG=401492, 415155 Committed: https://crrev.com/9d1e420684922f97fc7628060fd4bedb5e86248c Cr-Commit-Position: refs/heads/master@{#296236}

Patch Set 1 #

Total comments: 9

Patch Set 2 : review comments addressed. #

Patch Set 3 : review comments addressed. #

Total comments: 3

Patch Set 4 : Draw non-solid color for eviction test. #

Patch Set 5 : review comment addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -106 lines) Patch
M cc/test/fake_picture_layer.h View 2 chunks +6 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer.cc View 2 chunks +6 lines, -1 line 0 comments Download
M cc/test/fake_picture_layer_impl.h View 2 chunks +6 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_impl.cc View 4 chunks +11 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 18 chunks +87 lines, -34 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 3 4 18 chunks +195 lines, -68 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
sohanjg
Can you please take a look, thanks. https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc#newcode490 cc/trees/layer_tree_host_unittest_context.cc:490: We had ...
6 years, 3 months ago (2014-09-20 09:56:18 UTC) #2
danakj
https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc#newcode490 cc/trees/layer_tree_host_unittest_context.cc:490: On 2014/09/20 09:56:18, sohanjg wrote: > We had a ...
6 years, 3 months ago (2014-09-22 14:57:34 UTC) #3
sohanjg
can you please take a look, thanks. https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc#newcode490 cc/trees/layer_tree_host_unittest_context.cc:490: On 2014/09/22 ...
6 years, 3 months ago (2014-09-22 15:12:13 UTC) #4
danakj
https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc#newcode503 cc/trees/layer_tree_host_unittest_context.cc:503: EndTest(); On 2014/09/22 15:12:13, sohanjg wrote: > On 2014/09/22 ...
6 years, 3 months ago (2014-09-22 15:15:33 UTC) #5
sohanjg_
https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/591473003/diff/1/cc/trees/layer_tree_host_unittest_context.cc#newcode503 cc/trees/layer_tree_host_unittest_context.cc:503: EndTest(); On 2014/09/22 15:15:33, danakj wrote: > On 2014/09/22 ...
6 years, 3 months ago (2014-09-22 17:12:28 UTC) #7
sohanjg
please take a look, thanks. https://codereview.chromium.org/591473003/diff/40001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/591473003/diff/40001/cc/trees/layer_tree_host_unittest_context.cc#newcode512 cc/trees/layer_tree_host_unittest_context.cc:512: LoseContext(); We were missing ...
6 years, 3 months ago (2014-09-23 06:15:52 UTC) #8
danakj
https://codereview.chromium.org/591473003/diff/40001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/591473003/diff/40001/cc/trees/layer_tree_host_unittest_context.cc#newcode512 cc/trees/layer_tree_host_unittest_context.cc:512: LoseContext(); On 2014/09/23 06:15:52, sohanjg wrote: > We were ...
6 years, 3 months ago (2014-09-23 14:55:48 UTC) #9
sohanjg
please take a look, thanks. https://codereview.chromium.org/591473003/diff/40001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/591473003/diff/40001/cc/trees/layer_tree_host_unittest_context.cc#newcode512 cc/trees/layer_tree_host_unittest_context.cc:512: LoseContext(); On 2014/09/23 14:55:48, ...
6 years, 3 months ago (2014-09-23 15:18:41 UTC) #10
danakj
LGTM
6 years, 3 months ago (2014-09-23 15:20:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/591473003/80001
6 years, 3 months ago (2014-09-23 17:59:21 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 21c0b3bdede6921b3088c60d4c196ffc97266091
6 years, 3 months ago (2014-09-23 21:02:43 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 21:03:34 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9d1e420684922f97fc7628060fd4bedb5e86248c
Cr-Commit-Position: refs/heads/master@{#296236}

Powered by Google App Engine
This is Rietveld 408576698