Refactor GrLayerHoister::FindLayersToHoist to prep for adding clip to cache key
Refactor GrLayerHoister::FindLayersToHoist to prep for adding clip to cache key

NOTRY=true

Committed: https://skia.googlesource.com/skia/+/27415b71bd529456165945e19b5b7efbebf6fb51

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

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