TexturePixmapX11


Description:

public TexturePixmapX11 (Context context, uint32 pixmap, Bool automatic_updates) throws Error

Creates a texture that contains the contents of pixmap.

If automatic_updates is true then Cogl will attempt to listen for damage events on the pixmap and automatically update the texture when it changes.

Parameters:

context

A Context

pixmap

A X11 pixmap ID

automatic_updates

Whether to automatically copy the contents of the pixmap to the texture.

Returns:

a new TexturePixmapX11 instance