public static void RedirectDrawable(Drawable d) { uint xid = GdkUtils.GetXid(d); Log.Debug($"xid = {xid} d.handle = {d.Handle}, d.Display.Handle = {d.Display.Handle}"); XCompositeRedirectWindow(GdkUtils.GetXDisplay(d.Display), GdkUtils.GetXid(d), CompositeRedirect.Manual); }
public static void RedirectDrawable(Drawable d) { uint xid = GdkUtils.GetXid(d); Log.DebugFormat("xid = {0} d.handle = {1}, d.Display.Handle = {2}", xid, d.Handle, d.Display.Handle); XCompositeRedirectWindow(GdkUtils.GetXDisplay(d.Display), GdkUtils.GetXid(d), CompositeRedirect.Manual); }
public void SwapBuffers(Gdk.Drawable drawable) { glXSwapBuffers(GdkUtils.GetXDisplay(drawable.Display), GdkUtils.GetXid(drawable)); }
public bool MakeCurrent(Gdk.Drawable drawable) { return(glXMakeCurrent(GdkUtils.GetXDisplay(drawable.Display), GdkUtils.GetXid(drawable), Handle)); }