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

Issue 394003003: Set maximum output size for scaled-image-cache images (Closed)

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

Description

Set maximum output size for scaled-image-cache images Accessable via: SkScaledImageCache::{G,S}etMaximumOutputSizeForHighQualityFilter Also, a unit test. BUG=389439 Committed: https://skia.googlesource.com/skia/+/805ef159d197007b9529e60e5b918ee0f9d3802d

Patch Set 1 #

Patch Set 2 : Rename, runtime #

Total comments: 1

Patch Set 3 : rename, SkGraphics.h #

Total comments: 1

Patch Set 4 : SkGraphics::(Set|Get)ImageCacheTotalByteLimit #

Patch Set 5 : internal rename #

Patch Set 6 : AnotherPatchSet #

Patch Set 7 : AnotherPatchSet #

Patch Set 8 : AnotherPatchSet #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -45 lines) Patch
M bench/ImageCacheBench.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M gyp/tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkGraphics.h View 1 2 3 4 5 1 chunk +41 lines, -3 lines 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 2 2 chunks +17 lines, -2 lines 0 comments Download
M src/core/SkScaledImageCache.h View 1 2 3 4 5 chunks +23 lines, -12 lines 0 comments Download
M src/core/SkScaledImageCache.cpp View 1 2 3 4 10 chunks +56 lines, -26 lines 0 comments Download
M tests/ImageCacheTest.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A tests/ScaledImageCache.cpp View 1 2 3 4 5 6 7 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
hal.canary
PTAL. Chrome will need to set a value for the maximum size for scaling images. ...
6 years, 5 months ago (2014-07-15 21:33:47 UTC) #1
reveman
Hm, it's a bit hard to reason about why we wouldn't want to cache really ...
6 years, 5 months ago (2014-07-15 22:45:13 UTC) #2
reed1
#2 -- this CL in in direct response to the bug you have commented on. ...
6 years, 5 months ago (2014-07-16 14:16:43 UTC) #3
reveman
On 2014/07/16 14:16:43, reed1 wrote: > #2 -- this CL in in direct response to ...
6 years, 5 months ago (2014-07-16 15:13:00 UTC) #4
hal.canary
I'm working on a runtime switch, since reed@ suggested that (1) we could write a ...
6 years, 5 months ago (2014-07-16 15:16:54 UTC) #5
reveman
On 2014/07/16 15:16:54, Hal Canary wrote: > I'm working on a runtime switch, since reed@ ...
6 years, 5 months ago (2014-07-16 15:35:37 UTC) #6
hal.canary
On 2014/07/16 15:35:37, reveman wrote: > On 2014/07/16 15:16:54, Hal Canary wrote: > > I'm ...
6 years, 5 months ago (2014-07-16 17:13:18 UTC) #7
reed1
after we're don'e bike-shedding on the name, we will need to bubble the new setter/getter ...
6 years, 5 months ago (2014-07-16 18:38:00 UTC) #8
hal.canary
On 2014/07/16 18:38:00, reed1 wrote: > after we're don'e bike-shedding on the name, we will ...
6 years, 5 months ago (2014-07-16 20:24:11 UTC) #9
reveman
https://codereview.chromium.org/394003003/diff/60001/include/core/SkGraphics.h File include/core/SkGraphics.h (right): https://codereview.chromium.org/394003003/diff/60001/include/core/SkGraphics.h#newcode97 include/core/SkGraphics.h:97: static size_t SetImageCacheSingleAllocationByteLimit(size_t newLimit); I know this only affects ...
6 years, 5 months ago (2014-07-16 20:38:04 UTC) #10
reed1
If you really don't want to rename the old field in this CL, please add ...
6 years, 5 months ago (2014-07-16 20:46:03 UTC) #11
hal.canary
The CQ bit was checked by halcanary@google.com
6 years, 5 months ago (2014-07-16 21:10:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/halcanary@google.com/394003003/100001
6 years, 5 months ago (2014-07-16 21:11:41 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Mac10.8-Clang-x86-Release-Trybot on tryserver.skia ...
6 years, 5 months ago (2014-07-16 21:33:10 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 21:36:11 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/780)
6 years, 5 months ago (2014-07-16 21:36:11 UTC) #16
hal.canary
The CQ bit was checked by halcanary@google.com
6 years, 5 months ago (2014-07-16 21:47:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/halcanary@google.com/394003003/120001
6 years, 5 months ago (2014-07-16 21:48:38 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Mac10.8-Clang-x86-Release-Trybot on tryserver.skia ...
6 years, 5 months ago (2014-07-16 22:16:13 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 22:19:22 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/782)
6 years, 5 months ago (2014-07-16 22:19:23 UTC) #21
hal.canary
The CQ bit was checked by halcanary@google.com
6 years, 5 months ago (2014-07-16 23:28:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/halcanary@google.com/394003003/140001
6 years, 5 months ago (2014-07-16 23:28:25 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win7-VS2010-x86-Debug-Trybot on tryserver.skia ...
6 years, 5 months ago (2014-07-16 23:46:46 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 23:57:47 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win7-VS2010-x86-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Win7-VS2010-x86-Debug-Trybot/builds/871)
6 years, 5 months ago (2014-07-16 23:57:48 UTC) #26
hal.canary
The CQ bit was checked by halcanary@google.com
6 years, 5 months ago (2014-07-17 01:49:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/halcanary@google.com/394003003/160001
6 years, 5 months ago (2014-07-17 01:50:20 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 02:10:26 UTC) #29
commit-bot: I haz the power
Failed to commit the patch.
6 years, 5 months ago (2014-07-17 02:10:27 UTC) #30
hal.canary
The CQ bit was checked by halcanary@google.com
6 years, 5 months ago (2014-07-17 12:31:06 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/halcanary@google.com/394003003/160001
6 years, 5 months ago (2014-07-17 12:32:07 UTC) #32
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 13:58:10 UTC) #33
Message was sent while issue was closed.
Change committed as 805ef159d197007b9529e60e5b918ee0f9d3802d

Powered by Google App Engine
This is Rietveld 408576698