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

Issue 511613002: Convert BBH APIs to use SkRect. (Closed)

Created:
6 years, 3 months ago by mtklein_C
Modified:
6 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Convert BBH APIs to use SkRect. Still TODO: convert internals of SkTileGrid.cpp and SkRTree.cpp to work in floats too. NOTREECHECKS=true BUG=skia:1021 Committed: https://skia.googlesource.com/skia/+/533eb782edaa0b6fece6166d3001edf72ec39f11

Patch Set 1 #

Patch Set 2 : merge isLargest() checks #

Patch Set 3 : move comment #

Patch Set 4 : update bench too #

Patch Set 5 : int-to-scalar #

Patch Set 6 : more int->float #

Patch Set 7 : GENERATE_EXTENTS -> float #

Patch Set 8 : another #

Patch Set 9 : another in BBH test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -196 lines) Patch
M bench/RTreeBench.cpp View 1 2 3 4 5 6 7 3 chunks +38 lines, -38 lines 0 comments Download
M include/core/SkPicture.h View 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/SkGpuDevice.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBBoxHierarchy.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkBBoxHierarchyRecord.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M src/core/SkPicture.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPictureData.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPictureData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 3 chunks +7 lines, -10 lines 0 comments Download
M src/core/SkRTree.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkRTree.cpp View 2 chunks +11 lines, -2 lines 0 comments Download
M src/core/SkRecordDraw.cpp View 15 chunks +51 lines, -53 lines 0 comments Download
M src/core/SkTileGrid.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkTileGrid.cpp View 1 2 2 chunks +12 lines, -9 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 11 chunks +23 lines, -24 lines 0 comments Download
M tests/BBoxHierarchyTest.cpp View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -11 lines 0 comments Download
M tests/PictureTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/RTreeTest.cpp View 3 chunks +14 lines, -10 lines 0 comments Download
M tests/RecordDrawTest.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M tests/TileGridTest.cpp View 2 chunks +19 lines, -19 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
mtklein
mtklein@google.com changed reviewers: + mtklein@google.com, reed@google.com, robertphillips@google.com
6 years, 3 months ago (2014-08-26 22:05:22 UTC) #1
mtklein
6 years, 3 months ago (2014-08-26 22:05:23 UTC) #2
reed1
Does this amount of change affect perf one way or the other (I recognize the ...
6 years, 3 months ago (2014-08-27 13:08:26 UTC) #3
mtklein
On 2014/08/27 13:08:26, reed1 wrote: > Does this amount of change affect perf one way ...
6 years, 3 months ago (2014-08-27 14:44:12 UTC) #4
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 3 months ago (2014-08-27 14:52:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/511613002/60001
6 years, 3 months ago (2014-08-27 14:52:53 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia ...
6 years, 3 months ago (2014-08-27 15:01:28 UTC) #7
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 3 months ago (2014-08-27 15:04:19 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/511613002/80001
6 years, 3 months ago (2014-08-27 15:04:28 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia ...
6 years, 3 months ago (2014-08-27 15:19:49 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 15:26:47 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/1523)
6 years, 3 months ago (2014-08-27 15:26:48 UTC) #12
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 3 months ago (2014-08-27 15:36:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/511613002/100001
6 years, 3 months ago (2014-08-27 15:37:18 UTC) #14
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 3 months ago (2014-08-27 15:42:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/511613002/120001
6 years, 3 months ago (2014-08-27 15:42:32 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia ...
6 years, 3 months ago (2014-08-27 16:00:20 UTC) #17
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 3 months ago (2014-08-27 16:03:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/511613002/140001
6 years, 3 months ago (2014-08-27 16:04:19 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia ...
6 years, 3 months ago (2014-08-27 16:14:00 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 16:22:49 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/1530)
6 years, 3 months ago (2014-08-27 16:22:50 UTC) #22
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 3 months ago (2014-08-27 17:26:41 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/511613002/160001
6 years, 3 months ago (2014-08-27 17:27:39 UTC) #24
mtklein
The CQ bit was unchecked by mtklein@google.com
6 years, 3 months ago (2014-08-27 17:39:22 UTC) #25
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 3 months ago (2014-08-27 17:39:23 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/511613002/160001
6 years, 3 months ago (2014-08-27 17:39:30 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:160001) as 533eb782edaa0b6fece6166d3001edf72ec39f11
6 years, 3 months ago (2014-08-27 17:39:49 UTC) #28
mtklein
6 years, 3 months ago (2014-08-27 18:59:48 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #9) has been created in
https://codereview.chromium.org/508873004/ by mtklein@google.com.

The reason for reverting is:  test RecordDraw_BBH:
../../tests/RecordDrawTest.cpp:140	bbh.entries[i].bounds == SkRect::MakeWH(400,
480)

Mac 10.8 Release.

Powered by Google App Engine
This is Rietveld 408576698