Lines Matching refs:mRS
36 private RenderScriptGL mRS; field in PhaseBeamRS
61 mRS = rs; in init()
67 mDotParticles = new ScriptField_Particle(mRS, DOT_COUNT); in init()
68 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS); in init()
73 mBeamParticles = new ScriptField_Particle(mRS, DOT_COUNT); in init()
74 Mesh.AllocationBuilder smb3 = new Mesh.AllocationBuilder(mRS); in init()
79 mScript = new ScriptC_phasebeam(mRS, mRes, R.raw.phasebeam); in init()
85 mPvConsts = new ScriptField_VpConsts(mRS, 1); in init()
96 mRS.bindRootScript(mScript); in init()
157 mVertexColors = new ScriptField_VertexColor_s(mRS, meshDataSize); in createBackgroundMesh()
171 Mesh.AllocationBuilder backgroundBuilder = new Mesh.AllocationBuilder(mRS); in createBackgroundMesh()
179 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id); in loadTexture()
191 ProgramVertex.Builder backgroundBuilder = new ProgramVertex.Builder(mRS); in createProgramVertex()
193 backgroundBuilder.addInput(ScriptField_VertexColor_s.createElement(mRS)); in createProgramVertex()
199 ProgramVertex.Builder builder = new ProgramVertex.Builder(mRS); in createProgramVertex()
205 mRS.bindProgramVertex(pvs); in createProgramVertex()
211 ProgramFragment.Builder backgroundBuilder = new ProgramFragment.Builder(mRS); in createProgramFragment()
216 ProgramFragment.Builder builder = new ProgramFragment.Builder(mRS); in createProgramFragment()
220 pf.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0); in createProgramFragment()
226 ProgramRaster.Builder builder = new ProgramRaster.Builder(mRS); in createProgramRaster()
229 mRS.bindProgramRaster(pr); in createProgramRaster()
233 ProgramStore.Builder builder = new ProgramStore.Builder(mRS); in createProgramFragmentStore()
235 mRS.bindProgramStore(builder.create()); in createProgramFragmentStore()
239 mRS.bindRootScript(mScript); in start()
243 mRS.bindRootScript(null); in stop()