Merge "remove call to (deprecated) SetDeviceConfig"
This commit is contained in:
committed by
Android (Google) Code Review
commit
84ecb7e1aa
@@ -244,9 +244,6 @@ AndroidRuntime::AndroidRuntime(char* argBlockStart, const size_t argBlockLength)
|
||||
mArgBlockLength(argBlockLength)
|
||||
{
|
||||
SkGraphics::Init();
|
||||
// this sets our preference for 16bit images during decode
|
||||
// in case the src is opaque and 24bit
|
||||
SkImageDecoder::SetDeviceConfig(SkBitmap::kRGB_565_Config);
|
||||
// There is also a global font cache, but its budget is specified in code
|
||||
// see SkFontHost_android.cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user