Searched refs:alloc (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/rs/driver/
H A DrsdAllocation.cpp92 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, argument
95 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
96 ptr += face * alloc->mHal.drvState.faceOffset;
97 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride;
98 ptr += yoff * alloc->mHal.drvState.lod[lod].stride;
99 ptr += xoff * alloc->mHal.state.elementSizeBytes;
104 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, argument
108 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
114 if (alloc
123 Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) argument
165 UploadToTexture(const Context *rsc, const Allocation *alloc) argument
203 AllocateRenderTarget(const Context *rsc, const Allocation *alloc) argument
228 UploadToBufferObject(const Context *rsc, const Allocation *alloc) argument
303 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument
371 rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) argument
469 rsdAllocationDestroy(const Context *rsc, Allocation *alloc) argument
522 rsdAllocationResize(const Context *rsc, const Allocation *alloc, const Type *newType, bool zeroNew) argument
550 rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) argument
584 rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src) argument
623 rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) argument
629 IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
654 rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
740 rsdAllocationIoSend(const Context *rsc, Allocation *alloc) argument
768 rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) argument
778 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
798 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
858 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
897 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
909 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
938 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
968 rsdAllocationLock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
973 rsdAllocationUnlock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
1060 rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument
1080 rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument
1100 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1118 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1136 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1154 rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) argument
1176 rsdAllocationGrallocBits(const android::renderscript::Context *rsc, android::renderscript::Allocation *alloc) argument
[all...]
H A DrsdAllocation.h80 android::renderscript::Allocation *alloc);
82 android::renderscript::Allocation *alloc,
85 android::renderscript::Allocation *alloc);
88 const android::renderscript::Allocation *alloc,
91 const android::renderscript::Allocation *alloc,
94 const android::renderscript::Allocation *alloc);
96 android::renderscript::Allocation *alloc, ANativeWindow *nw);
98 android::renderscript::Allocation *alloc);
100 android::renderscript::Allocation *alloc);
103 const android::renderscript::Allocation *alloc,
[all...]
H A DrsdMeshObj.cpp136 const Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[ct]; local
137 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
139 rsdAllocationSyncAll(rsc, alloc, RS_ALLOCATION_USAGE_SCRIPT);
146 Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[allocIndex]; local
147 DrvAllocation *drvAlloc = (DrvAllocation *)alloc->mHal.drv;
154 mAttribs[ct].ptr = (const uint8_t*)alloc->mHal.drvState.lod[0].mallocPtr;
/frameworks/rs/driver/runtime/
H A Drs_allocation.c8 Allocation_t *alloc = (Allocation_t *)a.p; local
9 return alloc->mHal.drvState.lod[0].dimX;
14 Allocation_t *alloc = (Allocation_t *)a.p; local
15 return alloc->mHal.drvState.lod[0].dimY;
20 Allocation_t *alloc = (Allocation_t *)a.p; local
21 return alloc->mHal.drvState.lod[0].dimZ;
26 Allocation_t *alloc = (Allocation_t *)a.p; local
27 return alloc->mHal.state.hasMipmaps;
32 Allocation_t *alloc = (Allocation_t *)a.p; local
33 return alloc
39 Allocation_t *alloc = (Allocation_t *)a.p; local
108 Allocation_t *alloc = (Allocation_t *)a.p; local
164 Allocation_t *alloc = (Allocation_t *)a.p; local
172 Allocation_t *alloc = (Allocation_t *)a.p; local
181 Allocation_t *alloc = (Allocation_t *)a.p; local
190 Allocation_t *alloc = (Allocation_t *)a.p; local
198 Allocation_t *alloc = (Allocation_t *)a.p; local
207 Allocation_t *alloc = (Allocation_t *)a.p; local
268 Allocation_t *alloc = (Allocation_t *)a.p; local
282 Allocation_t *alloc = (Allocation_t *)a.p; local
[all...]
H A Drs_sample.c269 getBilinearSample1D(const Allocation_t *alloc, float2 weights, argument
273 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
319 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, argument
323 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
324 size_t stride = alloc->mHal.drvState.lod[lod].stride;
349 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, argument
352 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
386 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, argument
389 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
390 size_t stride = alloc
422 sample_LOD_LinearPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, float uv, uint32_t lod) argument
454 sample_LOD_NearestPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, float uv, uint32_t lod) argument
467 sample_LOD_LinearPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, rs_sampler_value wrapT, float2 uv, uint32_t lod) argument
515 sample_LOD_NearestPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, rs_sampler_value wrapT, float2 uv, uint32_t lod) argument
537 const Allocation_t *alloc = (const Allocation_t *)a.p; local
589 const Allocation_t *alloc = (const Allocation_t *)a.p; local
636 const Allocation_t *alloc = (const Allocation_t *)a.p; local
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp156 addDrawOp(new (alloc()) DrawFunctorOp(functor));
162 addStateOp(new (alloc()) SaveOp(flags));
185 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, alpha, mode, flags));
198 addStateOp(new (alloc()) RotateOp(degrees));
203 addStateOp(new (alloc()) ScaleOp(sx, sy));
208 addStateOp(new (alloc()) SkewOp(sx, sy));
214 addStateOp(new (alloc()) SetMatrixOp(matrix));
220 addStateOp(new (alloc()) ConcatMatrixOp(matrix));
226 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op));
232 addStateOp(new (alloc()) ClipPathO
[all...]
H A DPathTessellator.h42 This should be the only method used by the PathTessellator. Subsequent calls to alloc will
47 TYPE* alloc(int vertexCount) { function in class:android::uirenderer::VertexBuffer
69 TYPE* dst = alloc<TYPE>(verticesToCopy);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicYuvToRGB.cpp47 ObjectBaseRef<Allocation> alloc; member in class:android::renderscript::RsdCpuScriptIntrinsicYuvToRGB
60 alloc.set(static_cast<Allocation *>(data));
117 if (!cp->alloc.get()) {
121 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
127 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride;
130 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) {
139 size_t cstep = cp->alloc->mHal.drvState.yuv.step;
141 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr;
142 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride;
145 const uchar *pinV = (const uchar *)cp->alloc
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp42 ObjectBaseRef<Allocation> alloc; member in class:android::renderscript::RsdCpuScriptIntrinsicConvolve5x5
72 alloc.set(static_cast<Allocation *>(data));
353 if (!cp->alloc.get()) {
357 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
358 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride;
402 if (!cp->alloc.get()) {
406 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
407 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride;
451 if (!cp->alloc.get()) {
455 const uchar *pin = (const uchar *)cp->alloc
[all...]
/frameworks/rs/
H A Drs_hal.h146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
147 void (*destroy)(const Context *rsc, Allocation *alloc);
148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc);
150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
153 void (*markDirty)(const Context *rsc, const Allocation *alloc);
155 void (*setSurface)(const Context *rsc, Allocation *alloc, ANativeWindow *sur);
156 void (*ioSend)(const Context *rsc, Allocation *alloc);
165 void (*ioReceive)(const Context *rsc, Allocation *alloc);
167 void (*data1D)(const Context *rsc, const Allocation *alloc,
[all...]
H A DrsProgram.cpp150 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { argument
151 if (alloc != NULL) {
153 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but const count is %u",
158 if (alloc->getType() != mConstantTypes[slot].get()) {
159 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but types mismatch",
165 if (mConstants[slot].get() == alloc) {
171 mConstants[slot].set(alloc);
172 mHal.state.constants[slot] = alloc;
173 if (alloc) {
174 alloc
[all...]
H A DrsAdapter.cpp62 Allocation * alloc = static_cast<Allocation *>(valloc); local
63 a->setAllocation(alloc);
136 Allocation * alloc = static_cast<Allocation *>(valloc); local
137 a->setAllocation(alloc);
H A DrsPath.h59 void rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc);
H A DrsAllocation.cpp64 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
375 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); local
381 uint32_t packedSize = alloc->getPackedSize();
385 ObjectBase::checkDelete(alloc);
390 alloc->assignName(name);
394 alloc->data(rsc, 0, 0, count, stream->getPtr() + stream->getPos(), dataSize);
396 alloc->unpackVec3Allocation(rsc, stream->getPtr() + stream->getPos(), dataSize);
400 return alloc;
463 intptr_t ip = (intptr_t)alloc;
478 mBufferListener->alloc
530 Allocation *alloc = static_cast<Allocation *>(va); local
597 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mips, (void*)ptr); local
699 Allocation *alloc = static_cast<Allocation *>(valloc); local
705 Allocation *alloc = static_cast<Allocation *>(valloc); local
710 Allocation *alloc = static_cast<Allocation *>(valloc); local
715 Allocation *alloc = static_cast<Allocation *>(valloc); local
[all...]
H A Drs.spec74 param RsAllocation alloc
80 param RsAllocation alloc
128 param RsAllocation alloc
381 param RsAllocation alloc
387 param RsAllocation alloc
395 param RsAllocation alloc
399 param RsAllocation alloc
H A DrsPath.cpp51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) { argument
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp335 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) argument
337 LOG_API("nAllocationGenerateMipmaps, con(%p), a(%p)", con, (RsAllocation)alloc);
338 rsAllocationGenerateMipmaps(con, (RsAllocation)alloc);
403 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument
413 rsAllocation2DData(con, (RsAllocation)alloc, 0, 0,
421 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument
431 rsAllocationCopyToBitmap(con, (RsAllocation)alloc, pixels, GetBitmapSize(_env, jbitmap));
439 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) argument
442 LOG_API("nAllocation1DData_i, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes);
444 rsAllocation1DData(con, (RsAllocation)alloc, offse
449 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) argument
459 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) argument
469 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) argument
480 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes) argument
490 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jshortArray data, int sizeBytes) argument
501 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jbyteArray data, int sizeBytes) argument
512 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jintArray data, int sizeBytes) argument
523 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument
558 nAllocationData3D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jshortArray data, int sizeBytes) argument
569 nAllocationData3D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jbyteArray data, int sizeBytes) argument
580 nAllocationData3D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jintArray data, int sizeBytes) argument
591 nAllocationData3D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jfloatArray data, int sizeBytes) argument
624 nAllocationRead_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jintArray data) argument
635 nAllocationRead_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jshortArray data) argument
646 nAllocationRead_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jbyteArray data) argument
657 nAllocationRead_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jfloatArray data) argument
675 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument
684 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument
949 nScriptGroupSetInput(JNIEnv *_env, jobject _this, RsContext con, jint gid, jint kid, jint alloc) argument
957 nScriptGroupSetOutput(JNIEnv *_env, jobject _this, RsContext con, jint gid, jint kid, jint alloc) argument
[all...]
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp486 nAllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur) argument
488 LOG_API("nAllocationSetSurface, con(%p), alloc(%p), surface(%p)",
489 con, alloc, (Surface *)sur);
496 rsAllocationSetSurface(con, alloc, static_cast<ANativeWindow *>(s.get()));
500 nAllocationIoSend(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc) argument
502 LOG_API("nAllocationIoSend, con(%p), alloc(%p)", con, alloc);
503 rsAllocationIoSend(con, alloc);
507 nAllocationIoReceive(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc) argument
509 LOG_API("nAllocationIoReceive, con(%p), alloc(
515 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) argument
570 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument
587 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument
608 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) argument
618 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) argument
628 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) argument
638 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) argument
649 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes) argument
659 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jshortArray data, int sizeBytes) argument
670 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jbyteArray data, int sizeBytes) argument
681 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jintArray data, int sizeBytes) argument
692 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument
727 nAllocationData3D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jshortArray data, int sizeBytes) argument
738 nAllocationData3D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jbyteArray data, int sizeBytes) argument
749 nAllocationData3D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jintArray data, int sizeBytes) argument
760 nAllocationData3D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jfloatArray data, int sizeBytes) argument
793 nAllocationRead_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jintArray data) argument
804 nAllocationRead_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jshortArray data) argument
815 nAllocationRead_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jbyteArray data) argument
826 nAllocationRead_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jfloatArray data) argument
844 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument
976 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument
1287 nScriptGroupSetInput(JNIEnv *_env, jobject _this, RsContext con, jint gid, jint kid, jint alloc) argument
1295 nScriptGroupSetOutput(JNIEnv *_env, jobject _this, RsContext con, jint gid, jint kid, jint alloc) argument
[all...]
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeBackgroundService.java49 int[] alloc = new int[FakeApp.PAGE_SIZE/4];
50 mAllocs.add(alloc);
53 alloc[j] = VAL;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java259 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); argument
260 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { argument
262 rsnAllocationCopyToBitmap(mContext, alloc, bmp);
266 native void rsnAllocationSyncAll(int con, int alloc, int src); argument
267 synchronized void nAllocationSyncAll(int alloc, int src) { argument
269 rsnAllocationSyncAll(mContext, alloc, src);
271 native void rsnAllocationIoSend(int con, int alloc); argument
272 synchronized void nAllocationIoSend(int alloc) { argument
274 rsnAllocationIoSend(mContext, alloc);
276 native void rsnAllocationIoReceive(int con, int alloc); argument
277 nAllocationIoReceive(int alloc) argument
283 rsnAllocationGenerateMipmaps(int con, int alloc) argument
284 nAllocationGenerateMipmaps(int alloc) argument
288 rsnAllocationCopyFromBitmap(int con, int alloc, Bitmap bmp) argument
289 nAllocationCopyFromBitmap(int alloc, Bitmap bmp) argument
445 rsnScriptBindAllocation(int con, int script, int alloc, int slot) argument
446 nScriptBindAllocation(int script, int alloc, int slot) argument
559 rsnScriptGroupSetInput(int con, int group, int kernel, int alloc) argument
560 nScriptGroupSetInput(int group, int kernel, int alloc) argument
565 rsnScriptGroupSetOutput(int con, int group, int kernel, int alloc) argument
566 nScriptGroupSetOutput(int group, int kernel, int alloc) argument
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java343 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); argument
344 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { argument
346 rsnAllocationCopyToBitmap(mContext, alloc, bmp);
350 native void rsnAllocationSyncAll(int con, int alloc, int src); argument
351 synchronized void nAllocationSyncAll(int alloc, int src) { argument
353 rsnAllocationSyncAll(mContext, alloc, src);
355 native Surface rsnAllocationGetSurface(int con, int alloc); argument
356 synchronized Surface nAllocationGetSurface(int alloc) { argument
358 return rsnAllocationGetSurface(mContext, alloc);
360 native void rsnAllocationSetSurface(int con, int alloc, Surfac argument
361 nAllocationSetSurface(int alloc, Surface sur) argument
365 rsnAllocationIoSend(int con, int alloc) argument
366 nAllocationIoSend(int alloc) argument
370 rsnAllocationIoReceive(int con, int alloc) argument
371 nAllocationIoReceive(int alloc) argument
377 rsnAllocationGenerateMipmaps(int con, int alloc) argument
378 nAllocationGenerateMipmaps(int alloc) argument
382 rsnAllocationCopyFromBitmap(int con, int alloc, Bitmap bmp) argument
383 nAllocationCopyFromBitmap(int alloc, Bitmap bmp) argument
582 rsnScriptBindAllocation(int con, int script, int alloc, int slot) argument
583 nScriptBindAllocation(int script, int alloc, int slot) argument
724 rsnScriptGroupSetInput(int con, int group, int kernel, int alloc) argument
725 nScriptGroupSetInput(int group, int kernel, int alloc) argument
730 rsnScriptGroupSetOutput(int con, int group, int kernel, int alloc) argument
731 nScriptGroupSetOutput(int group, int kernel, int alloc) argument
[all...]
H A DAllocationAdapter.java29 AllocationAdapter(int id, RenderScript rs, Allocation alloc) { argument
30 super(id, rs, alloc.mType, alloc.mUsage);
31 mAdaptedAllocation = alloc;
H A DMesh.java362 Allocation alloc = null;
365 alloc = Allocation.createTyped(mRS, entry.t, mUsage);
367 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
369 vertexBuffers[ct] = alloc;
370 vtx[ct] = alloc.getID(mRS);
374 Allocation alloc = null;
377 alloc = Allocation.createTyped(mRS, entry.t, mUsage);
379 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
381 int allocID = (alloc == null) ? 0 : alloc
[all...]
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h65 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage,
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
H A DSampleRSActivity.java156 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) { argument
158 mScript.invoke_setSampleData(alloc, mTwoByTwoAlloc, sampler);
159 mScript.forEach_root(alloc);
160 alloc.ioSendOutput();

Completed in 364 milliseconds

123