weston_surface_to_global_float(struct weston_surface *surface,
GLfloat sx, GLfloat sy, GLfloat *x, GLfloat *y)
{
- weston_surface_update_transform(surface);
-
surface_to_global_float(surface, sx, sy, x, y);
}
{
GLfloat sxf, syf;
- weston_surface_update_transform(surface);
-
surface_from_global_float(surface,
wl_fixed_to_double(x),
wl_fixed_to_double(y),
{
GLfloat sxf, syf;
- weston_surface_update_transform(surface);
-
surface_from_global_float(surface, x, y, &sxf, &syf);
*sx = floorf(sxf);
*sy = floorf(syf);
int32_t sx, int32_t sy,
int32_t width, int32_t height)
{
- weston_surface_update_transform(surface);
-
if (surface->transform.enabled) {
pixman_region32_t box;
surface_compute_bbox(surface, sx, sy, width, height, &box);
WL_EXPORT void
weston_surface_damage(struct weston_surface *surface)
{
- weston_surface_update_transform(surface);
-
pixman_region32_union(&surface->damage, &surface->damage,
&surface->transform.boundingbox);
uint32_t max, area, mask;
pixman_box32_t *e;
- weston_surface_update_transform(es);
-
new_output = NULL;
max = 0;
mask = 0;