Searched defs:rs (Results 176 - 200 of 218) sorted by relevance

123456789

/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestRS.java43 public void init(RenderScriptGL rs, Resources res) { argument
44 mRS = rs;
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_program_store.java17 package com.android.rs.test;
H A DUnitTest.java17 package com.android.rs.test;
H A DUT_math_agree.java17 package com.android.rs.test;
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocationAdapter.java28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) { argument
29 super(id, rs, alloc.mType, alloc.mUsage);
33 int getID(RenderScript rs) { argument
214 static public AllocationAdapter create1D(RenderScript rs, Allocation a) { argument
215 rs.validate();
216 AllocationAdapter aa = new AllocationAdapter(0, rs, a);
225 static public AllocationAdapter create2D(RenderScript rs, Allocation a) { argument
226 android.util.Log.e("rs", "create2d " + a);
227 rs.validate();
228 AllocationAdapter aa = new AllocationAdapter(0, rs,
[all...]
H A DType.java168 Type(int id, RenderScript rs) { argument
169 super(id, rs);
189 * @param rs
192 public Builder(RenderScript rs, Element e) { argument
194 mRS = rs;
H A DSampler.java57 Sampler(int id, RenderScript rs) { argument
58 super(id, rs);
100 * @param rs Context to which the sampler will belong.
104 public static Sampler CLAMP_NEAREST(RenderScript rs) { argument
105 if(rs.mSampler_CLAMP_NEAREST == null) {
106 Builder b = new Builder(rs);
111 rs.mSampler_CLAMP_NEAREST = b.create();
113 return rs.mSampler_CLAMP_NEAREST;
120 * @param rs Context to which the sampler will belong.
124 public static Sampler CLAMP_LINEAR(RenderScript rs) { argument
144 CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) argument
164 WRAP_NEAREST(RenderScript rs) argument
184 WRAP_LINEAR(RenderScript rs) argument
204 WRAP_LINEAR_MIP_LINEAR(RenderScript rs) argument
231 Builder(RenderScript rs) argument
[all...]
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesRS.java17 package com.example.android.rs.miscsamples;
40 public void init(RenderScriptGL rs, Resources res) { argument
41 mRS = rs;
131 ProgramStore BLEND_ADD_DEPTH_NONE(RenderScript rs) { argument
132 ProgramStore.Builder builder = new ProgramStore.Builder(rs);
354 Log.e("rs", "could not load model");
/frameworks/base/graphics/java/android/renderscript/
H A DProgram.java76 Program(int id, RenderScript rs) { argument
77 super(id, rs);
214 protected BaseProgramBuilder(RenderScript rs) { argument
215 mRS = rs;
H A DScript.java38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { argument
39 super(id, rs);
85 FieldID(int id, RenderScript rs, Script s, int slot) { argument
86 super(id, rs);
170 Script(int id, RenderScript rs) { argument
171 super(id, rs);
284 Builder(RenderScript rs) { argument
285 mRS = rs;
294 protected void init(RenderScript rs, int dimx) { argument
295 mAllocation = Allocation.createSized(rs, mElemen
298 init(RenderScript rs, int dimx, int usages) argument
[all...]
H A DScriptGroup.java90 ScriptGroup(int id, RenderScript rs) { argument
91 super(id, rs);
172 * @param rs The Renderscript context.
174 public Builder(RenderScript rs) { argument
175 mRS = rs;
H A DType.java174 Type(int id, RenderScript rs) { argument
175 super(id, rs);
216 * @param rs
219 public Builder(RenderScript rs, Element e) { argument
221 mRS = rs;
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncRS.java35 public void init(RenderScriptGL rs, Resources res) { argument
36 mRS = rs;
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java17 package com.android.rs.image;
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java17 package com.android.rs.image2;
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java16 package com.android.rs.livepreview;
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSceneGraphRS.java42 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
43 mRS = rs;
191 Log.e("rs", "could not load model");
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchRS.java57 public void init(RenderScriptGL rs, Resources res, int width, int height, int loops) { argument
58 mRS = rs;
94 static Allocation createZeroTerminatedAlloc(RenderScript rs, argument
103 Allocation alloc = Allocation.createSized(rs, Element.U8(rs),
H A DTorusTest.java114 public boolean init(RenderScriptGL rs, Resources res) { argument
115 mRS = rs;
245 Log.e("rs", "could not load model");
H A DUiTest.java99 public boolean init(RenderScriptGL rs, Resources res) { argument
100 mRS = rs;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DScene.java259 public void initRenderPassRS(RenderScriptGL rs, SceneManager sceneManager) { argument
270 private void addDrawables(RenderScriptGL rs, Resources res, SceneManager sceneManager) { argument
271 Allocation drawableData = Allocation.createSized(rs,
272 Element.ALLOCATION(rs),
278 drawableAllocs[i] = dI.getRsField(rs, res).getAllocation();
283 initRenderPassRS(rs, sceneManager);
286 private void addShaders(RenderScriptGL rs, Resources res, SceneManager sceneManager) { argument
288 Allocation shaderData = Allocation.createSized(rs, Element.ALLOCATION(rs),
300 Allocation shaderData = Allocation.createSized(rs, Elemen
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java94 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
96 mRS = rs;
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
H A DCameraCapture.java18 package com.example.android.rs.sto;
/frameworks/rs/cpp/
H A DAllocation.cpp50 Allocation::Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage) : argument
51 BaseObj(id, rs) {
381 android::sp<Allocation> Allocation::createTyped(RenderScript *rs, sp<const Type> type, argument
383 void *id = rsAllocationCreateTyped(rs->mContext, type->getID(), mips, usage, 0);
388 return new Allocation(id, rs, type, usage);
391 android::sp<Allocation> Allocation::createTyped(RenderScript *rs, sp<const Type> type, argument
393 void *id = rsAllocationCreateTyped(rs->mContext, type->getID(), mips, usage, (uint32_t)pointer);
397 return new Allocation(id, rs, type, usage);
400 android::sp<Allocation> Allocation::createTyped(RenderScript *rs, sp<const Type> type, argument
402 return createTyped(rs, typ
405 createSized(RenderScript *rs, sp<const Element> e, size_t count, uint32_t usage) argument
[all...]
H A DElement.cpp70 #define CREATE_USER(N, T) sp<const Element> Element::N(RenderScript *rs) { \
71 return createUser(rs, RS_TYPE_##T); \
98 #define CREATE_PIXEL(N, T, K) sp<const Element> Element::N(RenderScript *rs) { \
99 return createPixel(rs, RS_TYPE_##T, RS_KIND_##K); \
107 #define CREATE_VECTOR(N, T) sp<const Element> Element::N##_2(RenderScript *rs) { \
108 return createVector(rs, RS_TYPE_##T, 2); \
110 sp<const Element> Element::N##_3(RenderScript *rs) { \
111 return createVector(rs, RS_TYPE_##T, 3); \
113 sp<const Element> Element::N##_4(RenderScript *rs) { \
114 return createVector(rs, RS_TYPE
151 Element(void *id, RenderScript *rs, android::Vector<sp< Element> > &elements, android::Vector<android::String8> &elementNames, android::Vector<uint32_t> &arraySizes) argument
225 Element(void *id, RenderScript *rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size) argument
298 createUser(RenderScript *rs, RsDataType dt) argument
303 createVector(RenderScript *rs, RsDataType dt, uint32_t size) argument
311 createPixel(RenderScript *rs, RsDataType dt, RsDataKind dk) argument
378 Builder(RenderScript *rs) argument
[all...]

Completed in 242 milliseconds

123456789