HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 1 - 25 of 3585) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/tests/080-oom-throw/
expected.txt 1 Array allocation failed
2 Instance allocation failed
  /frameworks/base/graphics/java/android/renderscript/
ScriptIntrinsicBlend.java 21 * Intrinsic kernels for blending two {@link android.renderscript.Allocation} objects.
43 private void blend(int id, Allocation ain, Allocation aout) {
59 public void forEachClear(Allocation ain, Allocation aout) {
79 public void forEachSrc(Allocation ain, Allocation aout) {
100 public void forEachDst(Allocation ain, Allocation aout) {
119 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
Path.java 38 Allocation mVertexBuffer;
39 Allocation mLoopBuffer;
44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) {
52 public Allocation getVertexAllocation() {
56 public Allocation getLoopAllocation() {
69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) {
75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx)
    [all...]
Allocation.java 34 * and from RenderScript kernels. An Allocation provides the backing store for
37 * <p>An Allocation also contains a set of usage flags that denote how the
38 * Allocation could be used. For example, an Allocation may have usage flags
41 * different usages using {@link android.renderscript.Allocation#syncAll} in
42 * order to ensure that different users of the Allocation have a consistent view
43 * of memory. For example, in the case where an Allocation is used as the output
45 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
48 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
58 public class Allocation extends BaseObj
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlend.java 22 * {@link android.support.v8.renderscript.Allocation} objects.
48 private void blend(int id, Allocation ain, Allocation aout) {
64 public void forEachClear(Allocation ain, Allocation aout) {
84 public void forEachSrc(Allocation ain, Allocation aout) {
105 public void forEachDst(Allocation ain, Allocation aout) {
124 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
ScriptIntrinsicBlendThunker.java 39 public void forEachClear(Allocation ain, Allocation aout) {
52 public void forEachSrc(Allocation ain, Allocation aout) {
65 public void forEachDst(Allocation ain, Allocation aout) {
78 public void forEachSrcOver(Allocation ain, Allocation aout) {
91 public void forEachDstOver(Allocation ain, Allocation aout)
    [all...]
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;
67 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) {
126 public void copyFrom(Allocation a)
    [all...]
  /frameworks/rs/cpp/
ScriptIntrinsics.cpp 36 void ScriptIntrinsicBlend::blendClear(sp<Allocation> in, sp<Allocation> out) {
40 void ScriptIntrinsicBlend::blendSrc(sp<Allocation> in, sp<Allocation> out) {
44 void ScriptIntrinsicBlend::blendDst(sp<Allocation> in, sp<Allocation> out) {
48 void ScriptIntrinsicBlend::blendSrcOver(sp<Allocation> in, sp<Allocation> out) {
52 void ScriptIntrinsicBlend::blendDstOver(sp<Allocation> in, sp<Allocation> out)
    [all...]
Allocation.cpp 23 void * Allocation::getIDSafe() const {
27 void Allocation::updateCacheInfo(sp<const Type> t) {
40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
72 void Allocation::validateIsInt32() {
77 ALOGE("32 bit integer source does not match allocation type %i", dt);
80 void Allocation::validateIsInt16() {
85 ALOGE("16 bit integer source does not match allocation type %i", dt);
88 void Allocation::validateIsInt8() {
93 ALOGE("8 bit integer source does not match allocation type %i", dt)
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
gtk_expanded_container_unittest.cc 78 GtkAllocation allocation = { 0, 0, 50, 100 }; local
79 gtk_widget_size_allocate(expanded_, &allocation);
81 EXPECT_EQ(0, child1->allocation.x);
82 EXPECT_EQ(0, child1->allocation.y);
83 EXPECT_EQ(50, child1->allocation.width);
84 EXPECT_EQ(100, child1->allocation.height);
86 EXPECT_EQ(10, child2->allocation.x);
87 EXPECT_EQ(20, child2->allocation.y);
88 EXPECT_EQ(50, child2->allocation.width);
89 EXPECT_EQ(100, child2->allocation.height)
111 GtkAllocation allocation = { 10, 10, 50, 100 }; local
137 GtkAllocation allocation = { 0, 0, 300, 100 }; local
    [all...]
  /frameworks/rs/
rsAllocation.cpp 30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
44 void Allocation::operator delete(void* ptr) {
46 Allocation *a = (Allocation*) ptr;
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
53 // Allocation objects must use allocator specified by the driver
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
    [all...]
rs_hal.h 31 class Allocation;
112 const Allocation * ain,
113 Allocation * aout,
137 Allocation *data);
146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
147 void (*destroy)(const Context *rsc, Allocation *alloc);
149 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
151 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
152 void (*markDirty)(const Context *rsc, const Allocation *alloc);
154 void * (*getSurface)(const Context *rsc, const Allocation *alloc)
216 } allocation; member in struct:android::renderscript::__anon20276
    [all...]
  /cts/tests/src/android/renderscript/cts/
instance.rs 7 // Set our allocation based on the global input value.
  /external/stlport/test/eh/
mwerks_nosgi_debug_prefix.h 4 #define _STLP_DEBUG_UNINITIALIZED 1 // enable the use of allocation debugging
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationTest.java 22 import android.renderscript.Allocation;
24 import android.renderscript.Allocation.MipmapControl;
50 Allocation.createTyped(mRS, typeBuilder.create());
61 Allocation.createTyped(mRS, typeBuilder.setX(8).create(),
63 Allocation.USAGE_GRAPHICS_TEXTURE);
64 Allocation.createTyped(mRS, typeBuilder.setY(8).create(),
66 Allocation.USAGE_GRAPHICS_TEXTURE);
68 Allocation.createTyped(mRS, typeBuilder.create(),
70 Allocation.USAGE_GRAPHICS_TEXTURE |
71 Allocation.USAGE_SCRIPT)
    [all...]
ForEachTest.java 19 import android.renderscript.Allocation;
62 Allocation badOut = Allocation.createTyped(mRS, t);
67 Allocation in = Allocation.createTyped(mRS, t);
69 Allocation out = Allocation.createTyped(mRS, t);
81 in = Allocation.createTyped(mRS, t);
83 out = Allocation.createTyped(mRS, t);
95 in = Allocation.createTyped(mRS, t)
    [all...]
KernelTest.java 19 import android.renderscript.Allocation;
62 Allocation badOut = Allocation.createTyped(mRS, t);
67 Allocation in = Allocation.createTyped(mRS, t);
69 Allocation out = Allocation.createTyped(mRS, t);
81 in = Allocation.createTyped(mRS, t);
83 out = Allocation.createTyped(mRS, t);
95 in = Allocation.createTyped(mRS, t)
    [all...]
  /frameworks/rs/scriptc/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /prebuilts/sdk/renderscript/include/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
HelloCompute.java 24 import android.renderscript.Allocation;
32 private Allocation mInAllocation;
33 private Allocation mOutAllocation;
58 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn,
59 Allocation.MipmapControl.MIPMAP_NONE,
60 Allocation.USAGE_SCRIPT);
61 mOutAllocation = Allocation.createFromBitmap(mRS, mBitmapOut,
62 Allocation.MipmapControl.MIPMAP_NONE,
63 Allocation.USAGE_SCRIPT);
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
UsageIO.java 22 import android.renderscript.Allocation;
35 private Allocation mScratchPixelsAllocation1;
36 private Allocation mScratchPixelsAllocation2;
52 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
53 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
  /frameworks/rs/driver/
rsdAllocation.h 57 const android::renderscript::Allocation *alloc;
96 android::renderscript::Allocation *alloc,
99 android::renderscript::Allocation *alloc);
102 const android::renderscript::Allocation *alloc,
105 const android::renderscript::Allocation *alloc,
108 const android::renderscript::Allocation *alloc);
110 const android::renderscript::Allocation *alloc);
112 android::renderscript::Allocation *alloc, ANativeWindow *nw);
114 android::renderscript::Allocation *alloc);
116 android::renderscript::Allocation *alloc)
    [all...]
  /prebuilts/sdk/renderscript/lib/arm/
libRSSupport.so 
  /prebuilts/sdk/renderscript/lib/mips/
libRSSupport.so 
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
ProgramFragmentTest.java 21 import android.renderscript.Allocation;
32 Allocation mConstMatrix;
33 Allocation mConstComplex;
34 Allocation mConstExtra;
36 Allocation mTex2D;
37 Allocation mTexCube;
45 mTex2D = Allocation.createTyped(mRS, typeB.create(),
46 Allocation.USAGE_SCRIPT |
47 Allocation.USAGE_GRAPHICS_TEXTURE);
49 mTexCube = Allocation.createTyped(mRS, typeB.create()
    [all...]

Completed in 1003 milliseconds

1 2 3 4 5 6 7 8 91011>>