/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_check_dims.java | 27 Allocation mA; 38 Allocation AFailed = Allocation.createTyped(RS, typeBuilder.create()); 49 mA = Allocation.createTyped(RS, typeBuilder.create());
|
H A D | UT_kernel.java | 26 private Allocation A; 27 private Allocation B; 39 A = Allocation.createTyped(RS, typeBuilder.create()); 41 B = Allocation.createTyped(RS, typeBuilder.create());
|
H A D | UT_static_globals.java | 36 Allocation A = Allocation.createTyped(pRS, typeBuilder.setX(1).create());
|
/frameworks/rs/tests/cppallocation/ |
H A D | compute.cpp | 33 sp<Allocation> ain = Allocation::createTyped(rs, t); 34 sp<Allocation> aout = Allocation::createTyped(rs, t);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsic3DLUT.java | 31 private Allocation mLUT; 64 * Sets the {@link android.support.v8.renderscript.Allocation} to be used as 72 public void setLUT(Allocation lut) { 95 public void forEach(Allocation ain, Allocation aout) {
|
H A D | AllocationThunker.java | 29 class AllocationThunker extends Allocation { 30 android.renderscript.Allocation mN; 31 //Allocation mAdaptedAllocation; 33 android.renderscript.Allocation getNObj() { 37 static android.renderscript.Allocation.MipmapControl 42 return android.renderscript.Allocation.MipmapControl.MIPMAP_NONE; 44 return android.renderscript.Allocation.MipmapControl.MIPMAP_FULL; 46 return android.renderscript.Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE; 75 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) { 186 public void copyFrom(Allocation [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.cpp | 62 void RsdCpuScriptIntrinsic::setGlobalBind(uint32_t slot, Allocation *data) { 76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation * ain, 77 Allocation * aout, const void * usr, 81 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation * ain, 82 Allocation * aout, const void * usr, 87 const Allocation * ain, 88 Allocation * aout,
|
H A D | rsd_cpu.h | 73 const Allocation * ain, 74 Allocation * aout, 85 virtual void setGlobalBind(uint32_t slot, Allocation *data) = 0; 88 virtual Allocation * getAllocationForPointer(const void *ptr) const = 0; 99 virtual void setInput(const ScriptKernelID *kid, Allocation *) = 0; 100 virtual void setOutput(const ScriptKernelID *kid, Allocation *) = 0;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | Grain.java | 21 import android.renderscript.Allocation; 33 private Allocation mNoise; 34 private Allocation mNoise2; 76 mNoise = Allocation.createTyped(mRS, tb.create()); 77 mNoise2 = Allocation.createTyped(mRS, tb.create());
|
H A D | Artistic1.java | 26 private Allocation mBlured; 30 mBlured = Allocation.createTyped(mRS, mInPixelsAllocation.getType());
|
H A D | Histogram.java | 27 private Allocation mSum; 28 private Allocation mSums; 47 mSums = Allocation.createTyped(mRS, t); 48 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256);
|
H A D | Vibrance.java | 21 import android.renderscript.Allocation;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Grain.java | 21 import android.renderscript.Allocation; 33 private Allocation mNoise; 34 private Allocation mNoise2; 76 mNoise = Allocation.createTyped(mRS, tb.create()); 77 mNoise2 = Allocation.createTyped(mRS, tb.create());
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOTestRS.java | 54 private Allocation mGridImage; 55 private Allocation mOffscreen; 56 private Allocation mOffscreenDepth; 57 private Allocation mAllocPV; 60 private Allocation mTextAlloc; 117 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, 118 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 119 Allocation.USAGE_GRAPHICS_TEXTURE); 125 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation [all...] |
/frameworks/rs/ |
H A D | rsRuntime.h | 34 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *); 38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *); 39 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *); 45 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot); 46 void rsrBindFrameBufferObjectDepthTarget(Context *, Allocation *); 83 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc, 87 Allocation *srcAlloc, 89 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc, 93 Allocation *srcAllo [all...] |
H A D | rsAdapter.h | 33 Adapter1D(Context *, Allocation *); 36 void setAllocation(Allocation *a) {mAllocation.set(a);} 54 ObjectBaseRef<Allocation> mAllocation; 67 Adapter2D(Context *, Allocation *); 74 void setAllocation(Allocation *a) {mAllocation.set(a);} 87 ObjectBaseRef<Allocation> mAllocation;
|
H A D | rsScriptIntrinsic.h | 45 const Allocation * ain, 46 Allocation * aout,
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | Scene.java | 271 Allocation drawableData = Allocation.createSized(rs, 274 Allocation[] drawableAllocs = new Allocation[mRenderables.size()]; 288 Allocation shaderData = Allocation.createSized(rs, Element.ALLOCATION(rs), 290 Allocation[] shaderAllocs = new Allocation[mVertexShaders.size()]; 300 Allocation shaderData = Allocation [all...] |
H A D | TextureRenderTarget.java | 35 public TextureRenderTarget(Allocation tex) { 40 public void setTexture(Allocation tex) {
|
/frameworks/rs/driver/ |
H A D | rsdScriptGroup.cpp | 39 const ScriptKernelID *kid, Allocation *) { 43 const ScriptKernelID *kid, Allocation *) {
|
H A D | rsdScriptGroup.h | 27 android::renderscript::Allocation *); 31 android::renderscript::Allocation *);
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | Mandelbrot.java | 24 private Allocation mAllocationXY; 34 mAllocationXY = Allocation.createTyped(rs, tb.create());
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 25 import android.renderscript.Allocation; 42 private Allocation mAllocationOut; 43 private Allocation mAllocationIn; 81 mAllocationOut = Allocation.createTyped(mRS, t, Allocation.USAGE_SCRIPT | 82 Allocation.USAGE_IO_OUTPUT); 89 mAllocationIn = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT);
|
/frameworks/rs/cpp/ |
H A D | Script.cpp | 29 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, 44 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { 58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
|
H A D | ScriptIntrinsics.cpp | 47 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { 55 void ScriptIntrinsic3DLUT::setLUT(sp<Allocation> lut) { 62 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "setLUT Allocation must be 3D"); 81 void ScriptIntrinsicBlend::forEachClear(sp<Allocation> in, sp<Allocation> out) { 89 void ScriptIntrinsicBlend::forEachSrc(sp<Allocation> in, sp<Allocation> out) { 97 void ScriptIntrinsicBlend::forEachDst(sp<Allocation> in, sp<Allocation> ou [all...] |