Searched refs:programid (Results 1 – 3 of 3) sorted by relevance
93 typedef uint64_t programid; typedef232 programid key() const { in key()233 programid key = 0; in key()245 key |= programid(gradientType) << PROGRAM_GRADIENT_TYPE_SHIFT; in key()263 if (modulate) key |= programid(0x1) << PROGRAM_MODULATE_SHIFT; in key()264 if (hasVertexAlpha) key |= programid(0x1) << PROGRAM_HAS_VERTEX_ALPHA_SHIFT; in key()265 if (useShadowAlphaInterp) key |= programid(0x1) << PROGRAM_USE_SHADOW_ALPHA_INTERP_SHIFT; in key()266 if (hasExternalTexture) key |= programid(0x1) << PROGRAM_HAS_EXTERNAL_TEXTURE_SHIFT; in key()267 if (hasTextureTransform) key |= programid(0x1) << PROGRAM_HAS_TEXTURE_TRANSFORM_SHIFT; in key()268 if (hasGammaCorrection) key |= programid(0x1) << PROGRAM_HAS_GAMMA_CORRECTION; in key()[all …]
51 Program* generateProgram(const ProgramDescription& description, programid key);59 KeyedVector<programid, Program*> mCache;
429 programid key = description.key(); in get()452 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { in generateProgram()