GL11Extension.java :  » UnTagged » eagle-library » eagle » android » gles11 » Android Open Source

Android Open Source » UnTagged » eagle library 
eagle library » eagle » android » gles11 » GL11Extension.java
/**
 *
 * @author eagle.sakura
 * @version 2010/07/10 : 
 */
package eagle.android.gles11;

import java.nio.Buffer;

import javax.microedition.khronos.opengles.GL11Ext;

/**
 * glext.h{@link GL11Ext}<BR> {@link GL11Ext}
 * NDK
 *
 * @author eagle.sakura
 * @version 2010/07/10 : 
 */
public class GL11Extension {
    static {
        System.loadLibrary("eagle_android_gles11_GL11Extension");
    }

    /**
     *
     */
    public static final int GL_MATRIX_PALETTE_OES = 0x8840;

    /**
     *
     */
    public static final int GL_MATRIX_INDEX_ARRAY_OES = 0x8844;

    /**
     *
     */
    public static final int GL_WEIGHT_ARRAY_OES = 0x86AD;

    /**
     * glMatrixMode
     *
     * @author eagle.sakura
     * @param mode
     * @version 2010/07/10 : 
     */
    public native void glMatrixMode(int mode);

    /**
     * glCurrentPaletteMatrixOES<BR>
     * Xperia20HT-03A48
     *
     * @author eagle.sakura
     * @param index
     * @version 2010/07/10 : 
     */
    public native void glCurrentPaletteMatrixOES(int index);

    /**
     * glLoadMatrixx
     *
     * @author eagle.sakura
     * @param buffer
     * @version 2010/07/10 : 
     */
    public native void glLoadMatrixx(Buffer buffer);

    /**
     * glLoadMatrixf
     *
     * @author eagle.sakura
     * @param buffer
     * @version 2010/07/10 : 
     */
    public native void glLoadMatrixf(Buffer buffer);

    /**
     * glEnable
     *
     * @author eagle.sakura
     * @param flag
     * @version 2010/07/10 : 
     * @see GL11Ext#GL_MATRIX_PALETTE_OES
     */
    public native void glEnable(int flag);

    /**
     * glEnableClientState
     *
     * @author eagle.sakura
     * @param flag
     * @version 2010/07/10 : 
     * @see GL11Ext#GL_MATRIX_INDEX_ARRAY_OES
     */
    public native void glEnableClientState(int flag);

    /**
     * glWeightPointerOES<BR>
     * buffer
     *
     * @author eagle.sakura
     * @param num
     * @param type
     * @param stride
     * @param buffer
     * @version 2010/07/10 : 
     */
    public native void glWeightPointerOES(int num, int type, int stride, Buffer buffer);

    /**
     * glMatrixIndexPointerOES<BR>
     * Xperia/HT-03A
     *
     * @author eagle.sakura
     * @param num
     * @param type
     * @param stride
     * @param buffer
     * @version 2010/07/10 : 
     */
    public native void glMatrixIndexPointerOES(int num, int type, int stride, Buffer buffer);

    /**
     * glLoadPaletteFromModelViewMatrixOES
     *
     * @author eagle.sakura
     * @version 2010/07/10 : 
     */
    public native void glLoadPaletteFromModelViewMatrixOES();
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.