Lines Matching refs:programid
92 typedef uint64_t programid;
229 programid key() const {
230 programid key = 0;
242 key |= programid(gradientType) << PROGRAM_GRADIENT_TYPE_SHIFT;
263 if (modulate) key |= programid(0x1) << PROGRAM_MODULATE_SHIFT;
264 if (isAA) key |= programid(0x1) << PROGRAM_HAS_AA_SHIFT;
265 if (hasExternalTexture) key |= programid(0x1) << PROGRAM_HAS_EXTERNAL_TEXTURE_SHIFT;
266 if (hasTextureTransform) key |= programid(0x1) << PROGRAM_HAS_TEXTURE_TRANSFORM_SHIFT;
267 if (hasGammaCorrection) key |= programid(0x1) << PROGRAM_HAS_GAMMA_CORRECTION;
268 if (isSimpleGradient) key |= programid(0x1) << PROGRAM_IS_SIMPLE_GRADIENT;
269 if (hasColors) key |= programid(0x1) << PROGRAM_HAS_COLORS;
270 if (hasDebugHighlight) key |= programid(0x1) << PROGRAM_HAS_DEBUG_HIGHLIGHT;
271 if (emulateStencil) key |= programid(0x1) << PROGRAM_EMULATE_STENCIL;
280 programid k = key();