def __init__(self, client, wid, x, y, w, h, metadata, override_redirect): ClientWindow.__init__(self, client, wid, x, y, w, h, metadata, override_redirect) display_mode = gtk.gdkgl.MODE_RGB | gtk.gdkgl.MODE_SINGLE self.glconfig = gtk.gdkgl.Config(mode=display_mode) self.glarea = gtk.gtkgl.DrawingArea(self.glconfig) self.glarea.set_size_request(w, h) self.glarea.show() self.add(self.glarea) self._on_close = [] self.textures = None # OpenGL texture IDs self.current_mode = GLClientWindow.MODE_UNINITIALIZED
def __init__(self, client, wid, x, y, w, h, metadata, override_redirect): ClientWindow.__init__(self, client, wid, x, y, w, h, metadata, override_redirect) display_mode = (gtk.gdkgl.MODE_RGB | gtk.gdkgl.MODE_SINGLE) self.glconfig = gtk.gdkgl.Config(mode=display_mode) self.glarea = gtk.gtkgl.DrawingArea(self.glconfig) self.glarea.set_size_request(w, h) self.glarea.show() self.add(self.glarea) self._on_close = [] self.textures = None # OpenGL texture IDs self.current_mode = GLClientWindow.MODE_UNINITIALIZED
def __init__(self, client, wid, x, y, w, h, metadata, override_redirect, client_properties, auto_refresh_delay): ClientWindow.__init__( self, client, wid, x, y, w, h, metadata, override_redirect, client_properties, auto_refresh_delay ) display_mode = gtk.gdkgl.MODE_RGB | gtk.gdkgl.MODE_SINGLE self.glconfig = gtk.gdkgl.Config(mode=display_mode) self.glarea = gtk.gtkgl.DrawingArea(self.glconfig) self.glarea.set_size_request(w, h) self.glarea.show() self.add(self.glarea) self._video_decoder = None self._video_decoder_codec = None self.textures = None # OpenGL texture IDs self.current_mode = GLClientWindow.MODE_UNINITIALIZED
def __init__(self, client, wid, x, y, w, h, metadata, override_redirect, client_properties, auto_refresh_delay): ClientWindow.__init__(self, client, wid, x, y, w, h, metadata, override_redirect, client_properties, auto_refresh_delay) display_mode = (gtk.gdkgl.MODE_RGB | gtk.gdkgl.MODE_SINGLE) self.glconfig = gtk.gdkgl.Config(mode=display_mode) self.glarea = gtk.gtkgl.DrawingArea(self.glconfig) self.glarea.set_size_request(w, h) self.glarea.show() self.add(self.glarea) self._video_decoder = None self._video_decoder_codec = None self.textures = None # OpenGL texture IDs self.current_mode = GLClientWindow.MODE_UNINITIALIZED
def __init__(self, client, group_leader, wid, x, y, w, h, metadata, override_redirect, client_properties, auto_refresh_delay): debug("GLClientWindow(..)") ClientWindow.__init__(self, client, group_leader, wid, x, y, w, h, metadata, override_redirect, client_properties, auto_refresh_delay) self.set_reallocate_redraws(True) self.add(self._backing.glarea)