diff options
author | 2014-03-25 13:38:44 +0000 | |
---|---|---|
committer | 2014-03-25 13:38:44 +0000 | |
commit | 231f6b81c22001cac4ea87ea412c4d6fd10ffb8a (patch) | |
tree | dae7097b678bfcd382993b53ba9808ae9438aa57 /include/core/SkDevice.h | |
parent | 1121170477302e25ef2a020cf2092aa6b399b3ef (diff) |
Revert of implement readPixels and writePixels natively, w/o using the (deprecated) (https://codereview.chromium.org/199733016/)
Reason for revert:
Android bots segfaulting in tests.
Original issue's description:
> implement readPixels and writePixels natively, w/o using the (deprecated)
> SkCanvas::Config8888 enum.
>
> Revert "Revert "hide Config8888 entirely". Broke a bunch of builds."
>
> This reverts commit 763277ba157fef0f651004bb98a189e9f1ac730b.
>
> Needs chrome to remove the READPIXELS guard from skia's .gyp
>
> Committed: https://code.google.com/p/skia/source/detail?r=13931
R=reed@google.com
TBR=reed@google.com
NOTREECHECKS=true
NOTRY=true
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/209233004
git-svn-id: http://skia.googlecode.com/svn/trunk@13932 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r-- | include/core/SkDevice.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index 6b94dd635c..abd0a636ff 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -363,11 +363,9 @@ 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 |