Lines Matching refs:mRS
30 private RenderScriptGL mRS; field in GalaxyRS
57 mRS = rs; in init()
66 mSpaceClouds = new ScriptField_Particle(mRS, SPACE_CLOUDSTAR_COUNT); in init()
67 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); in init()
72 mBgStars = new ScriptField_Particle(mRS, BG_STAR_COUNT); in init()
73 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS); in init()
78 mStaticStars = new ScriptField_Particle(mRS, STATIC_STAR_COUNT); in init()
79 Mesh.AllocationBuilder smb3 = new Mesh.AllocationBuilder(mRS); in init()
84 mScript = new ScriptC_galaxy(mRS, mRes, R.raw.galaxy); in init()
92 mPvConsts = new ScriptField_VpConsts(mRS, 1); in init()
102 mRS.bindRootScript(mScript); in init()
109 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id); in loadTexture()
160 new ProgramVertexFixedFunction.Constants(mRS); in createProgramVertex()
165 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); in createProgramVertex()
172 ProgramVertex.Builder builder = new ProgramVertex.Builder(mRS); in createProgramVertex()
178 mRS.bindProgramVertex(pvs); in createProgramVertex()
183 builder = new ProgramVertex.Builder(mRS); in createProgramVertex()
189 mRS.bindProgramVertex(pvs); in createProgramVertex()
193 builder = new ProgramVertex.Builder(mRS); in createProgramVertex()
199 mRS.bindProgramVertex(pvs); in createProgramVertex()
205 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS); in createProgramFragment()
212 new ProgramFragmentFixedFunction.Builder(mRS); in createProgramFragment()
213 builderff = new ProgramFragmentFixedFunction.Builder(mRS); in createProgramFragment()
221 ProgramFragment.Builder builder = new ProgramFragment.Builder(mRS); in createProgramFragment()
227 pf.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0); in createProgramFragment()
231 builder = new ProgramFragment.Builder(mRS); in createProgramFragment()
237 builder = new ProgramFragment.Builder(mRS); in createProgramFragment()
246 ProgramRaster.Builder builder = new ProgramRaster.Builder(mRS); in createProgramRaster()
249 mRS.bindProgramRaster(pr); in createProgramRaster()
253 ProgramStore.Builder builder = new ProgramStore.Builder(mRS); in createProgramFragmentStore()
255 mRS.bindProgramStore(builder.create()); in createProgramFragmentStore()
259 mRS.bindRootScript(mScript); in start()
263 mRS.bindRootScript(null); in stop()