Lines Matching refs:layers
37 static void SimpleHandleAlpha(const LayerSettings& layers, uint32_t& color) in SimpleHandleAlpha() argument
42 if (layers.alpha != -1) { in SimpleHandleAlpha()
43 switch (layers.blendType) { in SimpleHandleAlpha()
45 color = (color & WHITE_TRANSPARENT) | (layers.alpha & ALPHA); // get the alpha in SimpleHandleAlpha()
48 color = color * (layers.alpha * INV); in SimpleHandleAlpha()
49 color = (color & WHITE_TRANSPARENT) | (layers.alpha & ALPHA); // get the alpha in SimpleHandleAlpha()
57 static std::vector<uint32_t> GetCheckColors(const std::vector<LayerSettings> &layers, const std::ve… in GetCheckColors() argument
62 for (uint32_t i = layers.size(); i > 0; i--) { in GetCheckColors()
63 auto layer = layers[i - 1]; in GetCheckColors()
80 int32_t HdiCompositionCheck::Check(const std::vector<LayerSettings> &layers, in Check() argument
87 for (auto layer : layers) { in Check()
100 std::vector<uint32_t> colors = GetCheckColors(layers, points); in Check()