add gm to show miplevels (patchset #2 id:20001 of https://codereview.chromium.org/849173004/)"
add gm to show miplevels (patchset #2 id:20001 of https://codereview.chromium.org/849173004/)"

fixed memory leak

This reverts commit 04f07fcbfddbe8ca97d29053554a01c66d44ece2.

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/854163002

shahrzadmn/skia,VRToxin-AOSP/android_external_skia,qrealka/skia-hc,YUPlayGodDev/platform_external_skia,UBERMALLOW/external_skia,amyvmiwei/skia,HalCanary/skia-hc,spezi77/android_external_skia,AOSP-YU/platform_external_skia,google/skia,BrokenROM/external_skia,BrokenROM/external_skia,google/skia,nvoron23/skia,TeamTwisted/external_skia,TeamExodus/external_skia,noselhq/skia,tmpvar/skia.cc,shahrzadmn/skia,OneRom/external_skia,BrokenROM/external_skia,TeamTwisted/external_skia,Jichao/skia,AOSPB/external_skia,VRToxin-AOSP/android_external_skia,amyvmiwei/skia,nfxosp/platform_external_skia,noselhq/skia,geekboxzone/mmallow_external_skia,geekboxzone/mmallow_external_skia,AOSP-YU/platform_external_skia,AOSPB/external_skia,OneRom/external_skia,Infinitive-OS/platform_external_skia,invisiblek/android_external_skia,shahrzadmn/skia,qrealka/skia-hc,todotodoo/skia,YUPlayGodDev/platform_external_skia,rubenvb/skia,shahrzadmn/skia,boulzordev/android_external_skia,nfxosp/platform_external_skia,TeamExodus/external_skia,todotodoo/skia,rubenvb/skia,Hikari-no-Tenshi/android_external_skia,rubenvb/skia,OneRom/external_skia,TeamExodus/external_skia,AOSPB/external_skia,YUPlayGodDev/platform_external_skia,HalCanary/skia-hc,Jichao/skia,samuelig/skia,Infinitive-OS/platform_external_skia,OneRom/external_skia,rubenvb/skia,MinimalOS-AOSP/platform_external_skia,samuelig/skia,geekboxzone/mmallow_external_skia,vanish87/skia,MonkeyZZZZ/platform_external_skia,shahrzadmn/skia,AOSP-YU/platform_external_skia,noselhq/skia,HalCanary/skia-hc,noselhq/skia,boulzordev/android_external_skia,w3nd1go/android_external_skia,boulzordev/android_external_skia,geekboxzone/mmallow_external_skia,vanish87/skia,aosp-mirror/platform_external_skia,nfxosp/platform_external_skia,PAC-ROM/android_external_skia,Infinitive-OS/platform_external_skia,BrokenROM/external_skia,Infinitive-OS/platform_external_skia,YUPlayGodDev/platform_external_skia,TeamExodus/external_skia,Igalia/skia,MarshedOut/android_external_skia,aosp-mirror/platform_external_skia,invisiblek/android_external_skia,AOSPB/external_skia,OneRom/external_skia,samuelig/skia,VRToxin-AOSP/android_external_skia,geekboxzone/mmallow_external_skia,TeamTwisted/external_skia,BrokenROM/external_skia,spezi77/android_external_skia,pcwalton/skia,MarshedOut/android_external_skia,MinimalOS-AOSP/platform_external_skia,AOSP-YU/platform_external_skia,Infinitive-OS/platform_external_skia,geekboxzone/mmallow_external_skia,nfxosp/platform_external_skia,nvoron23/skia,rubenvb/skia,Jichao/skia,noselhq/skia,qrealka/skia-hc,w3nd1go/android_external_skia,w3nd1go/android_external_skia,boulzordev/android_external_skia,boulzordev/android_external_skia,Hikari-no-Tenshi/android_external_skia,google/skia,MarshedOut/android_external_skia,vanish87/skia,boulzordev/android_external_skia,nfxosp/platform_external_skia,AOSPB/external_skia,samuelig/skia,vanish87/skia,BrokenROM/external_skia,AOSPB/external_skia,Infinitive-OS/platform_external_skia,MinimalOS-AOSP/platform_external_skia,scroggo/skia,pcwalton/skia,MinimalOS-AOSP/platform_external_skia,pcwalton/skia,google/skia,Igalia/skia,pcwalton/skia,aosp-mirror/platform_external_skia,rubenvb/skia,spezi77/android_external_skia,ominux/skia,HalCanary/skia-hc,vanish87/skia,vanish87/skia,pcwalton/skia,noselhq/skia,MarshedOut/android_external_skia,MinimalOS-AOSP/platform_external_skia,Jichao/skia,HalCanary/skia-hc,HalCanary/skia-hc,TeamExodus/external_skia,OneRom/external_skia,w3nd1go/android_external_skia,pcwalton/skia,nvoron23/skia,qrealka/skia-hc,HalCanary/skia-hc,w3nd1go/android_external_skia,VRToxin-AOSP/android_external_skia,timduru/platform-external-skia,MonkeyZZZZ/platform_external_skia,PAC-ROM/android_external_skia,Jichao/skia,spezi77/android_external_skia,tmpvar/skia.cc,scroggo/skia,nfxosp/platform_external_skia,samuelig/skia,todotodoo/skia,AOSP-YU/platform_external_skia,MonkeyZZZZ/platform_external_skia,shahrzadmn/skia,timduru/platform-external-skia,MonkeyZZZZ/platform_external_skia,invisiblek/android_external_skia,UBERMALLOW/external_skia,ominux/skia,TeamTwisted/external_skia,shahrzadmn/skia,PAC-ROM/android_external_skia,timduru/platform-external-skia,qrealka/skia-hc,ominux/skia,google/skia,invisiblek/android_external_skia,Igalia/skia,samuelig/skia,nvoron23/skia,spezi77/android_external_skia,timduru/platform-external-skia,rubenvb/skia,google/skia,geekboxzone/mmallow_external_skia,google/skia,PAC-ROM/android_external_skia,Jichao/skia,Igalia/skia,Hikari-no-Tenshi/android_external_skia,YUPlayGodDev/platform_external_skia,timduru/platform-external-skia,vanish87/skia,MarshedOut/android_external_skia,OneRom/external_skia,w3nd1go/android_external_skia,TeamTwisted/external_skia,UBERMALLOW/external_skia,qrealka/skia-hc,nfxosp/platform_external_skia,TeamExodus/external_skia,TeamTwisted/external_skia,scroggo/skia,MonkeyZZZZ/platform_external_skia,amyvmiwei/skia,YUPlayGodDev/platform_external_skia,aosp-mirror/platform_external_skia,UBERMALLOW/external_skia,HalCanary/skia-hc,MinimalOS-AOSP/platform_external_skia,shahrzadmn/skia,timduru/platform-external-skia,rubenvb/skia,google/skia,invisiblek/android_external_skia,todotodoo/skia,noselhq/skia,google/skia,AOSP-YU/platform_external_skia,TeamExodus/external_skia,Hikari-no-Tenshi/android_external_skia,google/skia,ominux/skia,MonkeyZZZZ/platform_external_skia,tmpvar/skia.cc,scroggo/skia,AOSPB/external_skia,scroggo/skia,VRToxin-AOSP/android_external_skia,todotodoo/skia,tmpvar/skia.cc,YUPlayGodDev/platform_external_skia,Hikari-no-Tenshi/android_external_skia,amyvmiwei/skia,w3nd1go/android_external_skia,Jichao/skia,UBERMALLOW/external_skia,HalCanary/skia-hc,boulzordev/android_external_skia,ominux/skia,MarshedOut/android_external_skia,PAC-ROM/android_external_skia,MarshedOut/android_external_skia,pcwalton/skia,aosp-mirror/platform_external_skia,qrealka/skia-hc,MonkeyZZZZ/platform_external_skia,todotodoo/skia,spezi77/android_external_skia,AOSPB/external_skia,aosp-mirror/platform_external_skia,UBERMALLOW/external_skia,VRToxin-AOSP/android_external_skia,OneRom/external_skia,tmpvar/skia.cc,VRToxin-AOSP/android_external_skia,shahrzadmn/skia,vanish87/skia,Jichao/skia,ominux/skia,boulzordev/android_external_skia,scroggo/skia,ominux/skia,geekboxzone/mmallow_external_skia,Infinitive-OS/platform_external_skia,nfxosp/platform_external_skia,MinimalOS-AOSP/platform_external_skia,Igalia/skia,aosp-mirror/platform_external_skia,todotodoo/skia,UBERMALLOW/external_skia,nvoron23/skia,ominux/skia,UBERMALLOW/external_skia,amyvmiwei/skia,Igalia/skia,PAC-ROM/android_external_skia,TeamTwisted/external_skia,samuelig/skia,nfxosp/platform_external_skia,Hikari-no-Tenshi/android_external_skia,todotodoo/skia,OneRom/external_skia,MonkeyZZZZ/platform_external_skia,vanish87/skia,w3nd1go/android_external_skia,Igalia/skia,nvoron23/skia,HalCanary/skia-hc,ominux/skia,Jichao/skia,invisiblek/android_external_skia,pcwalton/skia,tmpvar/skia.cc,tmpvar/skia.cc,BrokenROM/external_skia,AOSP-YU/platform_external_skia,noselhq/skia,nvoron23/skia,Infinitive-OS/platform_external_skia,MinimalOS-AOSP/platform_external_skia,Infinitive-OS/platform_external_skia,boulzordev/android_external_skia,qrealka/skia-hc,Hikari-no-Tenshi/android_external_skia,MarshedOut/android_external_skia,rubenvb/skia,samuelig/skia,YUPlayGodDev/platform_external_skia,UBERMALLOW/external_skia,scroggo/skia,invisiblek/android_external_skia,MinimalOS-AOSP/platform_external_skia,todotodoo/skia,aosp-mirror/platform_external_skia,noselhq/skia,TeamTwisted/external_skia,amyvmiwei/skia,AOSPB/external_skia,AOSP-YU/platform_external_skia,PAC-ROM/android_external_skia,rubenvb/skia,VRToxin-AOSP/android_external_skia,BrokenROM/external_skia,AOSP-YU/platform_external_skia,YUPlayGodDev/platform_external_skia,MonkeyZZZZ/platform_external_skia,TeamExodus/external_skia,PAC-ROM/android_external_skia,PAC-ROM/android_external_skia,invisiblek/android_external_skia,amyvmiwei/skia,TeamExodus/external_skia,amyvmiwei/skia,tmpvar/skia.cc,timduru/platform-external-skia,TeamTwisted/external_skia,MarshedOut/android_external_skia,nvoron23/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,geekboxzone/mmallow_external_skia,nvoron23/skia,Igalia/skia,pcwalton/skia,VRToxin-AOSP/android_external_skia,tmpvar/skia.cc,w3nd1go/android_external_skia,Hikari-no-Tenshi/android_external_skia,scroggo/skia