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

Issue 1165753004: Implement a simple image cache for Sky in Dart (no eviction) (Closed)

Created:
5 years, 6 months ago by jackson
Modified:
5 years, 6 months ago
Reviewers:
abarth-chromium
CC:
abarth-chromium, gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Implement a simple image cache for Sky in Dart. This doesn't yet do any eviction from the cache. R=abarth@chromium.org, abarth Committed: https://chromium.googlesource.com/external/mojo/+/514a50c7d3703d038429f877c0c690af4c9cc088

Patch Set 1 #

Total comments: 6

Patch Set 2 : Use cascade operator #

Patch Set 3 : Fix removal from pendingRequests #

Patch Set 4 : CR feedback from abarth #

Patch Set 5 : Simplify the image loader API per abarth’s feedback #

Patch Set 6 : Add comment, Hixie code review feedback #

Patch Set 7 : Rebase origin/master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -21 lines) Patch
M sky/engine/core/loader/CanvasImageLoader.h View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M sky/engine/core/loader/CanvasImageLoader.cpp View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M sky/engine/core/loader/ImageLoader.idl View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/core/painting/Image.idl View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M sky/examples/raw/spinning_image.dart View 1 2 3 2 chunks +29 lines, -9 lines 0 comments Download
M sky/sdk/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A sky/sdk/lib/framework/net/image_cache.dart View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jackson
5 years, 6 months ago (2015-06-02 00:27:48 UTC) #1
abarth-chromium
LGTM https://codereview.chromium.org/1165753004/diff/1/sky/sdk/lib/framework/net/image_cache.dart File sky/sdk/lib/framework/net/image_cache.dart (right): https://codereview.chromium.org/1165753004/diff/1/sky/sdk/lib/framework/net/image_cache.dart#newcode8 sky/sdk/lib/framework/net/image_cache.dart:8: class ImageCache { There's no need for this ...
5 years, 6 months ago (2015-06-02 00:52:48 UTC) #2
jackson
https://codereview.chromium.org/1165753004/diff/1/sky/sdk/lib/framework/net/image_cache.dart File sky/sdk/lib/framework/net/image_cache.dart (right): https://codereview.chromium.org/1165753004/diff/1/sky/sdk/lib/framework/net/image_cache.dart#newcode8 sky/sdk/lib/framework/net/image_cache.dart:8: class ImageCache { On 2015/06/02 00:52:47, abarth wrote: > ...
5 years, 6 months ago (2015-06-02 01:18:25 UTC) #3
jackson
I simplified the ImageLoader API per your feedback on issue 1156003007
5 years, 6 months ago (2015-06-02 02:15:09 UTC) #4
jackson
5 years, 6 months ago (2015-06-02 17:44:52 UTC) #5
Message was sent while issue was closed.
Committed patchset #7 (id:110001) manually as
514a50c7d3703d038429f877c0c690af4c9cc088 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698