HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 51 - 75 of 3375) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/graphics/java/android/renderscript/
AllocationAdapter.java 27 public class AllocationAdapter extends Allocation {
28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) {
134 * type being adapted. The base allocation must have mipmaps.
143 throw new RSInvalidStateException("Cannot set LOD when the allocation type does not include mipmaps.");
153 * Set the active Face. The base allocation must be of a type
160 throw new RSInvalidStateException("Cannot set Face when the allocation type does not include faces.");
174 * the allocation being adapted. The base allocation must
181 throw new RSInvalidStateException("Cannot set Y when the allocation type does not include Y dim.");
184 throw new RSInvalidStateException("Cannot set Y greater than dimension of allocation.")
    [all...]
ScriptIntrinsicConvolve5x5.java 22 * Intrinsic for applying a 5x5 convolve to an allocation.
27 private Allocation mInput;
60 * @param ain The input allocation.
62 public void setInput(Allocation ain) {
92 * allocation.
94 * @param aout Output allocation. Must match creation element
97 public void forEach(Allocation aout) {
ScriptIntrinsicYuvToRGB.java 23 * The input allocation is supplied in NV21 format as a U8
28 private Allocation mInput;
53 * Set the input yuv allocation, must be {@link Element#U8}.
55 * @param ain The input allocation.
57 public void setInput(Allocation ain) {
65 * @param aout Output allocation. Must match creation element
68 public void forEach(Allocation aout) {
  /frameworks/rs/
rsRuntime.h 32 void rsrBindTexture(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *);
33 void rsrBindConstant(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *);
34 void rsrBindConstant(Context *, Script *, ProgramVertex*, uint32_t slot, Allocation *);
40 void rsrBindFrameBufferObjectColorTarget(Context *, Script *, Allocation *, uint32_t slot);
41 void rsrBindFrameBufferObjectDepthTarget(Context *, Script *, Allocation *);
76 void rsrAllocationSyncAll(Context *, Script *, Allocation *);
78 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc,
82 Allocation *srcAlloc,
84 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc,
88 Allocation *srcAlloc
    [all...]
rsProgramVertex.cpp 46 "Unable to set fixed function emulation matrices because allocation is missing");
49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
75 "Unable to set fixed function emulation matrix projection because allocation is missing");
78 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
93 "Unable to set fixed function emulation matrix modelview because allocation is missing");
96 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
100 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
111 "Unable to set fixed function emulation matrix texture because allocation is missing")
    [all...]
rsMesh.h 43 // Position, normal, texcoord, etc could either be strided in one allocation
45 Allocation **vertexBuffers;
49 Allocation **indexBuffers;
67 void setVertexBuffer(Allocation *vb, uint32_t index) {
72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) {
88 ObjectBaseRef<Allocation> *mVertexBuffers;
89 ObjectBaseRef<Allocation> *mIndexBuffers;
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);
  /frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
AllocationAdapter.java 27 public class AllocationAdapter extends Allocation {
28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) {
134 * type being adapted. The base allocation must have mipmaps.
143 throw new RSInvalidStateException("Cannot set LOD when the allocation type does not include mipmaps.");
153 * Set the active Face. The base allocation must be of a type
160 throw new RSInvalidStateException("Cannot set Face when the allocation type does not include faces.");
174 * the allocation being adapted. The base allocation must
181 throw new RSInvalidStateException("Cannot set Y when the allocation type does not include Y dim.");
184 throw new RSInvalidStateException("Cannot set Y greater than dimension of allocation.")
    [all...]
ScriptIntrinsicConvolve3x3.java 22 * Intrinsic for applying a 3x3 convolve to an allocation.
27 private Allocation mInput;
65 * @param ain The input allocation.
67 public void setInput(Allocation ain) {
95 * allocation.
97 * @param aout Output allocation. Must match creation element
100 public void forEach(Allocation aout) {
ScriptIntrinsicConvolve5x5.java 22 * Intrinsic for applying a 5x5 convolve to an allocation.
27 private Allocation mInput;
60 * @param ain The input allocation.
62 public void setInput(Allocation ain) {
92 * allocation.
94 * @param aout Output allocation. Must match creation element
97 public void forEach(Allocation aout) {
ScriptIntrinsicYuvToRGB.java 23 * The input allocation is supplied in NV21 format as a U8
28 private Allocation mInput;
53 * Set the input yuv allocation, must be {@link Element#U8}.
55 * @param ain The input allocation.
57 public void setInput(Allocation ain) {
65 * @param aout Output allocation. Must match creation element
68 public void forEach(Allocation aout) {
  /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...]
Transform.java 55 Allocation childRSData = Allocation.createSized(rs, Element.ALLOCATION(rs),
59 Allocation[] childrenAllocs = new Allocation[mChildren.size()];
  /external/chromium/chrome/browser/ui/gtk/
gtk_chrome_shrinkable_hbox.cc 20 GtkAllocation* allocation; member in struct:__anon4024::SizeAllocateData
54 GtkAllocation child_allocation = child->allocation;
73 int overflow = (data->allocation->x + data->border_width + padding -
83 (data->allocation->x + data->allocation->width - data->border_width));
89 if (child_allocation.width != child->allocation.width) {
110 GtkAllocation* allocation);
174 GtkWidget* widget, GtkAllocation* allocation) {
184 if (widget->allocation.width < allocation->width |
    [all...]
gtk_floating_container.cc 55 GtkAllocation* allocation);
205 GtkAllocation* allocation) {
206 widget->allocation = *allocation;
210 allocation->x,
211 allocation->y,
212 allocation->width,
213 allocation->height);
216 // Give the same allocation to our GtkBin component.
219 gtk_widget_size_allocate(bin->child, allocation);
    [all...]
  /external/llvm/runtime/
README.txt 2 the LLVM compiler. For example, the automatic pool allocation transformation
  /external/valgrind/main/drd/tests/
annotate_hb_race.stderr.exp 4 Allocation context: BSS section of annotate_hb_race
read_after_free.stderr.exp 4 Allocation context: unknown.
  /frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
FountainFboRS.java 20 import android.renderscript.Allocation;
37 private Allocation mColorBuffer;
68 /* Create the allocation for the color buffer */
71 mColorBuffer = Allocation.createTyped(mRS, colorBuilder.create(),
72 Allocation.USAGE_GRAPHICS_TEXTURE |
73 Allocation.USAGE_GRAPHICS_RENDER_TARGET);
75 /* Set the allocation in the Renderscript runtime */
  /frameworks/rs/scriptc/
rs_mesh.rsh 53 * Returns an allocation that is part of the mesh and contains
57 * @param index index of the vertex allocation
58 * @return allocation containing vertex data
64 * Returns an allocation containing index data or a null
65 * allocation if only the primitive is specified
68 * @param index index of the index allocation
69 * @return allocation containing index data
  /frameworks/support/renderscript/v8/rs_support/scriptc/
rs_mesh.rsh 53 * Returns an allocation that is part of the mesh and contains
57 * @param index index of the vertex allocation
58 * @return allocation containing vertex data
64 * Returns an allocation containing index data or a null
65 * allocation if only the primitive is specified
68 * @param index index of the index allocation
69 * @return allocation containing index data
  /frameworks/support/renderscript/v8/rs_support/
rsRuntime.h 32 void rsrAllocationSyncAll(Context *, Script *, Allocation *);
34 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc,
38 Allocation *srcAlloc,
40 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc,
44 Allocation *srcAlloc,
73 void rsrAllocationIncRefs(const Context *, const Allocation *, void *ptr,
75 void rsrAllocationDecRefs(const Context *, const Allocation *, void *ptr,
83 void rsrAllocationSyncAll(Context *, Script *, Allocation *a, RsAllocationUsageType source);
87 Allocation *in,
88 Allocation *out
    [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...]
  /frameworks/rs/cpp/
Allocation.h 30 class Allocation : public BaseObj {
34 android::sp<Allocation> mAdaptedAllocation;
56 Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage);
94 void copy1DRangeFrom(uint32_t off, size_t count, const Allocation *data, uint32_t dataOff);
105 const Allocation *data, size_t dataLen,
115 static sp<Allocation> createTyped(RenderScript *rs, sp<const Type> type,
117 static sp<Allocation> createTyped(RenderScript *rs, sp<const Type> type,
120 static sp<Allocation> createTyped(RenderScript *rs, sp<const Type> type,
122 static sp<Allocation> createSized(RenderScript *rs, sp<const Element> e, size_t count,

Completed in 291 milliseconds

1 23 4 5 6 7 8 91011>>