void initializeListener() { if(!listenerInitialized) { listener.create(); listener.resize(graphics.getWidth(), graphics.getHeight()); listenerInitialized = true; } }
void initializeListener() { if(!listenerInitialized) { listener.create(); listener.resize(graphics.getWidth(), graphics.getHeight()); listenerInitialized = true; } }
void create () { try { setGlobals(); graphics.initiateGL(); canvas.setVSyncEnabled(graphics.config.vSyncEnabled); listener.create(); lastWidth = Math.max(1, graphics.getWidth()); lastHeight = Math.max(1, graphics.getHeight()); listener.resize(lastWidth, lastHeight); start(); } catch (Throwable ex) { stopped(); exception(ex); } }
@Override public void onSurfaceChanged (javax.microedition.khronos.opengles.GL10 gl, int width, int height) { this.width = width; this.height = height; updatePpi(); gl.glViewport(0, 0, this.width, this.height); if (created == false) { app.getApplicationListener().create(); created = true; synchronized (this) { running = true; } } app.getApplicationListener().resize(width, height); }
void create () { try { setGlobals(); graphics.initiateGL(); canvas.setVSyncEnabled(graphics.config.vSyncEnabled); listener.create(); lastWidth = Math.max(1, graphics.getWidth()); lastHeight = Math.max(1, graphics.getHeight()); listener.resize(lastWidth, lastHeight); start(); } catch (Throwable ex) { stopped(); exception(ex); } }
@Override public void onSurfaceChanged (javax.microedition.khronos.opengles.GL10 gl, int width, int height) { this.width = width; this.height = height; updatePpi(); gl.glViewport(0, 0, this.width, this.height); if (created == false) { app.getApplicationListener().create(); created = true; synchronized (this) { running = true; } } app.getApplicationListener().resize(width, height); }
graphics.setupDisplay(); listener.create(); listener.resize(Math.max(1, graphics.getWidth()), Math.max(1, graphics.getHeight()));
graphics.setupDisplay(); listener.create(); listener.resize(Math.max(1, graphics.getWidth()), Math.max(1, graphics.getHeight()));
glVersion = new GLVersion(Application.ApplicationType.iOS, versionString, vendorString, rendererString); app.listener.create(); app.listener.resize(width, height); created = true;
glVersion = new GLVersion(Application.ApplicationType.iOS, versionString, vendorString, rendererString); app.listener.create(); app.listener.resize(width, height); created = true;
glVersion = new GLVersion(Application.ApplicationType.iOS, versionString, vendorString, rendererString); app.listener.create(); app.listener.resize(width, height); created = true;
glVersion = new GLVersion(Application.ApplicationType.iOS, versionString, vendorString, rendererString); app.listener.create(); app.listener.resize(width, height); created = true;
void mainLoop () { Array<LifecycleListener> lifecycleListeners = this.lifecycleListeners; listener.create();
void mainLoop () { Array<LifecycleListener> lifecycleListeners = this.lifecycleListeners; listener.create();
listener.create(); listener.resize(graphics.getWidth(), graphics.getHeight()); } catch (Throwable t) {
listener.create(); listener.resize(graphics.getWidth(), graphics.getHeight()); } catch (Throwable t) {
listener.create(); graphics.resize = true;
listener.create(); graphics.resize = true;
@Override public void create() { application.create(); }
void initializeListener() { if(!listenerInitialized) { listener.create(); listener.resize(graphics.getWidth(), graphics.getHeight()); listenerInitialized = true; } }