Lines Matching refs:ProgramStore
22 import android.renderscript.ProgramStore.BlendDstFunc;
23 import android.renderscript.ProgramStore.BlendSrcFunc;
24 import android.renderscript.ProgramStore.Builder;
25 import android.renderscript.ProgramStore.DepthFunc;
30 ProgramStore ditherEnable;
31 ProgramStore colorRWriteEnable;
32 ProgramStore colorGWriteEnable;
33 ProgramStore colorBWriteEnable;
34 ProgramStore colorAWriteEnable;
35 ProgramStore blendSrc;
36 ProgramStore blendDst;
37 ProgramStore depthWriteEnable;
38 ProgramStore depthFunc;
41 super(rstc, "ProgramStore", ctx);
45 private ProgramStore.Builder getDefaultBuilder(RenderScript RS) {
46 ProgramStore.Builder b = new ProgramStore.Builder(RS);
47 b.setBlendFunc(ProgramStore.BlendSrcFunc.ZERO, ProgramStore.BlendDstFunc.ZERO);
49 b.setDepthFunc(ProgramStore.DepthFunc.ALWAYS);
56 ProgramStore.Builder b = getDefaultBuilder(RS);
72 blendSrc = b.setBlendFunc(ProgramStore.BlendSrcFunc.DST_COLOR,
73 ProgramStore.BlendDstFunc.ZERO).create();
76 blendDst = b.setBlendFunc(ProgramStore.BlendSrcFunc.ZERO,
77 ProgramStore.BlendDstFunc.DST_ALPHA).create();
83 depthFunc = b.setDepthFunc(ProgramStore.DepthFunc.GREATER).create();
105 void checkObject(ProgramStore ps,
126 void varyBuilderColorAndDither(ProgramStore.Builder pb,
143 ProgramStore ps = pb.create();
158 ProgramStore.Builder b = new ProgramStore.Builder(RS);