Home
last modified time | relevance | path

Searched refs:droid_rects (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c658 android_native_rect_t* droid_rects = NULL; in droid_set_damage_region() local
664 droid_rects = malloc(n_rects * sizeof(android_native_rect_t)); in droid_set_damage_region()
665 if (droid_rects == NULL) in droid_set_damage_region()
670 droid_rects[num_drects].left = rects[i]; in droid_set_damage_region()
671 droid_rects[num_drects].bottom = rects[i + 1]; in droid_set_damage_region()
672 droid_rects[num_drects].right = rects[i] + rects[i + 2]; in droid_set_damage_region()
673 droid_rects[num_drects].top = rects[i + 1] + rects[i + 3]; in droid_set_damage_region()
680 ret = native_window_set_surface_damage(dri2_surf->window, droid_rects, n_rects); in droid_set_damage_region()
681 free(droid_rects); in droid_set_damage_region()