예제 #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);
}