set_damage_object


Description:

public void set_damage_object (uint32 damage, TexturePixmapX11ReportLevel report_level)

Sets the damage object that will be used to track automatic updates to the this.

Damage tracking can be disabled by passing 0 for damage. Otherwise this damage will replace the one used if true was passed for automatic_updates to TexturePixmapX11.

Note that Cogl will subtract from the damage region as it processes damage events.

Parameters:

this

A TexturePixmapX11 instance

damage

A X11 Damage object or 0

report_level

The report level which describes how to interpret the damage events. This should match the level that the damage object was created with.