diff options
author | 2014-03-25 16:20:24 +0000 | |
---|---|---|
committer | 2014-03-25 16:20:24 +0000 | |
commit | 7111d463cee893a479280c7af41757e709e33ef5 (patch) | |
tree | 6977ef83c68977870f93dbbf3e1a5328f893973b /include/core/SkDevice.h | |
parent | e6984a8c5e742e32d849ce8419bad4f5b8ea3a90 (diff) |
Revert "Revert of implement readPixels and writePixels natively, w/o using the (deprecated) (https://codereview.chromium.org/199733016/)"
This reverts commit 9a90bd16dc6756395c422adf0f24560d033ed9ea.
BUG=skia:
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/211293002
git-svn-id: http://skia.googlecode.com/svn/trunk@13939 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r-- | include/core/SkDevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index abd0a636ff..6b94dd635c 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -363,9 +363,11 @@ protected: const SkImageFilter::Context& ctx, SkBitmap* result, SkIPoint* offset) = 0; +#ifdef SK_SUPPORT_LEGACY_CONFIG8888 // This is equal kBGRA_Premul_Config8888 or kRGBA_Premul_Config8888 if // either is identical to kNative_Premul_Config8888. Otherwise, -1. static const SkCanvas::Config8888 kPMColorAlias; +#endif protected: // default impl returns NULL |