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