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

Issue 175283002: DM: don't run rtree when kSkipTiled is set. (Closed)

Created:
6 years, 10 months ago by mtklein_C
Modified:
6 years, 10 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

DM: don't run rtree when kSkipTiled is set. Follow up to http://crrev.com/165723009, which changed this in GM. Tested: out/Debug/dm BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=13537 NOTREECHECKS=True NOTRY=True Committed: http://code.google.com/p/skia/source/detail?r=13540

Patch Set 1 #

Patch Set 2 : Quiet down Windows warning. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M dm/DMReplayTask.cpp View 1 1 chunk +1 line, -1 line 3 comments Download

Messages

Total messages: 16 (0 generated)
mtklein
6 years, 10 months ago (2014-02-21 16:11:18 UTC) #1
scroggo
lgtm
6 years, 10 months ago (2014-02-21 16:16:32 UTC) #2
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 10 months ago (2014-02-21 16:26:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/175283002/1
6 years, 10 months ago (2014-02-21 16:26:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/175283002/1
6 years, 10 months ago (2014-02-21 18:23:38 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 18:23:40 UTC) #6
commit-bot: I haz the power
Failed to apply patch for dm/DMReplayTask.cpp: While running git apply --index -p1; Created missing directory ...
6 years, 10 months ago (2014-02-21 18:23:40 UTC) #7
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 10 months ago (2014-02-21 18:27:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/175283002/1
6 years, 10 months ago (2014-02-21 18:27:58 UTC) #9
commit-bot: I haz the power
Change committed as 13537
6 years, 10 months ago (2014-02-21 18:33:27 UTC) #10
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 10 months ago (2014-02-21 19:19:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/175283002/140001
6 years, 10 months ago (2014-02-21 19:19:44 UTC) #12
commit-bot: I haz the power
Change committed as 13540
6 years, 10 months ago (2014-02-21 19:19:49 UTC) #13
scroggo
https://codereview.chromium.org/175283002/diff/140001/dm/DMReplayTask.cpp File dm/DMReplayTask.cpp (right): https://codereview.chromium.org/175283002/diff/140001/dm/DMReplayTask.cpp#newcode44 dm/DMReplayTask.cpp:44: return (fGM->getFlags() & skiagm::GM::kSkipTiled_Flag) != 0; You don't like ...
6 years, 10 months ago (2014-02-21 19:21:27 UTC) #14
mtklein
https://codereview.chromium.org/175283002/diff/140001/dm/DMReplayTask.cpp File dm/DMReplayTask.cpp (right): https://codereview.chromium.org/175283002/diff/140001/dm/DMReplayTask.cpp#newcode44 dm/DMReplayTask.cpp:44: return (fGM->getFlags() & skiagm::GM::kSkipTiled_Flag) != 0; On 2014/02/21 19:21:28, ...
6 years, 10 months ago (2014-02-21 19:28:13 UTC) #15
scroggo
6 years, 10 months ago (2014-02-21 19:29:17 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/175283002/diff/140001/dm/DMReplayTask.cpp
File dm/DMReplayTask.cpp (right):

https://codereview.chromium.org/175283002/diff/140001/dm/DMReplayTask.cpp#new...
dm/DMReplayTask.cpp:44: return (fGM->getFlags() & skiagm::GM::kSkipTiled_Flag)
!= 0;
On 2014/02/21 19:28:14, mtklein wrote:
> On 2014/02/21 19:21:28, scroggo wrote:
> > You don't like SkToBool?
> 
> Seemed clearer to test != 0 explicitly since we're doing bit logic.  SkToBool
> makes me think we're dealing with the world of booleans and short circuiting
> logic, when we're really dealing with the slightly-different world of bits.
> 
> I'd even happier to write return SkIsBitSet(fGM->getFlags(),
> skiagm::GM::kSkipTiled_Flag);, but for now I just wanted things to build.

sgtm

Powered by Google App Engine
This is Rietveld 408576698