aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-23 06:26:47 +0100
committerSven Gothel <[email protected]>2011-11-23 06:26:47 +0100
commita58e1022869aa1767fe021408588789e96a8a207 (patch)
tree402fa268da966a8f618d43e24c6b8503d093d9be /src
parentab5a9ca4aec5c78f055c47859342d38ecb0f9601 (diff)
AWTGraphicsConfiguration: Private special cstr. FIXME: Use 'encapsulated' ie. delegated in all cases.
Diffstat (limited to 'src')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java b/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java
index 38ad2d795..f60fc3312 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java
@@ -64,8 +64,8 @@ public class AWTGraphicsConfiguration extends DefaultGraphicsConfiguration imple
this.encapsulated=encapsulated;
}
- public AWTGraphicsConfiguration(AWTGraphicsScreen screen, CapabilitiesImmutable capsChosen, CapabilitiesImmutable capsRequested,
- GraphicsConfiguration config) {
+ private AWTGraphicsConfiguration(AWTGraphicsScreen screen, CapabilitiesImmutable capsChosen, CapabilitiesImmutable capsRequested,
+ GraphicsConfiguration config) {
super(screen, capsChosen, capsRequested);
this.config = config;
this.encapsulated=null;
@@ -102,6 +102,7 @@ public class AWTGraphicsConfiguration extends DefaultGraphicsConfiguration imple
capsChosen = setupCapabilitiesRGBABits(capsRequested, gc);
}
return new AWTGraphicsConfiguration(awtScreen, capsChosen, capsRequested, awtGfxConfig);
+ // FIXME: use encapsulated X11 as used in X11AWTGLXGraphicsConfigurationFactory
}
public void updateGraphicsConfiguration(Component awtComp)
@@ -127,6 +128,7 @@ public class AWTGraphicsConfiguration extends DefaultGraphicsConfiguration imple
CapabilitiesImmutable caps = ( null != getChosenCapabilities() ) ? getChosenCapabilities() : getRequestedCapabilities();
GraphicsConfiguration gc = awtGraphicsDevice.getDefaultConfiguration();
setChosenCapabilities(setupCapabilitiesRGBABits(caps, gc));
+ // FIXME: use encapsulated X11 as used in X11AWTGLXGraphicsConfigurationFactory
}
// open access to superclass method