Method

PhocOutputdamage_region

Declaration [src]

gboolean
phoc_output_damage_region (
  PhocOutput* self,
  const pixman_region32_t* region
)

Description [src]

If damage overlaps with output add it and schedule a frame.

This method is not directly available to language bindings.

Parameters

region

Type: const pixman_region32_t*

The damage in output local coordinates.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the damage overlapped with the output.