| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private MacOSXGraphicsDevice | |
| private final HashSet | |
| private static final int | |
| private static DesktopGLDynamicLookupHelper | |
| private HashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | canCreateExternalGLDrawable(final AbstractGraphicsDevice
which device)connection denotes the shared the target device, may be null for the platform's default device.Implements abstract com. createExternalGLDrawable.
|
| public boolean | canCreateGLPbuffer(final AbstractGraphicsDevice
which device, final GLProfile connection denotes the shared the target device, may be null for the platform's default device.GLProfile to check for FBO capabilitiesImplements abstract jogamp. |
| public final ProxySurface | createDummySurfaceImpl(final AbstractGraphicsDevice
a valid platform dependent target device. deviceReq, final boolean if createNewDevice, GLCapabilitiesImmutable chosenCaps, final GLCapabilitiesImmutable requestedCaps, final GLCapabilitiesChooser true a new device instance is created using device details,
otherwise device instance is used as-is.the custom chooser, may be null for default chooser, final int the initial width as returned by width, final int NativeSurface#getSurfaceWidth(), not the actual dummy surface width.
The latter is platform specific and smallthe initial height as returned by height)NativeSurface#getSurfaceHeight(), not the actual dummy surface height,
The latter is platform specific and smallImplements abstract jogamp. |
| protected GLContext | createExternalGLContextImpl()
Implements abstract jogamp. |
| protected GLDrawable | createExternalGLDrawableImpl()
Implements abstract jogamp. |
| protected ProxySurface | createMutableSurfaceImpl(final AbstractGraphicsDevice
a valid platform dependent target device. deviceReq, final boolean if createNewDevice, final GLCapabilitiesImmutable capsChosen, final GLCapabilitiesImmutable capsRequested, final GLCapabilitiesChooser true a new independent device instance is created using device details,
otherwise device instance is used as-is.the custom chooser, may be null for default chooser, final UpstreamSurfaceHook surface size information and optional control of the surface's lifecycle upstreamHook)Implements abstract jogamp. ProxySurface w/o defined surface handle.
|
| protected GLDrawableImpl | createOffscreenDrawableImpl(final NativeSurface target)
Implements abstract jogamp. |
| protected GLDrawableImpl | createOnscreenDrawableImpl(final NativeSurface target)
Implements abstract jogamp. |
| protected ProxySurface | createProxySurfaceImpl(final AbstractGraphicsDevice deviceReq, final int screenIdx, final long windowHandle, final GLCapabilitiesImmutable capsRequested, final GLCapabilitiesChooser chooser, final UpstreamSurfaceHook
TODO upstream)Implements abstract jogamp. ProxySurface with a set surface handle.
|
| public final ProxySurface | createSurfacelessImpl(final AbstractGraphicsDevice
a valid platform dependent target device. deviceReq, final boolean if createNewDevice, GLCapabilitiesImmutable chosenCaps, final GLCapabilitiesImmutable requestedCaps, final GLCapabilitiesChooser true a new device instance is created using device details,
otherwise device instance is used as-is.the custom chooser, may be null for default chooser, final int the initial width as returned by width, final int NativeSurface#getSurfaceWidth(), not the actual dummy surface width.
The latter is platform specific and smallthe initial height as returned by height)NativeSurface#getSurfaceHeight(), not the actual dummy surface height,
The latter is platform specific and smallImplements abstract jogamp. ProxySurface is a non-existing surface and will not be used as a render target.
|
| protected List | getAvailableCapabilitiesImpl(final AbstractGraphicsDevice device)
Implements abstract com. |
| public final AbstractGraphicsDevice | getDefaultDevice()
Implements abstract com. device connection,
unit ID and unique ID name.
|
| private boolean | |
| protected Buffer | getGammaRamp(final NativeSurface
TODO surface)
Gets the current gamma ramp.
|
| protected int | getGammaRampLength(final NativeSurface
TODO surface)Overrides jogamp. |
| public final GLDynamicLookupHelper | getGLDynamicLookupHelper(final int
the major OpenGL profile version majorVersion, final int the context profile options contextOptions)Implements abstract jogamp. null.
|
| public final boolean | getIsDeviceCompatible(final AbstractGraphicsDevice
which device)connection denotes the shared the target device, may be null for the platform's default device.Implements abstract com. |
| protected final MacOSXCGLDrawableFactory. | getOrCreateSharedResourceImpl(final AbstractGraphicsDevice adevice)
Implements abstract jogamp. |
| protected final Thread | getSharedResourceThread()
Implements abstract com. |
| public final boolean | hasMajorMinorCreateContextARB()
Implements abstract jogamp. true if underlying ARB context creation
supports major and minor version number.
|
| public final boolean | hasOpenGLDesktopSupport()
Implements abstract com. true if underlying implementation may support native desktop OpenGL,
otherwise false.
|
| public final boolean | hasOpenGLESSupport()
Implements abstract com. true if underlying implementation may support native embedded OpenGL ES,
otherwise false.
|
| protected final boolean | isComplete()
Implements abstract com. |
| private void | |
| protected void | resetGammaRamp(final NativeSurface
TODO surface, final Buffer originalGammaRamp)Overrides jogamp. |
| protected final void | resetGammaRamp(final GLDrawableFactoryImpl.
Overrides jogamp. |
| protected boolean | setGammaRamp(final NativeSurface
TODO surface, final float[] ramp)
Sets the gamma ramp for the main screen.
|
| protected final void |
| DEBUG_SHAREDCTX | back to summary |
|---|---|
| private static final boolean DEBUG_SHAREDCTX | |
| defaultDevice | back to summary |
|---|---|
| private MacOSXGraphicsDevice defaultDevice | |
| devicesTried | back to summary |
|---|---|
| private final HashSet<String> devicesTried | |
| GAMMA_RAMP_LENGTH | back to summary |
|---|---|
| private static final int GAMMA_RAMP_LENGTH | |
| macOSXCGLDynamicLookupHelper | back to summary |
|---|---|
| private static DesktopGLDynamicLookupHelper macOSXCGLDynamicLookupHelper | |
| sharedMap | back to summary |
|---|---|
| private HashMap<String, MacOSXCGLDrawableFactory. | |
| MacOSXCGLDrawableFactory | back to summary |
|---|---|
| public MacOSXCGLDrawableFactory() | |
| addDeviceTried | back to summary |
|---|---|
| private void addDeviceTried(final String connection) | |
| canCreateExternalGLDrawable | back to summary |
|---|---|
| public boolean canCreateExternalGLDrawable(final AbstractGraphicsDevice device) Implements abstract com. Doc from com. Returns true if it is possible to create an external GLDrawable
object via
| |
| canCreateGLPbuffer | back to summary |
|---|---|
| public boolean canCreateGLPbuffer(final AbstractGraphicsDevice device, final GLProfile glp) Implements abstract jogamp. Doc from com. Returns true if it is possible to create an pbuffer surface. Some older graphics cards do not have this capability, as well as some new GL implementation, i.e. OpenGL 3 core on OSX.
| |
| createDummySurfaceImpl | back to summary |
|---|---|
| public final ProxySurface createDummySurfaceImpl(final AbstractGraphicsDevice deviceReq, final boolean createNewDevice, GLCapabilitiesImmutable chosenCaps, final GLCapabilitiesImmutable requestedCaps, final GLCapabilitiesChooser chooser, final int width, final int height) Implements abstract jogamp. Doc from jogamp. A dummy surface is not visible on screen and may be on- or offscreen.
It is used to allow the creation of a
| |
| createExternalGLContextImpl | back to summary |
|---|---|
| protected GLContext createExternalGLContextImpl() Implements abstract jogamp.
| |
| createExternalGLDrawableImpl | back to summary |
|---|---|
| protected GLDrawable createExternalGLDrawableImpl() Implements abstract jogamp.
| |
| createMutableSurfaceImpl | back to summary |
|---|---|
| protected ProxySurface createMutableSurfaceImpl(final AbstractGraphicsDevice deviceReq, final boolean createNewDevice, final GLCapabilitiesImmutable capsChosen, final GLCapabilitiesImmutable capsRequested, final GLCapabilitiesChooser chooser, final UpstreamSurfaceHook upstreamHook) Implements abstract jogamp. Doc from jogamp. Creates a mutable
It's Lifecycle (destruction) of the TBD surface handle shall be handled by the caller.
| |
| createOffscreenDrawableImpl | back to summary |
|---|---|
| protected GLDrawableImpl createOffscreenDrawableImpl(final NativeSurface target) Implements abstract jogamp. Doc from jogamp. Creates a platform dependent unrealized offscreen pbuffer/pixmap GLDrawable instance
| |
| createOnscreenDrawableImpl | back to summary |
|---|---|
| protected GLDrawableImpl createOnscreenDrawableImpl(final NativeSurface target) Implements abstract jogamp.
| |
| createProxySurfaceImpl | back to summary |
|---|---|
| protected ProxySurface createProxySurfaceImpl(final AbstractGraphicsDevice deviceReq, final int screenIdx, final long windowHandle, final GLCapabilitiesImmutable capsRequested, final GLCapabilitiesChooser chooser, final UpstreamSurfaceHook upstream) Implements abstract jogamp. Doc from jogamp. Creates a
Implementation is also required to allocate it's own
| |
| createSurfacelessImpl | back to summary |
|---|---|
| public final ProxySurface createSurfacelessImpl(final AbstractGraphicsDevice deviceReq, final boolean createNewDevice, GLCapabilitiesImmutable chosenCaps, final GLCapabilitiesImmutable requestedCaps, final GLCapabilitiesChooser chooser, final int width, final int height) Implements abstract jogamp. Doc from jogamp. A surfaceless
It is used to allow the creation of a
| |
| getAvailableCapabilitiesImpl | back to summary |
|---|---|
| protected List Implements abstract com.
| |
| getDefaultDevice | back to summary |
|---|---|
| public final AbstractGraphicsDevice getDefaultDevice() Implements abstract com. Doc from com. Retrieve the default This method shall return the default device if available even if the GLDrawableFactory is not functional and hence not compatible. The latter situation may happen because no native OpenGL implementation is available for the specific implementation.
| |
| getDeviceTried | back to summary |
|---|---|
| private boolean getDeviceTried(final String connection) | |
| getGammaRamp | back to summary |
|---|---|
| protected Buffer getGammaRamp(final NativeSurface surface) Overrides jogamp. Doc from jogamp. Gets the current gamma ramp. This is basically an opaque value used only on some platforms to reset the gamma ramp to its original settings.
| |
| getGammaRampLength | back to summary |
|---|---|
| protected int getGammaRampLength(final NativeSurface surface) Overrides jogamp. Returns the length of the computed gamma ramp for this OS and hardware. Returns 0 if gamma changes are not supported.
| |
| getGLDynamicLookupHelper | back to summary |
|---|---|
| public final GLDynamicLookupHelper getGLDynamicLookupHelper(final int majorVersion, final int contextOptions) Implements abstract jogamp. Doc from jogamp. Returns the GLDynamicLookupHelper if installed, otherwise
| |
| getIsDeviceCompatible | back to summary |
|---|---|
| public final boolean getIsDeviceCompatible(final AbstractGraphicsDevice device) Implements abstract com.
| |
| getOrCreateSharedResourceImpl | back to summary |
|---|---|
| protected final MacOSXCGLDrawableFactory. Implements abstract jogamp.
| |
| getSharedResourceThread | back to summary |
|---|---|
| protected final Thread getSharedResourceThread() Implements abstract com. Doc from com. Validate and start the shared resource runner thread if necessary and if the implementation uses it. | |
| hasMajorMinorCreateContextARB | back to summary |
|---|---|
| public final boolean hasMajorMinorCreateContextARB() Implements abstract jogamp. Doc from jogamp. Method returns
Otherwise only the Always returns true.
| |
| hasOpenGLDesktopSupport | back to summary |
|---|---|
| public final boolean hasOpenGLDesktopSupport() Implements abstract com. Doc from com. Method returns This factory always supports native desktop OpenGL profiles.
| |
| hasOpenGLESSupport | back to summary |
|---|---|
| public final boolean hasOpenGLESSupport() Implements abstract com. Doc from com. Method returns This factory never supports native GLES profiles.
| |
| isComplete | back to summary |
|---|---|
| protected final boolean isComplete() Implements abstract com. Doc from com. Returns true if this factory is complete, i.e. ready to be used. Otherwise return false.
| |
| removeDeviceTried | back to summary |
|---|---|
| private void removeDeviceTried(final String connection) | |
| resetGammaRamp | back to summary |
|---|---|
| protected void resetGammaRamp(final NativeSurface surface, final Buffer originalGammaRamp) Overrides jogamp. Doc from jogamp. Resets the gamma ramp, potentially using the specified Buffer as data to restore the original values.
| |
| resetGammaRamp | back to summary |
|---|---|
| protected final void resetGammaRamp(final GLDrawableFactoryImpl. Overrides jogamp.
| |
| setGammaRamp | back to summary |
|---|---|
| protected boolean setGammaRamp(final NativeSurface surface, final float[] ramp) Overrides jogamp. Doc from jogamp. Sets the gamma ramp for the main screen. Returns false if gamma ramp changes were not supported.
| |
| shutdownImpl | back to summary |
|---|---|
| protected final void shutdownImpl() Implements abstract com.
| |