Searched refs:Allocation (Results 26 - 50 of 190) sorted by relevance

12345678

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneGraphBase.java24 import android.renderscript.Allocation;
40 Allocation mNameAlloc;
50 Allocation getNameAlloc(RenderScriptGL rs) {
H A DTransform.java55 Allocation childRSData = Allocation.createSized(rs, Element.ALLOCATION(rs),
59 Allocation[] childrenAllocs = new Allocation[mChildren.size()];
H A DScene.java271 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 DTextureRenderTarget.java35 public TextureRenderTarget(Allocation tex) {
40 public void setTexture(Allocation tex) {
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation
[all...]
H A DUT_array_alloc.java27 super(rstc, "Array Allocation", ctx);
37 Allocation[] Arr = new Allocation[dimX];
41 Allocation A = Allocation.createTyped(pRS, T);
H A DUT_kernel.java26 private Allocation A;
27 private Allocation B;
39 A = Allocation.createTyped(RS, typeBuilder.create());
41 B = Allocation.createTyped(RS, typeBuilder.create());
/frameworks/rs/
H A DrsPath.h41 Path(Context *, RsPathPrimitive pp, bool isStatic, Allocation *vtx, Allocation *loop, float q);
59 void rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc);
H A DrsAdapter.h33 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 DrsRuntime.h32 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 *srcAllo
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicConvolve5x5.java27 private Allocation mInput;
62 public void setInput(Allocation ain) {
97 public void forEach(Allocation aout) {
H A DScriptIntrinsicYuvToRGB.java28 private Allocation mInput;
57 public void setInput(Allocation ain) {
68 public void forEach(Allocation aout) {
/frameworks/rs/cpp/
H A DScript.h24 #include "Allocation.h"
32 class Allocation;
39 void forEach(uint32_t slot, sp<const Allocation> in, sp<const Allocation> out,
41 void bindAllocation(sp<Allocation> va, uint32_t slot) const;
70 sp<Allocation> mAllocation;
83 sp<const Allocation> getAllocation() {
H A DScript.cpp25 #include "Allocation.h"
35 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout,
50 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const {
66 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
H A DAllocation.h30 class Allocation : public BaseObj { class in namespace:android::renderscriptCpp
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,
/frameworks/rs/driver/
H A DrsdPath.h25 const android::renderscript::Allocation *vertex,
26 const android::renderscript::Allocation *loops);
/frameworks/rs/tests/
H A DScriptC_mono.h54 void forEach_root(android::sp<const android::renderscriptCpp::Allocation> ain, android::sp<const android::renderscriptCpp::Allocation> aout) const;
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.cpp25 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, function in class:Allocation
38 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
40 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
43 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
51 void Allocation::updateCache() {
62 Allocation
[all...]
H A DrsAdapter.h33 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;
/frameworks/base/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/
H A DLaunchTest.java24 private Allocation mAllocationX;
25 private Allocation mAllocationXY;
35 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
39 mAllocationXY = Allocation.createTyped(rs, tb.create());
H A DMandelbrot.java24 private Allocation mAllocationXY;
34 mAllocationXY = Allocation.createTyped(rs, tb.create());
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
H A DBallsRS.java41 Allocation.USAGE_SCRIPT |
42 Allocation.USAGE_GRAPHICS_CONSTANTS);
70 private Allocation loadTexture(int id) {
71 final Allocation allocation =
72 Allocation.createFromBitmapResource(mRS, mRes,
73 id, Allocation.MipmapControl.MIPMAP_NONE,
74 Allocation.USAGE_GRAPHICS_TEXTURE);
105 mPoints = new ScriptField_Point(mRS, PART_COUNT, Allocation.USAGE_SCRIPT);
118 mScript.bind_balls1(new ScriptField_Ball(mRS, PART_COUNT, Allocation.USAGE_SCRIPT));
119 mScript.bind_balls2(new ScriptField_Ball(mRS, PART_COUNT, Allocation
[all...]
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DGrain.java21 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/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java25 import android.renderscript.Allocation;
42 private Allocation mAllocationOut;
43 private Allocation mAllocationIn;
60 mAllocationOut = Allocation.createTyped(rs, tb.create());
61 mAllocationIn = Allocation.createSized(rs, Element.U8(mRS), (mHeight * mWidth) +
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOTestRS.java54 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...]

Completed in 241 milliseconds

12345678