Searched refs:programid (Results 1 – 3 of 3) sorted by relevance
101 typedef uint64_t programid; typedef253 programid key() const { in key()254 programid key = 0; in key()269 key |= programid(gradientType) << PROGRAM_GRADIENT_TYPE_SHIFT; in key()286 key |= programid(swapSrcDst) << PROGRAM_KEY_SWAP_SRC_DST_SHIFT; in key()287 key |= programid(modulate) << PROGRAM_MODULATE_SHIFT; in key()288 key |= programid(hasVertexAlpha) << PROGRAM_HAS_VERTEX_ALPHA_SHIFT; in key()289 key |= programid(useShadowAlphaInterp) << PROGRAM_USE_SHADOW_ALPHA_INTERP_SHIFT; in key()290 key |= programid(hasExternalTexture) << PROGRAM_HAS_EXTERNAL_TEXTURE_SHIFT; in key()291 key |= programid(hasTextureTransform) << PROGRAM_HAS_TEXTURE_TRANSFORM_SHIFT; in key()[all …]
51 Program* generateProgram(const ProgramDescription& description, programid key);59 std::map<programid, std::unique_ptr<Program>> mCache;
522 programid key = description.key(); in get()545 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { in generateProgram()