Codota Logo
EAGLContext
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain EAGLContext
private void myMethod () {
EAGLContext e =
  • Codota IconEAGLRenderingAPI api;new EAGLContext(api)
  • Smart code suggestions by Codota
}
origin: libgdx/libgdx

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

public EAGLContext(EAGLRenderingAPI api, EAGLSharegroup sharegroup) { super((SkipInit) null); initObject(init(api, sharegroup)); }
/*</constructors>*/
origin: playn/playn

EAGLContext ctx = new EAGLContext(EAGLRenderingAPI.OpenGLES2);
EAGLContext.setCurrentContext(ctx);
plat = new RoboPlatform(config, bounds);
view = new GLKView(bounds, ctx) {
origin: libgdx/libgdx

context = new EAGLContext(EAGLRenderingAPI.OpenGLES3);
if (context != null)
  gl20 = gl30 = new IOSGLES30();
context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);
gl20 = new IOSGLES20();
gl30 = null;
origin: libgdx/libgdx

context = new EAGLContext(EAGLRenderingAPI.OpenGLES3);
if (context != null)
  gl20 = gl30 = new IOSGLES30();
context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);
gl20 = new IOSGLES20();
gl30 = null;
origin: robovm/robovm

public EAGLContext(EAGLRenderingAPI api) { super((SkipInit) null); initObject(init(api)); }
public EAGLContext(EAGLRenderingAPI api, EAGLSharegroup sharegroup) { super((SkipInit) null); initObject(init(api, sharegroup)); }
origin: libgdx/libgdx

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

EAGLContext ctx = new EAGLContext(EAGLRenderingAPI.OpenGLES2);
platform = new RoboPlatform(bounds, config);
view = new GLKView(bounds, ctx) {
origin: com.mobidevelop.robovm/robovm-cocoatouch

@Method(selector = "initWithAPI:")
public EAGLContext(EAGLRenderingAPI api) { super((SkipInit) null); initObject(init(api)); }
@Method(selector = "initWithAPI:sharegroup:")
origin: com.badlogicgames.gdx/gdx-backend-robovm

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

context = new EAGLContext(EAGLRenderingAPI.OpenGLES3);
if (context != null)
  gl20 = gl30 = new IOSGLES30();
context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);
gl20 = new IOSGLES20();
gl30 = null;
origin: com.gluonhq/robovm-cocoatouch

@Method(selector = "initWithAPI:sharegroup:")
public EAGLContext(EAGLRenderingAPI api, EAGLSharegroup sharegroup) { super((SkipInit) null); initObject(init(api, sharegroup)); }
/*</constructors>*/
origin: threerings/playn

@Override // from ViewController
public void viewDidDisappear(boolean animated) {
 super.viewDidDisappear(animated);
 EAGLContext.setCurrentContext(null);
}
origin: com.mobidevelop.robovm/robovm-cocoatouch

@Method(selector = "initWithAPI:sharegroup:")
public EAGLContext(EAGLRenderingAPI api, EAGLSharegroup sharegroup) { super((SkipInit) null); initObject(init(api, sharegroup)); }
/*</constructors>*/
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: com.gluonhq/robovm-cocoatouch

@Method(selector = "initWithAPI:")
public EAGLContext(EAGLRenderingAPI api) { super((SkipInit) null); initObject(init(api)); }
@Method(selector = "initWithAPI:sharegroup:")
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 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());
}
org.robovm.apple.openglesEAGLContext

Most used methods

  • <init>
  • setCurrentContext
  • init
  • initObject

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Reference (javax.naming)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now