aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2014-12-09 07:44:36 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-09 07:44:36 -0800
commit02b217f80b01a7dda8493422e5257c36a9ce8464 (patch)
tree74b921c7e25d0098ae67a0b90b3e3a7a83e64dbe /gyp
parente4c53202e995714fee0251d1bcb6cdbc41526eac (diff)
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
Diffstat (limited to 'gyp')
-rw-r--r--gyp/skia_for_chromium_defines.gypi2
1 files changed, 2 insertions, 0 deletions
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',
],
},
}