Searched refs:mRS (Results 101 - 125 of 190) sorted by relevance

12345678

/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DBlur25.java71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
82 mScript = new ScriptC_threshold(mRS);
H A DGrain.java78 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
81 mNoise = Allocation.createTyped(mRS, tb.create());
82 mNoise2 = Allocation.createTyped(mRS, tb.create());
84 mScript = new ScriptC_grain(mRS);
H A DResize.java49 Type t = Type.createXY(mRS, mInPixelsAllocation.getElement(),
51 mScratchAllocation = Allocation.createTyped(mRS, t);
54 mScript = new ScriptC_resize(mRS);
68 mIntrinsic = ScriptIntrinsicResize.create(mRS);
H A DWhiteBalance.java26 mScript = new ScriptC_wbalance(mRS);
/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java76 RenderScript mRS; field in class:FileA3D.IndexEntry
113 mRS.validate();
114 BaseObj obj = internalCreate(mRS, this);
155 mRS = rs;
173 int numFileEntries = mRS.nFileA3DGetNumIndexEntries(getID(mRS));
182 mRS.nFileA3DGetIndexEntries(getID(mRS), numFileEntries, ids, names);
185 mFileEntries[i] = new IndexEntry(mRS, i, getID(mRS), name
[all...]
H A DProgramRaster.java120 RenderScript mRS; field in class:ProgramRaster.Builder
128 mRS = rs;
153 mRS.validate();
154 long id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID);
155 ProgramRaster programRaster = new ProgramRaster(id, mRS);
H A DProgram.java150 a.getType().getID(mRS) != mConstants[slot].getID(mRS)) {
153 long id = a != null ? a.getID(mRS) : 0;
154 mRS.nProgramBindConstants(getID(mRS), slot, id);
166 mRS.validate();
175 long id = va != null ? va.getID(mRS) : 0;
176 mRS.nProgramBindTexture(getID(mRS), slot, id);
190 mRS
201 RenderScript mRS; field in class:Program.BaseProgramBuilder
[all...]
H A DMesh.java152 int vtxCount = mRS.nMeshGetVertexBufferCount(getID(mRS));
153 int idxCount = mRS.nMeshGetIndexCount(getID(mRS));
159 mRS.nMeshGetVertices(getID(mRS), vtxIDs, vtxCount);
160 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount);
168 mVertexBuffers[i] = new Allocation(vtxIDs[i], mRS, null, Allocation.USAGE_SCRIPT);
175 mIndexBuffers[i] = new Allocation(idxIDs[i], mRS, nul
190 RenderScript mRS; field in class:Mesh.Builder
405 RenderScript mRS; field in class:Mesh.AllocationBuilder
553 RenderScript mRS; field in class:Mesh.TriangleMeshBuilder
[all...]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DGrain.java73 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
76 mNoise = Allocation.createTyped(mRS, tb.create());
77 mNoise2 = Allocation.createTyped(mRS, tb.create());
79 mScript = new ScriptC_grain(mRS);
H A DResize.java49 Type t = Type.createXY(mRS, mInPixelsAllocation.getElement(),
51 mScratchAllocation = Allocation.createTyped(mRS, t);
54 mScript = new ScriptC_resize(mRS);
68 mIntrinsic = ScriptIntrinsicResize.create(mRS);
H A DVibrance.java27 mScript = new ScriptC_vibrance(mRS);
H A DColorMatrix.java49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
56 mScript = new ScriptC_colormatrix(mRS);
H A DConvolve3x3.java53 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
57 mScript = new ScriptC_convolve3x3(mRS);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DGrain.java68 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
71 mNoise = Allocation.createTyped(mRS, tb.create());
72 mNoise2 = Allocation.createTyped(mRS, tb.create());
74 mScript = new ScriptC_grain(mRS);
H A DConvolve3x3.java46 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
50 mScript = new ScriptC_ip2_convolve3x3(mRS);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestCore.java39 private RenderScriptGL mRS; field in class:RSTestCore
57 mRS = rs;
63 mScript = new ScriptC_rslist(mRS);
86 mListAllocs = new ScriptField_ListAllocs_s(mRS, uta.length);
89 listElem.text = Allocation.createFromString(mRS, uta[i].name, Allocation.USAGE_SCRIPT);
99 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8);
102 mRS.bindRootScript(mScript);
151 if (mListAllocs != null && mScript != null && mRS != null) {
155 mRS.bindRootScript(mScript);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DRSTestCore.java39 private RenderScriptGL mRS; field in class:RSTestCore
57 mRS = rs;
63 mScript = new ScriptC_rslist(mRS);
90 mListAllocs = new ScriptField_ListAllocs_s(mRS, uta.length);
93 listElem.text = Allocation.createFromString(mRS, uta[i].name, Allocation.USAGE_SCRIPT);
103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8);
106 mRS.bindRootScript(mScript);
155 if (mListAllocs != null && mScript != null && mRS != null) {
159 mRS.bindRootScript(mScript);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DRSTestCore.java39 private RenderScriptGL mRS; field in class:RSTestCore
57 mRS = rs;
63 mScript = new ScriptC_rslist(mRS);
90 mListAllocs = new ScriptField_ListAllocs_s(mRS, uta.length);
93 listElem.text = Allocation.createFromString(mRS, uta[i].name, Allocation.USAGE_SCRIPT);
103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8);
106 mRS.bindRootScript(mScript);
155 if (mListAllocs != null && mScript != null && mRS != null) {
159 mRS.bindRootScript(mScript);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java63 private RenderScriptGL mRS; field in class:TestAppRS
84 mActiveScene.initRenderPassRS(mRS, mSceneManager);
96 mRS = rs;
105 mSceneManager.initRS(mRS, mRes, mWidth, mHeight);
107 mLoadingScreen = new TestAppLoadingScreen(mRS, mRes);
110 FullscreenBlur.createRenderTargets(mRS, mWidth, mHeight);
137 FragmentShader.Builder fb = new FragmentShader.Builder(mRS);
145 pf.getProgram().bindSampler(Sampler.WRAP_LINEAR_MIP_LINEAR(mRS), 0);
147 pf.getProgram().bindSampler(Sampler.CLAMP_LINEAR_MIP_LINEAR(mRS), 1);
155 ScriptField_CameraParams camParams = new ScriptField_CameraParams(mRS,
[all...]
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncView.java30 private RenderScriptGL mRS; field in class:FBOSyncView
45 if (mRS == null) {
48 mRS = createRenderScriptGL(sc);
50 mRender.init(mRS, getResources());
69 if (mRS != null) {
70 mRS = null;
H A DFBOTestView.java30 private RenderScriptGL mRS; field in class:FBOTestView
45 if (mRS == null) {
48 mRS = createRenderScriptGL(sc);
50 mRender.init(mRS, getResources());
69 if (mRS != null) {
70 mRS = null;
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestView.java28 private RenderScriptGL mRS; field in class:ShadersTestView
43 if (mRS == null) {
46 mRS = createRenderScriptGL(sc);
48 mRender.init(mRS, getResources());
67 if (mRS != null) {
68 mRS = null;
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DMeshTest.java39 private RenderScriptGL mRS; field in class:MeshTest
69 mTests[index].testName = Allocation.createFromString(mRS,
72 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS,
78 ScriptField_MeshTestData_s testData = new ScriptField_MeshTestData_s(mRS, 1);
84 mRS = rs;
107 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS,
136 return Allocation.createFromBitmapResource(mRS, mRes, id,
142 mGeoScript = new ScriptC_mesh_test(mRS, mRes, R.raw.mesh_test);
144 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS);
146 ProgramVertexFixedFunction.Constants PVA = new ProgramVertexFixedFunction.Constants(mRS);
[all...]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSgTransform.java49 RenderScript mRS; field in class:SgTransform
83 mRS = rs;
91 mChildField = new ScriptField_SgTransform(mRS, mChildren.size());
105 mTransformField = new ScriptField_SgTransform(mRS, 1);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DErrorCalculator.java35 private RenderScript mRS; field in class:ErrorCalculator
52 mRS = RenderScript.create(c);
57 mScript = new ScriptC_errorCalculator(mRS);
62 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length,
65 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS),
77 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal,
79 mGivenPixelsAllocation = Allocation.createFromBitmap(mRS, given,
118 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, idea
[all...]

Completed in 346 milliseconds

12345678