Examples of lockSurface()


Examples of com.jogamp.nativewindow.awt.JAWTWindow.lockSurface()

      GraphicsConfigInfo gcInf0 = Canvas3D.graphicsConfigTable.get(cv.graphicsConfiguration);
      AWTGraphicsConfiguration awtConfig = (AWTGraphicsConfiguration)gcInf0.getPrivateData();

        // JAWTWindow
      JAWTWindow nativeWindow = (JAWTWindow)NativeWindowFactory.getNativeWindow(cv, awtConfig);
      nativeWindow.lockSurface();
        try {
          glDrawable = GLDrawableFactory.getFactory(profile).createGLDrawable(nativeWindow);
          glContext = glDrawable.createContext(context(shareCtx));
        }
        finally {
View Full Code Here

Examples of javax.media.nativewindow.NativeSurface.lockSurface()

    // Assuming glContext != null

    final NativeSurface surface = glDrawble.getNativeSurface();
      final ProxySurface proxySurface = (surface instanceof ProxySurface) ? (ProxySurface)surface : null;

    final int lockRes = surface.lockSurface();

    try {
      // propagate new size - seems not relevant here
      if (proxySurface != null) {
        final UpstreamSurfaceHook ush = proxySurface.getUpstreamSurfaceHook();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.