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

1 2 34 5 6 7 8 91011>>

  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Transform.java 55 Allocation childRSData = Allocation.createSized(rs, Element.ALLOCATION(rs),
59 Allocation[] childrenAllocs = new Allocation[mChildren.size()];
  /frameworks/rs/
rsPath.cpp 28 Allocation *vtx, Allocation *loops, float quality)
51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) {
75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality);
rsProgram.h 43 Allocation **textures;
50 Allocation **constants;
66 void bindAllocation(Context *, Allocation *, uint32_t slot);
70 void bindTexture(Context *, uint32_t slot, Allocation *);
74 ObjectBaseRef<Allocation> *mTextures;
76 ObjectBaseRef<Allocation> *mConstants;
rsAdapter.h 30 // By policy this allocation will hold a pointer to the type
33 Adapter1D(Context *, Allocation *);
36 void setAllocation(Allocation *a) {mAllocation.set(a);}
54 ObjectBaseRef<Allocation> mAllocation;
64 // By policy this allocation will hold a pointer to the type
67 Adapter2D(Context *, Allocation *);
74 void setAllocation(Allocation *a) {mAllocation.set(a);}
87 ObjectBaseRef<Allocation> mAllocation;
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsic3DLUTThunker.java 45 public void setLUT(Allocation lut) {
55 * @param ain Input allocation
56 * @param aout Output allocation
58 public void forEach(Allocation ain, Allocation aout) {
ScriptIntrinsicBlur.java 25 * specified radius to all elements of an allocation.
31 private Allocation mInput;
38 * Create an intrinsic for applying a blur to an allocation. The
66 * @param ain The input allocation
68 public void setInput(Allocation ain) {
89 * allocation.
91 * @param aout Output allocation. Must match creation element
94 public void forEach(Allocation aout) {
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
Visualization4RS.java 62 private Allocation[] mTextures;
110 mTextures = new Allocation[6];
111 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
112 Allocation.MipmapControl.MIPMAP_NONE,
113 Allocation.USAGE_GRAPHICS_TEXTURE);
115 mTextures[1] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.frame,
116 Allocation.MipmapControl.MIPMAP_NONE,
117 Allocation.USAGE_GRAPHICS_TEXTURE);
119 mTextures[2] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.peak_on,
120 Allocation.MipmapControl.MIPMAP_NONE
    [all...]
  /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/
ScriptGroupTest.java 22 import android.renderscript.Allocation;
24 import android.renderscript.Allocation.MipmapControl;
51 Allocation a1_copy, a2_copy;
52 a1_copy = Allocation.createTyped(mRS, connect);
53 a2_copy = Allocation.createTyped(mRS, connect);
81 Allocation a1_copy, a2_copy;
83 a1_copy = Allocation.createTyped(mRS, connect);
84 a2_copy = Allocation.createTyped(mRS, connect);
116 Allocation a1_copy, a2_copy;
117 a1_copy = Allocation.createTyped(mRS, connect)
    [all...]
ImageProcessingTest.java 19 import android.renderscript.Allocation;
65 private Allocation a1, a2;
75 a1 = Allocation.createTyped(mRS, t);
76 a2 = Allocation.createTyped(mRS, t);
83 Allocation a1_copy, a2_copy;
84 a1_copy = Allocation.createTyped(mRS, a1.getType());
85 a2_copy = Allocation.createTyped(mRS, a2.getType());
106 Allocation a1_copy, a2_copy;
107 a1_copy = Allocation.createTyped(mRS, a1.getType());
108 a2_copy = Allocation.createTyped(mRS, a2.getType())
    [all...]
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
ProgramVertexTest.java 21 import android.renderscript.Allocation;
34 Allocation mConstMatrix;
35 Allocation mConstComplex;
36 Allocation mConstExtra;
65 Allocation.USAGE_SCRIPT |
66 Allocation.USAGE_GRAPHICS_CONSTANTS);
71 Allocation.USAGE_SCRIPT |
72 Allocation.USAGE_GRAPHICS_CONSTANTS);
77 Allocation.USAGE_SCRIPT |
78 Allocation.USAGE_GRAPHICS_CONSTANTS)
    [all...]
  /frameworks/rs/cpu_ref/
rsd_cpu.h 69 const Allocation * ain,
70 Allocation * aout,
81 virtual void setGlobalBind(uint32_t slot, Allocation *data) = 0;
84 virtual Allocation * getAllocationForPointer(const void *ptr) const = 0;
95 virtual void setInput(const ScriptKernelID *kid, Allocation *) = 0;
96 virtual void setOutput(const ScriptKernelID *kid, Allocation *) = 0;
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
Visualization5RS.java 70 private Allocation[] mTextures;
77 protected Allocation mPointAlloc;
82 private Allocation mLineIdxAlloc;
168 mTextures = new Allocation[8];
169 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
170 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
171 Allocation.USAGE_GRAPHICS_TEXTURE);
173 mTextures[1] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.frame,
174 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
175 Allocation.USAGE_GRAPHICS_TEXTURE)
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
BumpPointerAllocator.h 41 // If allocation fails (out of memory) this method will return null.
90 // Placement operator new, returns the last 'size' bytes of allocation for use as this.
91 void* operator new(size_t size, const PageAllocation& allocation)
93 ASSERT(size < allocation.size());
94 return reinterpret_cast<char*>(reinterpret_cast<intptr_t>(allocation.base()) + allocation.size()) - size;
97 BumpPointerPool(const PageAllocation& allocation)
98 : m_current(allocation.base())
99 , m_start(allocation.base())
102 , m_allocation(allocation)
    [all...]
  /frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
BallsRS.java 39 private Allocation mGridCache;
43 Allocation.USAGE_SCRIPT |
44 Allocation.USAGE_GRAPHICS_CONSTANTS);
72 private Allocation loadTexture(int id) {
73 final Allocation allocation = local
74 Allocation.createFromBitmapResource(mRS, mRes,
75 id, Allocation.MipmapControl.MIPMAP_NONE,
76 Allocation.USAGE_GRAPHICS_TEXTURE);
77 return allocation;
    [all...]
  /external/oprofile/libutil/
op_growable_buffer.h 26 * init_buffer do not do any allocation, the first allocation will occur
  /external/valgrind/main/massif/tests/
ignoring.c 12 // The peak is from the first allocation.
16 // Now do an allocation to provide the post-peak baseline.
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
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);
  /external/chromium/chrome/browser/renderer_host/
web_cache_manager.h 51 // manager may decide to adjust its resource allocation, but it will delay
86 // An allocation is the number of bytes a specific renderer should use for
88 typedef std::pair<int,size_t> Allocation;
90 // An allocation strategy is a list of allocations specifying the resources
92 typedef std::list<Allocation> AllocationStrategy;
100 // Recomputes the allocation of cache resources among the renderers. Also
101 // informs the renderers of their new allocation.
107 // The various tactics used as part of an allocation strategy. To decide
112 // Determining a resource allocation strategy amounts to picking a tactic
121 // some extra allocation to store new objects
    [all...]
  /external/clang/test/CXX/expr/expr.unary/expr.new/
p20-0x.cpp 5 // Placement allocation function:
  /external/kernel-headers/original/linux/
omap_ion.h 24 * @w: width of the allocation
25 * @h: height of the allocation
28 * @stride: stride of the allocation, returned to caller from kernel
30 * to this allocation
  /frameworks/rs/cpp/
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);
  /frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
LaunchTest.java 24 private Allocation mAllocationX;
25 private Allocation mAllocationXY;
35 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
39 mAllocationXY = Allocation.createTyped(rs, tb.create());
  /frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
Benchmark.java 25 private Allocation ain;
26 private Allocation aout;
31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000);
32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000);
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
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());

Completed in 544 milliseconds

1 2 34 5 6 7 8 91011>>