diff options
author | Sven Gothel <[email protected]> | 2011-11-23 06:26:47 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-23 06:26:47 +0100 |
commit | a58e1022869aa1767fe021408588789e96a8a207 (patch) | |
tree | 402fa268da966a8f618d43e24c6b8503d093d9be /src/nativewindow | |
parent | ab5a9ca4aec5c78f055c47859342d38ecb0f9601 (diff) |
AWTGraphicsConfiguration: Private special cstr. FIXME: Use 'encapsulated' ie. delegated in all cases.
Diffstat (limited to 'src/nativewindow')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java | 6 |
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 |