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.
context |
A Context |
pixmap |
A X11 pixmap ID |
automatic_updates |
Whether to automatically copy the contents of the pixmap to the texture. |
a new TexturePixmapX11 instance |