sun.awt.X11GraphicsDevice Java Examples
The following examples show how to use
sun.awt.X11GraphicsDevice.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XEmbedClientHelper.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #2
Source File: XEmbedClientHelper.java From jdk8u_jdk with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #3
Source File: XEmbedClientHelper.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #4
Source File: XEmbedClientHelper.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #5
Source File: XEmbedClientHelper.java From dragonwell8_jdk with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #6
Source File: XEmbedClientHelper.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #7
Source File: XEmbedClientHelper.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #8
Source File: XEmbedClientHelper.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #9
Source File: XEmbedClientHelper.java From hottub with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #10
Source File: XEmbedClientHelper.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #11
Source File: XEmbedClientHelper.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #12
Source File: XEmbedClientHelper.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #13
Source File: XEmbedClientHelper.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public void handleReparentNotify(XEvent xev) { XReparentEvent re = xev.get_xreparent(); long newParent = re.get_parent(); if (active) { // unregister accelerators, etc. for old parent embedded.notifyStopped(); // check if newParent is a root window X11GraphicsConfig gc = (X11GraphicsConfig)embedded.getGraphicsConfiguration(); X11GraphicsDevice gd = (X11GraphicsDevice)gc.getDevice(); if ((newParent == XlibUtil.getRootWindow(gd.getScreen())) || (newParent == XToolkit.getDefaultRootWindow())) { // reparenting to root means XEmbed termination active = false; } else { // continue XEmbed with a new parent server = newParent; embedded.notifyStarted(); } } }
Example #14
Source File: GLXGraphicsConfig.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }
Example #15
Source File: GLXGraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }
Example #16
Source File: GLXGraphicsConfig.java From hottub with GNU General Public License v2.0 | 5 votes |
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) { if (!X11GraphicsEnvironment.isGLXAvailable()) { return null; } long cfginfo = 0; final String ids[] = new String[1]; OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { // getGLXConfigInfo() creates and destroys temporary // surfaces/contexts, so we should first invalidate the current // Java-level context and flush the queue... OGLContext.invalidateCurrentContext(); GLXGetConfigInfo action = new GLXGetConfigInfo(device.getScreen(), visualnum); rq.flushAndInvokeNow(action); cfginfo = action.getConfigInfo(); if (cfginfo != 0L) { OGLContext.setScratchSurface(cfginfo); rq.flushAndInvokeNow(new Runnable() { public void run() { ids[0] = OGLContext.getOGLIdString(); } }); } } finally { rq.unlock(); } if (cfginfo == 0) { return null; } int oglCaps = getOGLCapabilities(cfginfo); ContextCapabilities caps = new OGLContextCaps(oglCaps, ids[0]); return new GLXGraphicsConfig(device, visualnum, cfginfo, caps); }
Example #17
Source File: GLXGraphicsConfig.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) { if (!X11GraphicsEnvironment.isGLXAvailable()) { return null; } long cfginfo = 0; final String ids[] = new String[1]; OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { // getGLXConfigInfo() creates and destroys temporary // surfaces/contexts, so we should first invalidate the current // Java-level context and flush the queue... OGLContext.invalidateCurrentContext(); GLXGetConfigInfo action = new GLXGetConfigInfo(device.getScreen(), visualnum); rq.flushAndInvokeNow(action); cfginfo = action.getConfigInfo(); if (cfginfo != 0L) { OGLContext.setScratchSurface(cfginfo); rq.flushAndInvokeNow(new Runnable() { public void run() { ids[0] = OGLContext.getOGLIdString(); } }); } } finally { rq.unlock(); } if (cfginfo == 0) { return null; } int oglCaps = getOGLCapabilities(cfginfo); ContextCapabilities caps = new OGLContextCaps(oglCaps, ids[0]); return new GLXGraphicsConfig(device, visualnum, cfginfo, caps); }
Example #18
Source File: GLXGraphicsConfig.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) { if (!X11GraphicsEnvironment.isGLXAvailable()) { return null; } long cfginfo = 0; final String ids[] = new String[1]; OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { // getGLXConfigInfo() creates and destroys temporary // surfaces/contexts, so we should first invalidate the current // Java-level context and flush the queue... OGLContext.invalidateCurrentContext(); GLXGetConfigInfo action = new GLXGetConfigInfo(device.getScreen(), visualnum); rq.flushAndInvokeNow(action); cfginfo = action.getConfigInfo(); if (cfginfo != 0L) { OGLContext.setScratchSurface(cfginfo); rq.flushAndInvokeNow(new Runnable() { public void run() { ids[0] = OGLContext.getOGLIdString(); } }); } } finally { rq.unlock(); } if (cfginfo == 0) { return null; } int oglCaps = getOGLCapabilities(cfginfo); ContextCapabilities caps = new OGLContextCaps(oglCaps, ids[0]); return new GLXGraphicsConfig(device, visualnum, cfginfo, caps); }
Example #19
Source File: GLXGraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) { if (!X11GraphicsEnvironment.isGLXAvailable()) { return null; } long cfginfo = 0; final String ids[] = new String[1]; OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { // getGLXConfigInfo() creates and destroys temporary // surfaces/contexts, so we should first invalidate the current // Java-level context and flush the queue... OGLContext.invalidateCurrentContext(); GLXGetConfigInfo action = new GLXGetConfigInfo(device.getScreen(), visualnum); rq.flushAndInvokeNow(action); cfginfo = action.getConfigInfo(); if (cfginfo != 0L) { OGLContext.setScratchSurface(cfginfo); rq.flushAndInvokeNow(new Runnable() { public void run() { ids[0] = OGLContext.getOGLIdString(); } }); } } finally { rq.unlock(); } if (cfginfo == 0) { return null; } int oglCaps = getOGLCapabilities(cfginfo); ContextCapabilities caps = new OGLContextCaps(oglCaps, ids[0]); return new GLXGraphicsConfig(device, visualnum, cfginfo, caps); }
Example #20
Source File: GLXGraphicsConfig.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }
Example #21
Source File: GLXGraphicsConfig.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) { if (!X11GraphicsEnvironment.isGLXAvailable()) { return null; } long cfginfo = 0; final String ids[] = new String[1]; OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { // getGLXConfigInfo() creates and destroys temporary // surfaces/contexts, so we should first invalidate the current // Java-level context and flush the queue... OGLContext.invalidateCurrentContext(); GLXGetConfigInfo action = new GLXGetConfigInfo(device.getScreen(), visualnum); rq.flushAndInvokeNow(action); cfginfo = action.getConfigInfo(); if (cfginfo != 0L) { OGLContext.setScratchSurface(cfginfo); rq.flushAndInvokeNow(new Runnable() { public void run() { ids[0] = OGLContext.getOGLIdString(); } }); } } finally { rq.unlock(); } if (cfginfo == 0) { return null; } int oglCaps = getOGLCapabilities(cfginfo); ContextCapabilities caps = new OGLContextCaps(oglCaps, ids[0]); return new GLXGraphicsConfig(device, visualnum, cfginfo, caps); }
Example #22
Source File: GLXGraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) { if (!X11GraphicsEnvironment.isGLXAvailable()) { return null; } long cfginfo = 0; final String ids[] = new String[1]; OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { // getGLXConfigInfo() creates and destroys temporary // surfaces/contexts, so we should first invalidate the current // Java-level context and flush the queue... OGLContext.invalidateCurrentContext(); GLXGetConfigInfo action = new GLXGetConfigInfo(device.getScreen(), visualnum); rq.flushAndInvokeNow(action); cfginfo = action.getConfigInfo(); if (cfginfo != 0L) { OGLContext.setScratchSurface(cfginfo); rq.flushAndInvokeNow(new Runnable() { public void run() { ids[0] = OGLContext.getOGLIdString(); } }); } } finally { rq.unlock(); } if (cfginfo == 0) { return null; } int oglCaps = getOGLCapabilities(cfginfo); ContextCapabilities caps = new OGLContextCaps(oglCaps, ids[0]); return new GLXGraphicsConfig(device, visualnum, cfginfo, caps); }
Example #23
Source File: GLXGraphicsConfig.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }
Example #24
Source File: GLXGraphicsConfig.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }
Example #25
Source File: GLXGraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }
Example #26
Source File: GLXGraphicsConfig.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) { if (!X11GraphicsEnvironment.isGLXAvailable()) { return null; } long cfginfo = 0; final String ids[] = new String[1]; OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { // getGLXConfigInfo() creates and destroys temporary // surfaces/contexts, so we should first invalidate the current // Java-level context and flush the queue... OGLContext.invalidateCurrentContext(); GLXGetConfigInfo action = new GLXGetConfigInfo(device.getScreen(), visualnum); rq.flushAndInvokeNow(action); cfginfo = action.getConfigInfo(); if (cfginfo != 0L) { OGLContext.setScratchSurface(cfginfo); rq.flushAndInvokeNow(new Runnable() { public void run() { ids[0] = OGLContext.getOGLIdString(); } }); } } finally { rq.unlock(); } if (cfginfo == 0) { return null; } int oglCaps = getOGLCapabilities(cfginfo); ContextCapabilities caps = new OGLContextCaps(oglCaps, ids[0]); return new GLXGraphicsConfig(device, visualnum, cfginfo, caps); }
Example #27
Source File: GLXGraphicsConfig.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) { if (!X11GraphicsEnvironment.isGLXAvailable()) { return null; } long cfginfo = 0; final String ids[] = new String[1]; OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { // getGLXConfigInfo() creates and destroys temporary // surfaces/contexts, so we should first invalidate the current // Java-level context and flush the queue... OGLContext.invalidateCurrentContext(); GLXGetConfigInfo action = new GLXGetConfigInfo(device.getScreen(), visualnum); rq.flushAndInvokeNow(action); cfginfo = action.getConfigInfo(); if (cfginfo != 0L) { OGLContext.setScratchSurface(cfginfo); rq.flushAndInvokeNow(new Runnable() { public void run() { ids[0] = OGLContext.getOGLIdString(); } }); } } finally { rq.unlock(); } if (cfginfo == 0) { return null; } int oglCaps = getOGLCapabilities(cfginfo); ContextCapabilities caps = new OGLContextCaps(oglCaps, ids[0]); return new GLXGraphicsConfig(device, visualnum, cfginfo, caps); }
Example #28
Source File: GLXGraphicsConfig.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }
Example #29
Source File: GLXGraphicsConfig.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }
Example #30
Source File: GLXGraphicsConfig.java From hottub with GNU General Public License v2.0 | 5 votes |
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) { super(device, visualnum, 0, 0, (oglCaps.getCaps() & CAPS_DOUBLEBUFFERED) != 0); pConfigInfo = configInfo; initConfig(getAData(), configInfo); this.oglCaps = oglCaps; context = new OGLContext(OGLRenderQueue.getInstance(), this); }