Lines Matching refs:mRS
31 private RenderScriptGL mRS;
42 mVpConsts = new ScriptField_VpConsts(mRS, 1,
47 mvp.loadOrtho(0, mRS.getWidth(), mRS.getHeight(), 0, -1, 1);
55 ProgramVertex.Builder sb = new ProgramVertex.Builder(mRS);
69 mRS.bindProgramVertex(pvs);
74 Allocation.createFromBitmapResource(mRS, mRes,
90 ProgramFragmentFixedFunction.Builder pfb = new ProgramFragmentFixedFunction.Builder(mRS);
99 mRS = rs;
106 mPoints = new ScriptField_Point(mRS, PART_COUNT, Allocation.USAGE_SCRIPT);
108 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS);
113 mGrid = ScriptField_BallGrid.create2D(mRS, (width + 99) / 100, (height + 99) / 100);
114 mGridCache = Allocation.createSized(mRS, Element.F32_2(mRS), PART_COUNT);
115 mBalls = new ScriptField_Ball(mRS, PART_COUNT, Allocation.USAGE_SCRIPT);
117 mPhysicsScript = new ScriptC_ball_physics(mRS);
121 mScript = new ScriptC_balls(mRS);
132 mRS.bindProgramStore(BLEND_ADD_DEPTH_NONE(mRS));
140 mRS.bindRootScript(mScript);
144 mPhysicsScript.invoke_touch(x, y, pressure * mRS.getWidth() / 1280, id);