From 02b217f80b01a7dda8493422e5257c36a9ce8464 Mon Sep 17 00:00:00 2001 From: scroggo Date: Tue, 9 Dec 2014 07:44:36 -0800 Subject: Replace EncodeBitmap with an interface. Gives more flexibility to the caller to decide whether to use the encoded data returned by refEncodedData(). Provides an implementation that supports the old version of SkPicture::serialize(). TODO: Update Chrome, so we can remove SK_LEGACY_ENCODE_BITMAP entirely BUG=skia:3190 Committed: https://skia.googlesource.com/skia/+/0c4aba6edb9900c597359dfa49d3ce4a41bc5dd1 Review URL: https://codereview.chromium.org/784643002 --- gyp/skia_for_chromium_defines.gypi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gyp') diff --git a/gyp/skia_for_chromium_defines.gypi b/gyp/skia_for_chromium_defines.gypi index aee4112c80..2c91d2969c 100644 --- a/gyp/skia_for_chromium_defines.gypi +++ b/gyp/skia_for_chromium_defines.gypi @@ -15,6 +15,8 @@ 'skia_for_chromium_defines': [ 'SK_SUPPORT_LEGACY_TEXTRENDERMODE', 'SK_IGNORE_GPU_LAYER_HOISTING', + # Transition for skbug.com/3190 + 'SK_LEGACY_ENCODE_BITMAP', ], }, } -- cgit v1.2.3