Package javax.media.nativewindow

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.