Lines Matching refs:mRS
37 private RenderScriptGL mRS;
54 mRS = rs;
63 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS);
65 mDotParticles = new ScriptField_Particle(mRS, 83);
69 mScript = new ScriptC_noisefield(mRS, mRes, R.raw.noisefield);
75 mPvConsts = new ScriptField_VpConsts(mRS, 1);
142 mVertexColors = new ScriptField_VertexColor_s(mRS, meshDataSize);
156 Mesh.AllocationBuilder backgroundBuilder = new Mesh.AllocationBuilder(mRS);
164 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id,
176 ProgramVertex.Builder backgroundBuilder = new ProgramVertex.Builder(mRS);
178 backgroundBuilder.addInput(ScriptField_VertexColor_s.createElement(mRS));
184 ProgramVertex.Builder builder = new ProgramVertex.Builder(mRS);
185 builder = new ProgramVertex.Builder(mRS);
192 mRS.bindProgramVertex(pvs);
197 ProgramFragment.Builder backgroundBuilder = new ProgramFragment.Builder(mRS);
202 ProgramFragment.Builder builder = new ProgramFragment.Builder(mRS);
206 pf.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0);
211 ProgramRaster.Builder builder = new ProgramRaster.Builder(mRS);
214 mRS.bindProgramRaster(pr);
218 ProgramStore.Builder builder = new ProgramStore.Builder(mRS);
220 mRS.bindProgramStore(builder.create());
224 mRS.bindRootScript(mScript);
228 mRS.bindRootScript(null);