Lines Matching refs:sf
741 const DRMSolidfillStage &sf = solid_fills->at(i); in SetSolidfillStages() local
742 float plane_alpha = (sf.plane_alpha / 255.0f); in SetSolidfillStages()
743 drm_dim_layer_v1_.layer_cfg[i].stage = sf.z_order; in SetSolidfillStages()
744 drm_dim_layer_v1_.layer_cfg[i].rect.x1 = (uint16_t)sf.bounding_rect.left; in SetSolidfillStages()
745 drm_dim_layer_v1_.layer_cfg[i].rect.y1 = (uint16_t)sf.bounding_rect.top; in SetSolidfillStages()
746 drm_dim_layer_v1_.layer_cfg[i].rect.x2 = (uint16_t)sf.bounding_rect.right; in SetSolidfillStages()
747 drm_dim_layer_v1_.layer_cfg[i].rect.y2 = (uint16_t)sf.bounding_rect.bottom; in SetSolidfillStages()
749 sf.is_exclusion_rect ? SDE_DRM_DIM_LAYER_EXCLUSIVE : SDE_DRM_DIM_LAYER_INCLUSIVE; in SetSolidfillStages()
753 shift = kSolidFillHwBitDepth - sf.color_bit_depth; in SetSolidfillStages()
754 drm_dim_layer_v1_.layer_cfg[i].color_fill.color_0 = (sf.green & 0x3FF) << shift; in SetSolidfillStages()
755 drm_dim_layer_v1_.layer_cfg[i].color_fill.color_1 = (sf.blue & 0x3FF) << shift; in SetSolidfillStages()
756 drm_dim_layer_v1_.layer_cfg[i].color_fill.color_2 = (sf.red & 0x3FF) << shift; in SetSolidfillStages()
759 ((uint32_t)((((sf.alpha & 0xFF)) * plane_alpha))); in SetSolidfillStages()