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

Issue 225903010: Allow clients to specify an external SkImageFilter cache. (Closed)

Created:
6 years, 8 months ago by Stephen White
Modified:
6 years, 8 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Allow clients to specify an external SkImageFilter cache. This change allows external callers to substitute their own SkImageFilter cache for the default intra-frame cache in Skia. This allows the caller to perform inter-frame caching for example, by the maintaining a persistent cache between frames and doing custom invalidation. R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=14181

Patch Set 1 #

Patch Set 2 : Move external to a global on SkImageFilter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -5 lines) Patch
M include/core/SkImageFilter.h View 1 3 chunks +12 lines, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 2 chunks +12 lines, -4 lines 0 comments Download
M src/core/SkImageFilter.cpp View 1 4 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Stephen White
reed@: PTAL. Thanks!
6 years, 8 months ago (2014-04-11 19:10:21 UTC) #1
reed1
Why is this associated with the canvas, and not (e.g.) global, or picture or surface ...
6 years, 8 months ago (2014-04-11 19:56:34 UTC) #2
Stephen White
On 2014/04/11 19:56:34, reed1 wrote: > Why is this associated with the canvas, and not ...
6 years, 8 months ago (2014-04-11 20:05:54 UTC) #3
Stephen White
New patch: moved the external cache to a class-static (global) on SkImageFilter.
6 years, 8 months ago (2014-04-14 15:16:30 UTC) #4
reed1
lgtm
6 years, 8 months ago (2014-04-14 15:20:28 UTC) #5
Stephen White
6 years, 8 months ago (2014-04-14 15:51:51 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r14181 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698