def flip(self): if sys.platform == 'darwin': agl.aglSwapBuffers(self._agl_context) _aglcheck() elif sys.platform in ('win32', 'cygwin'): wgl.wglSwapLayerBuffers(self._dc, wgl.WGL_SWAP_MAIN_PLANE) else: glx.glXSwapBuffers(self.config._display, self.window.xid)
def flip(self): if sys.platform == 'darwin': agl.aglSwapBuffers(self._agl_context) _aglcheck() elif sys.platform in ('win32', 'cygwin'): wgl.wglSwapLayerBuffers(self._dc, wgl.WGL_SWAP_MAIN_PLANE) else: glx.glXSwapBuffers(self.context.x_display, self.get_property('window').get_xid())
def flip(self): wgl.wglSwapLayerBuffers(self.canvas.hdc, wgl.WGL_SWAP_MAIN_PLANE)
def flip(self): self.draw_mouse_cursor() wgl.wglSwapLayerBuffers(self._dc, wgl.WGL_SWAP_MAIN_PLANE)