// Path: vrlib/src/main/java/com/martin/ads/vrlib/constant/GLEtc.java
// public class GLEtc {
//     public static final int NO_TEXTURE=0;
//     //i.e. GLES11Ext.GL_TEXTURE_EXTERNAL_OES
//     public static final int GL_TEXTURE_EXTERNAL_OES = 0x8D65;
// }


import android.content.Context;
import android.graphics.Bitmap;
import android.opengl.GLES20;
import android.opengl.GLUtils;
import android.util.Log;
import com.martin.ads.vrlib.constant.GLEtc;
package com.martin.ads.vrlib.utils;




/**
 * Created by Ads on 2016/11/19.
 */

public class TextureUtils {
    private static final String TAG = "TextureUtils";

    public static void bindTexture2D(int textureId,int activeTextureID,int handle,int idx){
// Path: vrlib/src/main/java/com/martin/ads/vrlib/constant/GLEtc.java
// public class GLEtc {
//     public static final int NO_TEXTURE=0;
//     //i.e. GLES11Ext.GL_TEXTURE_EXTERNAL_OES
//     public static final int GL_TEXTURE_EXTERNAL_OES = 0x8D65;
// }


// Path: vrlib/src/main/java/com/martin/ads/vrlib/utils/TextureUtils.java
import android.content.Context;
import android.graphics.Bitmap;
import android.opengl.GLES20;
import android.opengl.GLUtils;
import android.util.Log;
import com.martin.ads.vrlib.constant.GLEtc;

package com.martin.ads.vrlib.utils;




/**
 * Created by Ads on 2016/11/19.
 */

public class TextureUtils {
    private static final String TAG = "TextureUtils";

    public static void bindTexture2D(int textureId,int activeTextureID,int handle,int idx){
        if (textureId != GLEtc.NO_TEXTURE) {