895c43b28b
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 Review URL: https://codereview.chromium.org/784643002
24 lines
656 B
Python
24 lines
656 B
Python
# Copyright 2014 Google Inc.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# This file is included by chrome's skia/skia_common.gypi, and is intended to
|
|
# augment the skia flags that are set there.
|
|
|
|
{
|
|
'variables': {
|
|
|
|
# These flags will be defined in chromium
|
|
#
|
|
# If these become 'permanent', they should be moved into skia_common.gypi
|
|
#
|
|
'skia_for_chromium_defines': [
|
|
'SK_SUPPORT_LEGACY_TEXTRENDERMODE',
|
|
'SK_IGNORE_GPU_LAYER_HOISTING',
|
|
'SK_SUPPORT_LEGACY_NewRasterPMColor',
|
|
# Transition for skbug.com/3190
|
|
'SK_LEGACY_ENCODE_BITMAP',
|
|
],
|
|
},
|
|
}
|