Lines Matching refs:l
148 int l = hregion->nlayers - 1; in get_top_rect() local
150 *routp = &hregion->blitrects[l][subregion]; in get_top_rect()
154 while (--l >= 0); in get_top_rect()
155 return l; in get_top_rect()
165 int l = hregion->nlayers - 1; in get_layer_ops() local
169 if (!empty_rect(&hregion->blitrects[l][subregion])) { in get_layer_ops()
171 *bottom = l; in get_layer_ops()
172 hwc_layer_1_t *layer = hregion->rgz_layers[l]->hwc_layer; in get_layer_ops()
178 while (--l >= 0); in get_layer_ops()
182 static int get_layer_ops_next(blit_hregion_t *hregion, int subregion, int l) in get_layer_ops_next() argument
184 while (++l < hregion->nlayers) { in get_layer_ops_next()
185 if (!empty_rect(&hregion->blitrects[l][subregion])) in get_layer_ops_next()
186 return l; in get_layer_ops_next()
231 static void dump_layer(hwc_layer_1_t const* l, int iserr) in dump_layer() argument
242 l->compositionType, l->flags, l->handle, l->transform, l->blending, in dump_layer()
243 l->sourceCrop.left, in dump_layer()
244 l->sourceCrop.top, in dump_layer()
245 l->sourceCrop.right, in dump_layer()
246 l->sourceCrop.bottom, in dump_layer()
247 l->displayFrame.left, in dump_layer()
248 l->displayFrame.top, in dump_layer()
249 l->displayFrame.right, in dump_layer()
250 l->displayFrame.bottom); in dump_layer()
251 if (l->handle) { in dump_layer()
252 IMG_native_handle_t *h = (IMG_native_handle_t *)l->handle; in dump_layer()
256 OUTE("hndl %p", l->handle); in dump_layer()
264 hwc_layer_1_t *l = rgz_layers[i].hwc_layer; in dump_all() local
266 dump_layer(l, errlayer == i); in dump_all()
545 hwc_layer_1_t *l = rgz_layer->hwc_layer; in rgz_out_bvcmd_paint() local
556 srcregion.left = max(0, l->displayFrame.left); in rgz_out_bvcmd_paint()
557 srcregion.top = max(0, l->displayFrame.top); in rgz_out_bvcmd_paint()
558 srcregion.bottom = min(scrgeom->height, l->displayFrame.bottom); in rgz_out_bvcmd_paint()
559 srcregion.right = min(scrgeom->width, l->displayFrame.right); in rgz_out_bvcmd_paint()
571 params->data.bvc.out_hndls[j++] = l->handle; in rgz_out_bvcmd_paint()
701 int l, r; in rgz_gen_blitregions() local
702 for (l = 0; l < hregion->nlayers; l++) { in rgz_gen_blitregions()
703 hwc_layer_1_t *layer = hregion->rgz_layers[l]->hwc_layer; in rgz_gen_blitregions()
723 for (l = 0; l < hregion->nlayers; l++) { in rgz_gen_blitregions()
724 hwc_layer_1_t *layer = hregion->rgz_layers[l]->hwc_layer; in rgz_gen_blitregions()
727 hregion->blitrects[l][r] = subregion; in rgz_gen_blitregions()
729 ALOGD_IF(debug, "hregion->blitrects[%d][%d] (%d %d %d %d)", l, r, in rgz_gen_blitregions()
730 hregion->blitrects[l][r].left, in rgz_gen_blitregions()
731 hregion->blitrects[l][r].top, in rgz_gen_blitregions()
732 hregion->blitrects[l][r].right, in rgz_gen_blitregions()
733 hregion->blitrects[l][r].bottom); in rgz_gen_blitregions()
838 int l, memidx = 0; in rgz_in_hwccheck() local
839 for (l = 0; l < layerno; l++) { in rgz_in_hwccheck()
845 IMG_native_handle_t *handle = (IMG_native_handle_t *)layers[l].handle; in rgz_in_hwccheck()
846 if (!(layers[l].flags & HWC_SKIP_LAYER) && handle && is_NV12(handle->iFormat)) in rgz_in_hwccheck()
849 if (layers[l].compositionType == HWC_OVERLAY) in rgz_in_hwccheck()
862 for (l = 0; l < layerno; l++) { in rgz_in_hwccheck()
863 if (layers[l].compositionType == HWC_FRAMEBUFFER) { in rgz_in_hwccheck()
865 if (rgz_in_valid_hwc_layer(&layers[l]) && in rgz_in_hwccheck()
868 rgz_layer->hwc_layer = &layers[l]; in rgz_in_hwccheck()
875 if (layers[l].hints & HWC_HINT_CLEAR_FB) { in rgz_in_hwccheck()
884 rgz_layer->hwc_layer = &layers[l]; in rgz_in_hwccheck()
958 int l = hregions[i].nlayers++; in rgz_in_hwc() local
959 hregions[i].rgz_layers[l] = &rgz_layers[j]; in rgz_in_hwc()
984 static void rgz_print_layer(hwc_layer_1_t *l, int idx, int csv) in rgz_print_layer() argument
993 l->handle ? l->handle : NULL); in rgz_print_layer()
996 l->flags & HWC_SKIP_LAYER ? "skip" : "none"); in rgz_print_layer()
998 IMG_native_handle_t *handle = (IMG_native_handle_t *)l->handle; in rgz_print_layer()
1031 l->sourceCrop.left, l->sourceCrop.top, l->sourceCrop.right, in rgz_print_layer()
1032 l->sourceCrop.bottom); in rgz_print_layer()
1034 l->displayFrame.left, l->displayFrame.top, in rgz_print_layer()
1035 l->displayFrame.right, l->displayFrame.bottom); in rgz_print_layer()
1038 l->transform & HWC_TRANSFORM_ROT_90 ? "90" : in rgz_print_layer()
1039 l->transform & HWC_TRANSFORM_ROT_180 ? "180" : in rgz_print_layer()
1040 l->transform & HWC_TRANSFORM_ROT_270 ? "270" : "none"); in rgz_print_layer()
1043 strcat(flip, l->transform & HWC_TRANSFORM_FLIP_H ? "H" : ""); in rgz_print_layer()
1044 strcat(flip, l->transform & HWC_TRANSFORM_FLIP_V ? "V" : ""); in rgz_print_layer()
1045 if (!(l->transform & (HWC_TRANSFORM_FLIP_V|HWC_TRANSFORM_FLIP_H))) in rgz_print_layer()
1050 l->blending == HWC_BLENDING_NONE ? "none" : in rgz_print_layer()
1051 l->blending == HWC_BLENDING_PREMULT ? "premult" : in rgz_print_layer()
1052 l->blending == HWC_BLENDING_COVERAGE ? "coverage" : "invalid"); in rgz_print_layer()
1054 e -= snprintf(end - e, e, "%s %1.3f", csv ? "," : " scalew:", getscalew(l)); in rgz_print_layer()
1055 e -= snprintf(end - e, e, "%s %1.3f", csv ? "," : " scaleh:", getscaleh(l)); in rgz_print_layer()
1058 l->visibleRegionScreen.numRects); in rgz_print_layer()
1065 for (; i < l->visibleRegionScreen.numRects; i++) { in rgz_print_layer()
1066 hwc_rect_t const *r = &l->visibleRegionScreen.rects[i]; in rgz_print_layer()
1072 for (; i < l->visibleRegionScreen.numRects; i++) { in rgz_print_layer()
1073 hwc_rect_t const *r = &l->visibleRegionScreen.rects[i]; in rgz_print_layer()
1086 hwc_layer_1_t *l = &list->hwLayers[i]; in rgz_print_layers() local
1087 rgz_print_layer(l, i, csv); in rgz_print_layers()