bool GrTexture::IsScratchTexture(const GrResourceKey& key) { return 0 != (key.getValue32(3) & kScratch_TextureBit); }
bool GrTexture::NeedsFiltering(const GrResourceKey& key) { return 0 != (key.getValue32(3) & kFilter_TextureBit); }
bool GrTexture::NeedsResizing(const GrResourceKey& key) { return 0 != (key.getValue32(3) & kNPOT_TextureBit); }