Tabnine Logo
EAGLContext.setCurrentContext
Code IndexAdd Tabnine to your IDE (free)

How to use
setCurrentContext
method
in
org.robovm.apple.opengles.EAGLContext

Best Java code snippets using org.robovm.apple.opengles.EAGLContext.setCurrentContext (Showing top 9 results out of 315)

origin: libgdx/libgdx

void makeCurrent () {
  EAGLContext.setCurrentContext(context);
}
origin: libgdx/libgdx

void makeCurrent () {
  EAGLContext.setCurrentContext(context);
}
origin: com.badlogicgames.gdx/gdx-backend-robovm

void makeCurrent () {
  EAGLContext.setCurrentContext(context);
}
origin: threerings/playn

 public void invoke (NSTimer timer) {
  // shutdown the GL view completely
  EAGLContext.setCurrentContext(null);
  // stop and release the AL resources (if audio was ever initialized)
  if (audio != null) audio.terminate();
 }
}, null, false);
origin: playn/playn

@Override // from ViewController
public void viewDidDisappear(boolean animated) {
 super.viewDidDisappear(animated);
 EAGLContext.setCurrentContext(null);
}
origin: threerings/playn

@Override // from ViewController
public void viewDidDisappear(boolean animated) {
 super.viewDidDisappear(animated);
 EAGLContext.setCurrentContext(null);
}
origin: playn/playn

 public void invoke (NSTimer timer) {
  // shutdown the GL view completely
  EAGLContext.setCurrentContext(null);
  // stop and release the AL resources (if audio was ever initialized)
  if (audio != null) audio.terminate();
 }
}, null, false);
origin: threerings/playn

@Override // from ViewController
public void viewDidAppear(boolean animated) {
 super.viewDidAppear(animated);
 // platform.log().debug("viewDidAppear(" + animated + "): " + bounds);
 EAGLContext.setCurrentContext(view.getContext());
 platform.graphics().ctx.viewDidAppear();
 platform.graphics().setSize(getView().getBounds());
}
origin: playn/playn

EAGLContext.setCurrentContext(ctx);
plat = new RoboPlatform(config, bounds);
view = new GLKView(bounds, ctx) {
org.robovm.apple.openglesEAGLContextsetCurrentContext

Popular methods of EAGLContext

  • <init>
  • init
  • initObject

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now