public MagicBlackCatFilter(Context context) { super(NO_FILTER_VERTEX_SHADER, OpenGLUtils.readShaderFromRawResource(context, R.raw.blackcat)); }
public void onInit() { super.onInit(); inputTextureHandles[0] = OpenGLUtils.loadTexture(mContext, "filter/xpromap.png"); inputTextureHandles[1] = OpenGLUtils.loadTexture(mContext, "filter/vignettemap_new.png"); }
public MagicSunriseFilter(Context context) { super(NO_FILTER_VERTEX_SHADER, OpenGLUtils.readShaderFromRawResource(context, R.raw.sunrise)); mContext = context; }
public MagicXproIIFilter(Context context) { super( NO_FILTER_VERTEX_SHADER, OpenGLUtils.readShaderFromRawResource(context, R.raw.xproii_filter_shader)); mContext = context; }