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

Issue 25584002: Add new skyline Rectanizer (Closed)

Created:
7 years, 2 months ago by jvanverth1
Modified:
7 years, 2 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com, tfarina
Visibility:
Public.

Description

Add new skyline Rectanizer The skyline Rectanizer tracks the leading silhouette of the currently packed rects and tries to fit the next rectangle on top of that. This gives slightly better packing behavior than the current log2 scheme. Also shrank the size of the plots, which increases their number from 18 to 32 and gives better cache behavior (fewer purges and uploads). Committed: http://code.google.com/p/skia/source/detail?r=11577

Patch Set 1 #

Patch Set 2 : Some fixes to font cache dump and size of plots #

Patch Set 3 : Remove all font cache dump code. Clean up for review. #

Total comments: 5

Patch Set 4 : Fix style nits #

Patch Set 5 : Remove tab #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -5 lines) Patch
M gyp/gpu.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrAtlas.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrRectanizer.cpp View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
A src/gpu/GrRectanizer_skyline.cpp View 1 2 3 4 1 chunk +166 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jvanverth1
7 years, 2 months ago (2013-10-02 16:26:42 UTC) #1
bsalomon
lgtm with some nits https://codereview.chromium.org/25584002/diff/11001/src/gpu/GrRectanizer_skyline.cpp File src/gpu/GrRectanizer_skyline.cpp (right): https://codereview.chromium.org/25584002/diff/11001/src/gpu/GrRectanizer_skyline.cpp#newcode71 src/gpu/GrRectanizer_skyline.cpp:71: if (rectangleFits(i, width, height, &y)) ...
7 years, 2 months ago (2013-10-02 16:40:06 UTC) #2
tfarina
https://codereview.chromium.org/25584002/diff/11001/src/gpu/GrRectanizer_skyline.cpp File src/gpu/GrRectanizer_skyline.cpp (right): https://codereview.chromium.org/25584002/diff/11001/src/gpu/GrRectanizer_skyline.cpp#newcode71 src/gpu/GrRectanizer_skyline.cpp:71: if (rectangleFits(i, width, height, &y)) { On 2013/10/02 16:40:06, ...
7 years, 2 months ago (2013-10-02 16:49:58 UTC) #3
tomhudson
On 2013/10/02 16:49:58, tfarina wrote: > https://codereview.chromium.org/25584002/diff/11001/src/gpu/GrRectanizer_skyline.cpp > File src/gpu/GrRectanizer_skyline.cpp (right): > > https://codereview.chromium.org/25584002/diff/11001/src/gpu/GrRectanizer_skyline.cpp#newcode71 > ...
7 years, 2 months ago (2013-10-02 16:52:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/25584002/21001
7 years, 2 months ago (2013-10-02 17:28:52 UTC) #5
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 17:38:02 UTC) #6
Message was sent while issue was closed.
Change committed as 11577

Powered by Google App Engine
This is Rietveld 408576698