/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | Texture2D.java | 75 RenderScriptGL rs = SceneManager.getRS(); 79 setTexture(SceneManager.loadTexture2D(mFileDir + shortName, rs, res)); 81 setTexture(SceneManager.loadTexture2D(mResourceID, rs, res)); 90 RenderScriptGL rs = SceneManager.getRS(); 92 if (rs == null || res == null) { 96 mField = new ScriptField_Texture_s(rs, 1);
|
H A D | TextureCube.java | 76 RenderScriptGL rs = SceneManager.getRS(); 80 setTexture(SceneManager.loadCubemap(mFileDir + shortName, rs, res)); 82 setTexture(SceneManager.loadCubemap(mResourceID , rs, res)); 91 RenderScriptGL rs = SceneManager.getRS(); 93 if (rs == null || res == null) { 97 mField = new ScriptField_Texture_s(rs, 1);
|
H A D | VertexShader.java | 37 public Builder(RenderScriptGL rs) { argument 39 mBuilder = new ProgramVertex.Builder(rs); 88 RenderScriptGL rs = SceneManager.getRS(); 90 if (rs == null || res == null) { 97 linkConstants(rs); 109 mField = new ScriptField_VertexShader_s(rs, 1);
|
H A D | Renderable.java | 71 RenderScriptGL rs = SceneManager.getRS(); 72 updateFieldItem(rs); 100 RenderScriptGL rs = SceneManager.getRS(); 101 updateFieldItem(rs); 136 void updateTextures(RenderScriptGL rs) { argument 164 ScriptField_Renderable_s getRsField(RenderScriptGL rs, Resources res) { argument 168 updateFieldItem(rs); 169 updateTextures(rs); 171 mField = new ScriptField_Renderable_s(rs, 1); 177 void updateVertexConstants(RenderScriptGL rs) { argument 190 updateFragmentConstants(RenderScriptGL rs) argument 203 updateFieldItem(RenderScriptGL rs) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | TypeThunker.java | 42 TypeThunker(RenderScript rs, android.renderscript.Type t) { argument 43 super(0, rs); 47 mElement = new ElementThunker(rs, t.getElement()); 61 static Type create(RenderScript rs, Element e, argument 64 RenderScriptThunker rst = (RenderScriptThunker)rs; 75 TypeThunker tt = new TypeThunker(rs, nt);
|
H A D | Allocation.java | 221 Allocation(int id, RenderScript rs, Type t, int usage) { argument 222 super(id, rs); 1209 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument 1210 if (rs.isNative) { 1211 RenderScriptThunker rst = (RenderScriptThunker)rs; 1214 rs.validate(); 1215 if (type.getID(rs) == 0) { 1218 int id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0); 1222 return new Allocation(id, rs, typ 1236 createTyped(RenderScript rs, Type type, int usage) argument 1249 createTyped(RenderScript rs, Type type) argument 1264 createSized(RenderScript rs, Element e, int count, int usage) argument 1291 createSized(RenderScript rs, Element e, int count) argument 1295 elementFromBitmap(RenderScript rs, Bitmap b) argument 1312 typeFromBitmap(RenderScript rs, Bitmap b, MipmapControl mip) argument 1335 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1392 createFromBitmap(RenderScript rs, Bitmap b) argument 1412 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1459 createCubemapFromBitmap(RenderScript rs, Bitmap b) argument 1483 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument 1552 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument 1579 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument 1609 createFromBitmapResource(RenderScript rs, Resources res, int id) argument 1626 createFromString(RenderScript rs, String str, int usage) argument [all...] |
/frameworks/rs/cpp/ |
H A D | ScriptIntrinsics.cpp | 25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) argument 26 : Script(NULL, rs) { 27 mID = createDispatch(rs, RS::dispatch->ScriptIntrinsicCreate(rs->getContext(), id, e->getID())); 35 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { argument 36 if (e->isCompatible(Element::U8_4(rs)) == false) { 37 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic"); 40 return new ScriptIntrinsic3DLUT(rs, e); 43 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) argument 44 : ScriptIntrinsic(rs, RS_SCRIPT_INTRINSIC_ID_3DLU 69 create(sp<RS> rs, sp<const Element> e) argument 77 ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) argument 206 create(sp<RS> rs, sp<const Element> e) argument 215 ScriptIntrinsicBlur(sp<RS> rs, sp<const Element> e) argument 246 create(sp<RS> rs) argument 250 ScriptIntrinsicColorMatrix(sp<RS> rs, sp<const Element> e) argument 339 create(sp<RS> rs, sp<const Element> e) argument 355 ScriptIntrinsicConvolve3x3(sp<RS> rs, sp<const Element> e) argument 380 create(sp<RS> rs, sp<const Element> e) argument 396 ScriptIntrinsicConvolve5x5(sp<RS> rs, sp<const Element> e) argument 422 create(sp<RS> rs) argument 426 ScriptIntrinsicHistogram(sp<RS> rs, sp<const Element> e) argument 507 create(sp<RS> rs, sp<const Element> e) argument 515 ScriptIntrinsicLUT(sp<RS> rs, sp<const Element> e) argument 572 create(sp<RS> rs, sp<const Element> e) argument 580 ScriptIntrinsicYuvToRGB(sp<RS> rs, sp<const Element> e) argument [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | ImageProcessingTestRunner.java | 17 package com.android.rs.image; 19 import com.android.rs.image.ImageProcessingTest; 27 * adb shell am instrument -e iteration <n> -w com.android.rs.image/.ImageProcessingTestRunner
|
H A D | BWFilter.java | 17 package com.android.rs.image;
|
H A D | Contrast.java | 17 package com.android.rs.image;
|
H A D | Exposure.java | 17 package com.android.rs.image;
|
H A D | Shadows.java | 17 package com.android.rs.image;
|
/frameworks/rs/java/tests/ImageProcessing2/ |
H A D | Android.mk | 32 $(TOPDIR)frameworks/rs/scriptc 34 LOCAL_RENDERSCRIPT_FLAGS := -rs-package-name=android.support.v8.renderscript
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingTestRunner.java | 17 package com.android.rs.imagejb; 19 import com.android.rs.imagejb.ImageProcessingTest; 27 * adb shell am instrument -e iteration <n> -w com.android.rs.image/.ImageProcessingTestRunner
|
/frameworks/rs/java/tests/RSTest_CompatLib/ |
H A D | Android.mk | 35 $(TOPDIR)frameworks/rs/scriptc 37 LOCAL_RENDERSCRIPT_FLAGS := -rs-package-name=android.support.v8.renderscript
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramFragment.java | 39 ProgramFragment(long id, RenderScript rs) { argument 40 super(id, rs); 51 * @param rs Context to which the program will belong. 53 public Builder(RenderScript rs) { argument 54 super(rs);
|
H A D | ProgramVertexFixedFunction.java | 30 ProgramVertexFixedFunction(long id, RenderScript rs) { argument 31 super(id, rs); 50 public InternalBuilder(RenderScript rs) { argument 51 super(rs); 119 * @param rs Context to which the program will belong. 121 public Builder(RenderScript rs) { argument 122 mRS = rs; 135 static Type getConstantInputType(RenderScript rs) { argument 136 Element.Builder b = new Element.Builder(rs); 137 b.add(Element.MATRIX4X4(rs), "M 218 Constants(RenderScript rs) argument [all...] |
H A D | Type.java | 187 Type(long id, RenderScript rs) { argument 188 super(id, rs); 216 * @param rs The RenderScript context 222 static public Type createX(RenderScript rs, Element e, int dimX) { argument 227 long id = rs.nTypeCreate(e.getID(rs), dimX, 0, 0, false, false, 0); 228 Type t = new Type(id, rs); 239 * @param rs The RenderScript context 246 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { argument 251 long id = rs 272 createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) argument 308 Builder(RenderScript rs, Element e) argument [all...] |
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
H A D | FountainRS.java | 33 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument 34 mRS = rs; 37 ProgramFragmentFixedFunction.Builder pfb = new ProgramFragmentFixedFunction.Builder(rs); 39 rs.bindProgramFragment(pfb.create());
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | BWFilter.java | 17 package com.android.rs.image2;
|
H A D | Contrast.java | 17 package com.android.rs.image2;
|
H A D | Copy.java | 17 package com.android.rs.image2;
|
H A D | Exposure.java | 17 package com.android.rs.image2;
|
H A D | Greyscale.java | 17 package com.android.rs.image2;
|
H A D | Shadows.java | 17 package com.android.rs.image2;
|