Cogl.TexturePixmapX11.prototype.is_using_tfp_extension

function is_using_tfp_extension(): Cogl.Bool {
    // Gjs wrapper for cogl_texture_pixmap_x11_is_using_tfp_extension()
}
  

Checks whether the given texture is using the GLX_EXT_texture_from_pixmap or similar extension to copy the contents of the pixmap to the texture. This extension is usually implemented as zero-copy operation so it implies the updates are working efficiently.

Since 1.4

Returns

true if the texture is using an efficient extension and false otherwise