// Path: aLynx/src/com/rock88dev/alynx/ALynxSetting.java
// public static class Rect {
// 	Rect(int x, int y, int w, int h){
// 		this.x=x;
// 		this.y=y;
// 		this.w=w;
// 		this.h=h;
// 		}
// 	Rect(int x, int y){
// 		this.x=x;
// 		this.y=y;
// 		this.w=64;
// 		this.h=64;
// 		}
// 	public int x,y,w,h;
// 	}


import java.nio.ByteBuffer;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import javax.microedition.khronos.opengles.GL11Ext;
import com.rock88dev.alynx.ALynxSetting.Rect;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView;
import android.opengl.GLU;
import android.opengl.GLUtils;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;

/** aLynx - Atari Lynx emulator for Android OS
 * 
 * Copyright (C) 2012
 * @author: rock88
 * 
 * e-mail: rock88a@gmail.com
 * 
 * http://rock88dev.blogspot.com
 * 
 */

package com.rock88dev.alynx;




public class ALynxEmuSurface_GL extends GLSurfaceView implements android.opengl.GLSurfaceView.Renderer {
	
	private Context mContext = null;
	private int[] textures = new int[7];
	private ALynxSetting set;
	
	static Bitmap ScreenBitmap = null, bitmap = null;
	static private ByteBuffer ScreenBuffer;
	
	long tick = 0, fps = 0;
	private int pad_no = 1;
	private int s_height;
	private int powervr = 0;
	private float opacity = 1.0f;
	private int size = 1;

// Path: aLynx/src/com/rock88dev/alynx/ALynxSetting.java
// public static class Rect {
// 	Rect(int x, int y, int w, int h){
// 		this.x=x;
// 		this.y=y;
// 		this.w=w;
// 		this.h=h;
// 		}
// 	Rect(int x, int y){
// 		this.x=x;
// 		this.y=y;
// 		this.w=64;
// 		this.h=64;
// 		}
// 	public int x,y,w,h;
// 	}


// Path: aLynx/src/com/rock88dev/alynx/ALynxEmuSurface_GL.java
import java.nio.ByteBuffer;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import javax.microedition.khronos.opengles.GL11Ext;
import com.rock88dev.alynx.ALynxSetting.Rect;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView;
import android.opengl.GLU;
import android.opengl.GLUtils;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;

/** aLynx - Atari Lynx emulator for Android OS
 * 
 * Copyright (C) 2012
 * @author: rock88
 * 
 * e-mail: rock88a@gmail.com
 * 
 * http://rock88dev.blogspot.com
 * 
 */

package com.rock88dev.alynx;




public class ALynxEmuSurface_GL extends GLSurfaceView implements android.opengl.GLSurfaceView.Renderer {
	
	private Context mContext = null;
	private int[] textures = new int[7];
	private ALynxSetting set;
	
	static Bitmap ScreenBitmap = null, bitmap = null;
	static private ByteBuffer ScreenBuffer;
	
	long tick = 0, fps = 0;
	private int pad_no = 1;
	private int s_height;
	private int powervr = 0;
	private float opacity = 1.0f;
	private int size = 1;

	private Rect[] rect = new Rect[6];
