/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
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.USAGE_SCRIPT) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestCross.java | 21 import android.renderscript.Allocation; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xdec3726a2995edb5l, false); 45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xdec3726a2996190bl, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); 64 private void verifyResultsCrossFloat3Float3Float3(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) [all...] |
TestDistance.java | 21 import android.renderscript.Allocation; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf62f685ebafc5b67l, false); 45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf62f685ebafc86bdl, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) [all...] |
TestDot.java | 21 import android.renderscript.Allocation; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x93a0502d7b6ecc43l, false); 45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x93a0502d7b6ef799l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsDotFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) [all...] |
TestFastDistance.java | 21 import android.renderscript.Allocation; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfe7e5e843bff0cb7l, false); 45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfe7e5e843bff380dl, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsFastDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) [all...] |
TestNativeDistance.java | 21 import android.renderscript.Allocation; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe0fd4252f8556ff6l, false); 45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe0fd4252f8559b4cl, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsNativeDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) [all...] |
ImageProcessingTest.java | 19 import android.renderscript.Allocation; 63 private Allocation a1, a2; 73 a1 = Allocation.createTyped(mRS, t); 74 a2 = Allocation.createTyped(mRS, t); 81 Allocation a1_copy, a2_copy; 82 a1_copy = Allocation.createTyped(mRS, a1.getType()); 83 a2_copy = Allocation.createTyped(mRS, a2.getType()); 104 Allocation a1_copy, a2_copy; 105 a1_copy = Allocation.createTyped(mRS, a1.getType()); 106 a2_copy = Allocation.createTyped(mRS, a2.getType()) [all...] |
ScriptGroupTest.java | 20 import android.renderscript.Allocation; 22 import android.renderscript.Allocation.MipmapControl; 49 Allocation a1_copy, a2_copy; 50 a1_copy = Allocation.createTyped(mRS, connect); 51 a2_copy = Allocation.createTyped(mRS, connect); 79 Allocation a1_copy, a2_copy; 81 a1_copy = Allocation.createTyped(mRS, connect); 82 a2_copy = Allocation.createTyped(mRS, connect); 114 Allocation a1_copy, a2_copy; 115 a1_copy = Allocation.createTyped(mRS, connect) [all...] |
IntrinsicBase.java | 21 import android.renderscript.Allocation; 29 protected Allocation mAllocSrc; 30 protected Allocation mAllocRef; 31 protected Allocation mAllocDst; 63 protected Allocation makeAllocation(int w, int h, Element e, boolean clear) { 68 Allocation a = Allocation.createTyped(mRS, t); 79 protected Allocation makeAllocation(int w, int h, Element e) {
|
/frameworks/rs/ |
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 *srcAlloc [all...] |
rsScript.h | 102 void setSlot(uint32_t slot, Allocation *a); 113 const Allocation * ain, 114 Allocation * aout, 121 const Allocation** ains, 123 Allocation* aout, 140 ObjectBaseRef<Allocation> *mSlots;
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
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 *srcAlloc [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
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 *srcAlloc [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
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 *srcAlloc [all...] |
/frameworks/rs/cpu_ref/ |
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, 111 const Allocation ** ains, 113 Allocation * aout, 121 * all of the input allocation pointers [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSBlendTest.java | 54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 113 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Scene.java | 271 Allocation drawableData = Allocation.createSized(rs, 272 Element.ALLOCATION(rs), 274 Allocation[] drawableAllocs = new Allocation[mRenderables.size()]; 288 Allocation shaderData = Allocation.createSized(rs, Element.ALLOCATION(rs), 290 Allocation[] shaderAllocs = new Allocation[mVertexShaders.size()] [all...] |
TextureRenderTarget.java | 35 public TextureRenderTarget(Allocation tex) { 40 public void setTexture(Allocation tex) {
|
/frameworks/rs/tests/cppbasic-getpointer/ |
compute.cpp | 35 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); 36 printf("Allocation %p\n", a1.get()); 38 sp<Allocation> ain = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); 39 sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); 40 printf("Allocation %p %p\n", ain.get(), aout.get());
|
/frameworks/rs/cpp/ |
rsCppStructs.h | 29 * Every row in an RS allocation is guaranteed to be aligned by this amount, and 30 * every row in a user-backed allocation must be aligned by this amount. 44 class Allocation; 218 sp<const Element> ALLOCATION; 281 * from RenderScript kernels. An Allocation provides the backing store for a 284 * An Allocation also contains a set of usage flags that denote how the 285 * Allocation could be used. For example, an Allocation may have usage flags 288 * syncAll(int) in order to ensure that different users of the Allocation have 289 * a consistent view of memory. For example, in the case where an Allocation i [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/cpp/ |
rsCppStructs.h | 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and 29 * every row in a user-backed allocation must be aligned by this amount. 43 class Allocation; 217 sp<const Element> ALLOCATION; 280 * from RenderScript kernels. An Allocation provides the backing store for a 283 * An Allocation also contains a set of usage flags that denote how the 284 * Allocation could be used. For example, an Allocation may have usage flags 287 * syncAll(int) in order to ensure that different users of the Allocation have 288 * a consistent view of memory. For example, in the case where an Allocation i [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/cpp/ |
rsCppStructs.h | 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and 29 * every row in a user-backed allocation must be aligned by this amount. 43 class Allocation; 217 sp<const Element> ALLOCATION; 280 * from RenderScript kernels. An Allocation provides the backing store for a 283 * An Allocation also contains a set of usage flags that denote how the 284 * Allocation could be used. For example, an Allocation may have usage flags 287 * syncAll(int) in order to ensure that different users of the Allocation have 288 * a consistent view of memory. For example, in the case where an Allocation i [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/cpp/ |
rsCppStructs.h | 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and 29 * every row in a user-backed allocation must be aligned by this amount. 43 class Allocation; 217 sp<const Element> ALLOCATION; 280 * from RenderScript kernels. An Allocation provides the backing store for a 283 * An Allocation also contains a set of usage flags that denote how the 284 * Allocation could be used. For example, an Allocation may have usage flags 287 * syncAll(int) in order to ensure that different users of the Allocation have 288 * a consistent view of memory. For example, in the case where an Allocation i [all...] |
/external/valgrind/main/drd/tests/ |
annotate_hb_race.stderr.exp | 4 Allocation context: BSS section of annotate_hb_race
|
/frameworks/rs/driver/ |
rsdScriptGroup.h | 27 android::renderscript::Allocation *); 31 android::renderscript::Allocation *);
|