Home | History | Annotate | Download | only in hwc

Lines Matching refs:hregions

217     blit_hregion_t *hregions = rgz->hregions;
223 OUTP("<!-- hregion %d (subcount %d)-->", i, hregions[i].nsubregions);
224 svgout_hregion(&hregions[i], params->data.svg.dispw,
788 if (rgz->hregions)
789 free(rgz->hregions);
790 rgz->hregions = NULL;
939 blit_hregion_t *hregions = calloc(rgz->nhregions, sizeof(blit_hregion_t));
940 if (!hregions) {
941 OUTE("Unable to allocate memory for hregions");
944 rgz->hregions = hregions;
949 hregions[i].rect.top = yentries[i];
950 hregions[i].rect.bottom = yentries[i+1];
951 /* Avoid hregions outside the display boundaries */
952 hregions[i].rect.left = 0;
953 hregions[i].rect.right = dispw > screen_width ? screen_width : dispw;
954 hregions[i].nlayers = 0;
957 if (rgz_hwc_intersects(&hregions[i].rect, &layer->displayFrame)) {
958 int l = hregions[i].nlayers++;
959 hregions[i].rgz_layers[l] = &rgz_layers[j];
966 rgz_gen_blitregions(&hregions[i], screen_width);
967 ALOGD_IF(debug, "hregion %3d: nsubregions %d", i, hregions[i].nsubregions);
969 hregions[i].rect.top, hregions[i].rect.bottom);
970 for (j = 0; j < hregions[i].nlayers; j++)
971 ALOGD_IF(debug, " %p ", hregions[i].rgz_layers[j]->hwc_layer);
1480 blit_hregion_t *hregion = &rgz->hregions[i];
1654 if (rgz->hregions)
1655 free(rgz->hregions);