Lines Matching refs:rgz_layer
98 static int rgz_hwc_layer_blit(rgz_out_params_t *params, rgz_layer_t *rgz_layer);
336 static void rgz_set_src_data(rgz_out_params_t *params, rgz_layer_t *rgz_layer, in rgz_set_src_data() argument
339 hwc_layer_1_t *hwc_layer = rgz_layer->hwc_layer; in rgz_set_src_data()
347 srcdesc->auxptr = (void*)rgz_layer->buffidx; in rgz_set_src_data()
544 rgz_layer_t *rgz_layer = &rgz->rgz_layers[i]; in rgz_out_bvcmd_paint() local
545 hwc_layer_1_t *l = rgz_layer->hwc_layer; in rgz_out_bvcmd_paint()
553 if (rgz_layer->buffidx == -1) { in rgz_out_bvcmd_paint()
564 rv = rgz_hwc_layer_blit(params, rgz_layer); in rgz_out_bvcmd_paint()
799 rgz_layer_t *rgz_layer = &rgz->rgz_layers[i]; in rgz_handle_dirty_region() local
807 if (i == 0 || rgz_layer->buffidx == -1) in rgz_handle_dirty_region()
810 new_handle = (void*)rgz_layer->hwc_layer->handle; in rgz_handle_dirty_region()
812 if (reset_counters || new_handle != rgz_layer->dirty_hndl) { in rgz_handle_dirty_region()
813 rgz_layer->dirty_count = RGZ_NUM_FB; in rgz_handle_dirty_region()
814 rgz_layer->dirty_hndl = new_handle; in rgz_handle_dirty_region()
816 rgz_layer->dirty_count -= rgz_layer->dirty_count ? 1 : 0; in rgz_handle_dirty_region()
859 rgz_layer_t *rgz_layer = &rgz->rgz_layers[0]; in rgz_in_hwccheck() local
860 rgz_layer->hwc_layer = &bg_layer; in rgz_in_hwccheck()
867 rgz_layer_t *rgz_layer = &rgz->rgz_layers[possible_blit+1]; in rgz_in_hwccheck() local
868 rgz_layer->hwc_layer = &layers[l]; in rgz_in_hwccheck()
869 rgz_layer->buffidx = memidx++; in rgz_in_hwccheck()
882 rgz_layer_t *rgz_layer = &rgz->rgz_layers[possible_blit+1]; in rgz_in_hwccheck() local
883 rgz_layer->buffidx = -1; in rgz_in_hwccheck()
884 rgz_layer->hwc_layer = &layers[l]; in rgz_in_hwccheck()
1196 static int rgz_hwc_layer_blit(rgz_out_params_t *params, rgz_layer_t *rgz_layer) in rgz_hwc_layer_blit() argument
1202 hwc_layer_1_t* layer = rgz_layer->hwc_layer; in rgz_hwc_layer_blit()
1208 rgz_hwc_subregion_blend(params, &srcregion, rgz_layer, NULL); in rgz_hwc_layer_blit()
1210 rgz_hwc_subregion_copy(params, &srcregion, rgz_layer); in rgz_hwc_layer_blit()
1309 rgz_layer_t *rgz_layer = hregion->rgz_layers[dirtylix]; in rgz_hwc_subregion_blit() local
1310 if (rgz_layer->dirty_count){ in rgz_hwc_subregion_blit()
1504 rgz_layer_t *rgz_layer = &rgz->rgz_layers[j]; in rgz_out_region() local
1506 if (rgz_layer->buffidx == -1) in rgz_out_region()
1508 hwc_layer_1_t *layer = rgz_layer->hwc_layer; in rgz_out_region()