Lines Matching refs:mKey
57 key_t mKey; variable
117 inline Key() : mKey(0) {} in Key()
118 inline Key(const Key& rhs) : mKey(rhs.mKey) {} in Key()
121 mKey = (mKey & ~mask) | value; in set()
125 inline bool isTexturing() const { return (mKey & TEXTURE_MASK) != TEXTURE_OFF; } in isTexturing()
126 inline int getTextureTarget() const { return (mKey & TEXTURE_MASK); } in getTextureTarget()
127 inline bool isPremultiplied() const { return (mKey & BLEND_MASK) == BLEND_PREMULT; } in isPremultiplied()
128 inline bool isOpaque() const { return (mKey & OPACITY_MASK) == OPACITY_OPAQUE; } in isOpaque()
129 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha()
131 return (mKey & ROUNDED_CORNERS_MASK) == ROUNDED_CORNERS_ON; in hasRoundedCorners()
134 return (mKey & INPUT_TRANSFORM_MATRIX_MASK) == INPUT_TRANSFORM_MATRIX_ON; in hasInputTransformMatrix()
137 return (mKey & OUTPUT_TRANSFORM_MATRIX_MASK) == OUTPUT_TRANSFORM_MATRIX_ON; in hasOutputTransformMatrix()
142 inline int getInputTF() const { return (mKey & INPUT_TF_MASK); } in getInputTF()
143 inline int getOutputTF() const { return (mKey & OUTPUT_TF_MASK); } in getOutputTF()
167 inline bool isY410BT2020() const { return (mKey & Y410_BT2020_MASK) == Y410_BT2020_ON; } in isY410BT2020()
171 bool operator==(const Key& other) const { return mKey == other.mKey; }
174 size_t operator()(const Key& key) const { return static_cast<size_t>(key.mKey); } in operator()