Home
last modified time | relevance | path

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

/third_party/weston/fullscreen-shell/
Dfullscreen-shell.c414 int32_t surf_x, surf_y, surf_width, surf_height; in fs_output_center_view() local
419 &surf_width, &surf_height); in fs_output_center_view()
421 x = output->x + (output->width - surf_width) / 2 - surf_x / 2; in fs_output_center_view()
431 int32_t surf_x, surf_y, surf_width, surf_height; in fs_output_scale_view() local
437 &surf_width, &surf_height); in fs_output_scale_view()
439 if (output->width == surf_width && output->height == surf_height) { in fs_output_scale_view()
447 weston_matrix_scale(matrix, width / surf_width, in fs_output_scale_view()
469 int32_t surf_x, surf_y, surf_width, surf_height; in fs_output_configure_simple() local
483 &surf_width, &surf_height); in fs_output_configure_simple()
486 surface_aspect = (float) surf_width / (float) surf_height; in fs_output_configure_simple()
[all …]
/third_party/mesa3d/src/egl/main/
Deglapi.c1431 EGLint surf_width = surf->Width; in _eglSetDamageRegionKHRClampRects() local
1440 rects[i] = CLAMP(x1, 0, surf_width); in _eglSetDamageRegionKHRClampRects()
1442 rects[i + 2] = CLAMP(x2, 0, surf_width) - rects[i]; in _eglSetDamageRegionKHRClampRects()
/third_party/weston/desktop-shell/
Dshell.c2186 int32_t surf_x, surf_y, surf_width, surf_height; in shell_configure_fullscreen() local
2203 &surf_width, &surf_height); in shell_configure_fullscreen()