示例#1
0
文件: GrTexture.cpp 项目: gw280/skia
bool GrTexture::IsScratchTexture(const GrResourceKey& key) {
    return 0 != (key.getValue32(3) & kScratch_TextureBit);
}
示例#2
0
文件: GrTexture.cpp 项目: gw280/skia
bool GrTexture::NeedsFiltering(const GrResourceKey& key) {
    return 0 != (key.getValue32(3) & kFilter_TextureBit);
}
示例#3
0
文件: GrTexture.cpp 项目: gw280/skia
bool GrTexture::NeedsResizing(const GrResourceKey& key) {
    return 0 != (key.getValue32(3) & kNPOT_TextureBit);
}