Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2216f9c2 authored by Mike Reed's avatar Mike Reed
Browse files

remove call to (deprecated) SetDeviceConfig

this was ignored by all callers, in that they always specify a preferred config (8888).

This removal will allow skia to remove the api and its global.

Change-Id: Ic0a4c673ddd60d0078f75e0e482aba4c9b9cf682
parent 1e5cf9ac
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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