diff options
author | 2013-12-04 19:56:31 +0000 | |
---|---|---|
committer | 2013-12-04 19:56:31 +0000 | |
commit | a0b266d8170211d9f2a6f90ba9c889f0c1b6d1b6 (patch) | |
tree | c1bfd8c756858572eef4585dd230e319b902f95c /include | |
parent | bdb677a277e0285da5293adc0f1d40101fad4a69 (diff) |
Remove deprecated setPrefConfigTable.
Safe once its only caller (in Android) has been updated.
BUG=skia:1874
R=reed@google.com
Review URL: https://codereview.chromium.org/99473004
git-svn-id: http://skia.googlecode.com/svn/trunk@12491 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkImageDecoder.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/core/SkImageDecoder.h b/include/core/SkImageDecoder.h index a7e3646553..b255e2ad25 100644 --- a/include/core/SkImageDecoder.h +++ b/include/core/SkImageDecoder.h @@ -159,36 +159,6 @@ public: Chooser* setChooser(Chooser*); /** - @Deprecated. Use the struct version instead. - - This optional table describes the caller's preferred config based on - information about the src data. For this table, the src attributes are - described in terms of depth (index (8), 16, 32/24) and if there is - per-pixel alpha. These inputs combine to create an index into the - pref[] table, which contains the caller's preferred config for that - input, or kNo_Config if there is no preference. - - To specify no preference, call setPrefConfigTable(NULL), which is - the default. - - Note, it is still at the discretion of the codec as to what output - config is actually returned, as it may not be able to support the - caller's preference. - - Here is how the index into the table is computed from the src: - depth [8, 16, 32/24] -> 0, 2, 4 - alpha [no, yes] -> 0, 1 - The two index values are OR'd together. - src: 8-index, no-alpha -> 0 - src: 8-index, yes-alpha -> 1 - src: 16bit, no-alpha -> 2 // e.g. 565 - src: 16bit, yes-alpha -> 3 // e.g. 1555 - src: 32/24, no-alpha -> 4 - src: 32/24, yes-alpha -> 5 - */ - void setPrefConfigTable(const SkBitmap::Config pref[6]); - - /** * Optional table describing the caller's preferred config based on * information about the src data. Each field should be set to the * preferred config for a src described in the name of the field. The |