// Path: openCVTutorial1CameraPreview/src/main/java/aruco/min3d/Min3d.java
// public class Min3d 
// {
// 	public static final String TAG = "Min3D";
// 	
// 	/*
// 	 * Project homepage: 	http://code.google.com/p/min3d
// 	 * License:				MIT
// 	 * 
// 	 * Author: 				Lee Felarca
// 	 * Website:				http://www.zeropointnine.com/blog
// 	 *
// 	 * Author: 				Dennis Ippel
// 	 * Author blog:			http://www.rozengain.com/blog/
// 	 */
// }


import java.nio.IntBuffer;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import android.util.Log;
import aruco.min3d.Min3d;
		
		// Aliased point size range
		i = IntBuffer.allocate(2);
		$gl.glGetIntegerv(GL10.GL_ALIASED_POINT_SIZE_RANGE, i);
		_aliasedPointSizeMin = i.get(0);
		_aliasedPointSizeMax = i.get(1);

		// Smooth point size range
		i = IntBuffer.allocate(2);
		$gl.glGetIntegerv(GL10.GL_SMOOTH_POINT_SIZE_RANGE, i);
		_smoothPointSizeMin = i.get(0);
		_smoothPointSizeMax = i.get(1);

		// Aliased line width range
		i = IntBuffer.allocate(2);
		$gl.glGetIntegerv(GL10.GL_ALIASED_LINE_WIDTH_RANGE, i);
		_aliasedLineSizeMin = i.get(0);
		_aliasedLineSizeMax = i.get(1);

		// Smooth line width range
		i = IntBuffer.allocate(2);
		$gl.glGetIntegerv(GL10.GL_SMOOTH_LINE_WIDTH_RANGE, i);
		_smoothLineSizeMin = i.get(0);
		_smoothLineSizeMax = i.get(1);
		
	    // Max lights
		i = IntBuffer.allocate(1);
		$gl.glGetIntegerv(GL10.GL_MAX_LIGHTS, i);
		_maxLights = i.get(0);

// Path: openCVTutorial1CameraPreview/src/main/java/aruco/min3d/Min3d.java
// public class Min3d 
// {
// 	public static final String TAG = "Min3D";
// 	
// 	/*
// 	 * Project homepage: 	http://code.google.com/p/min3d
// 	 * License:				MIT
// 	 * 
// 	 * Author: 				Lee Felarca
// 	 * Website:				http://www.zeropointnine.com/blog
// 	 *
// 	 * Author: 				Dennis Ippel
// 	 * Author blog:			http://www.rozengain.com/blog/
// 	 */
// }


// Path: openCVTutorial1CameraPreview/src/main/java/min3d/core/RenderCaps.java
import java.nio.IntBuffer;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import android.util.Log;
import aruco.min3d.Min3d;

		
		// Aliased point size range
		i = IntBuffer.allocate(2);
		$gl.glGetIntegerv(GL10.GL_ALIASED_POINT_SIZE_RANGE, i);
		_aliasedPointSizeMin = i.get(0);
		_aliasedPointSizeMax = i.get(1);

		// Smooth point size range
		i = IntBuffer.allocate(2);
		$gl.glGetIntegerv(GL10.GL_SMOOTH_POINT_SIZE_RANGE, i);
		_smoothPointSizeMin = i.get(0);
		_smoothPointSizeMax = i.get(1);

		// Aliased line width range
		i = IntBuffer.allocate(2);
		$gl.glGetIntegerv(GL10.GL_ALIASED_LINE_WIDTH_RANGE, i);
		_aliasedLineSizeMin = i.get(0);
		_aliasedLineSizeMax = i.get(1);

		// Smooth line width range
		i = IntBuffer.allocate(2);
		$gl.glGetIntegerv(GL10.GL_SMOOTH_LINE_WIDTH_RANGE, i);
		_smoothLineSizeMin = i.get(0);
		_smoothLineSizeMax = i.get(1);
		
	    // Max lights
		i = IntBuffer.allocate(1);
		$gl.glGetIntegerv(GL10.GL_MAX_LIGHTS, i);
		_maxLights = i.get(0);

		Log.v(Min3d.TAG, "RenderCaps - openGLVersion: " + _openGlVersion);