Search in sources :

Example 1 with IosInputHandler

use of com.jme3.input.ios.IosInputHandler in project jmonkeyengine by jMonkeyEngine.

the class IGLESContext method create.

@Override
public void create(boolean waitFor) {
    logger.log(Level.FINE, "IGLESContext create");
    GL gl = new IosGL();
    GLExt glext = (GLExt) gl;
    //        if (settings.getBoolean("GraphicsDebug")) {
    gl = new GLDebugES(gl, glext, (GLFbo) glext);
    glext = (GLExt) gl;
    //        }
    renderer = new GLRenderer(gl, glext, (GLFbo) glext);
    renderer.initialize();
    input = new IosInputHandler();
    timer = new NanoTimer();
    //synchronized (createdLock){
    created.set(true);
    //createdLock.notifyAll();
    //}
    listener.initialize();
    if (waitFor) {
    //waitFor(true);
    }
    logger.log(Level.FINE, "IGLESContext created");
}
Also used : GLExt(com.jme3.renderer.opengl.GLExt) GLFbo(com.jme3.renderer.opengl.GLFbo) GLRenderer(com.jme3.renderer.opengl.GLRenderer) IosInputHandler(com.jme3.input.ios.IosInputHandler) GL(com.jme3.renderer.opengl.GL) IosGL(com.jme3.renderer.ios.IosGL) IosGL(com.jme3.renderer.ios.IosGL) GLDebugES(com.jme3.renderer.opengl.GLDebugES)

Aggregations

IosInputHandler (com.jme3.input.ios.IosInputHandler)1 IosGL (com.jme3.renderer.ios.IosGL)1 GL (com.jme3.renderer.opengl.GL)1 GLDebugES (com.jme3.renderer.opengl.GLDebugES)1 GLExt (com.jme3.renderer.opengl.GLExt)1 GLFbo (com.jme3.renderer.opengl.GLFbo)1 GLRenderer (com.jme3.renderer.opengl.GLRenderer)1