/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 92 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 476 rsdAllocationDestroy(const Context *rsc, Allocation *alloc) argument 533 rsdAllocationResize(const Context *rsc, const Allocation *alloc, const Type *newType, bool zeroNew) argument 561 rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) argument 595 rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src) argument 640 rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) argument 646 IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument 671 rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument 757 rsdAllocationIoSend(const Context *rsc, Allocation *alloc) argument 785 rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) argument 795 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument 815 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 875 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 914 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument 926 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 955 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 985 rsdAllocationLock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument 990 rsdAllocationUnlock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument 1077 rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument 1097 rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument 1117 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 1135 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 1153 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 1171 rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) argument 1193 rsdAllocationGrallocBits(const android::renderscript::Context *rsc, android::renderscript::Allocation *alloc) argument 1199 rsdAllocationUpdateCachedObject(const Context *rsc, const Allocation *alloc, rs_allocation *obj) argument [all...] |
H A D | rsdSampler.cpp | 45 const Sampler *alloc, 48 obj->p = alloc; 51 if (alloc != NULL) { 52 obj->v1 = alloc->mHal.drv; 44 rsdSamplerUpdateCachedObject(const Context *rsc, const Sampler *alloc, rs_sampler *obj) argument
|
H A D | rsdAllocation.h | 80 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 D | rsdMeshObj.cpp | 136 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 D | rs_allocation.c | 7 Allocation_t *alloc = (Allocation_t *)a.p; local 8 return alloc->mHal.drvState.lod[0].dimX; 13 Allocation_t *alloc = (Allocation_t *)a.p; local 14 return alloc->mHal.drvState.lod[0].dimY; 19 Allocation_t *alloc = (Allocation_t *)a.p; local 20 return alloc->mHal.drvState.lod[0].dimZ; 25 Allocation_t *alloc = (Allocation_t *)a.p; local 26 return alloc->mHal.state.hasMipmaps; 31 Allocation_t *alloc = (Allocation_t *)a.p; local 32 return alloc 38 Allocation_t *alloc = (Allocation_t *)a.p; local 106 Allocation_t *alloc = (Allocation_t *)a.p; local 121 Allocation_t *alloc = (Allocation_t *)a.p; local 191 Allocation_t *alloc = (Allocation_t *)a.p; local 199 Allocation_t *alloc = (Allocation_t *)a.p; local 208 Allocation_t *alloc = (Allocation_t *)a.p; local 217 Allocation_t *alloc = (Allocation_t *)a.p; local 225 Allocation_t *alloc = (Allocation_t *)a.p; local 234 Allocation_t *alloc = (Allocation_t *)a.p; local 311 Allocation_t *alloc = (Allocation_t *)a.p; local 325 Allocation_t *alloc = (Allocation_t *)a.p; local [all...] |
H A D | rs_sample.c | 268 getBilinearSample1D(const Allocation_t *alloc, float2 weights, argument 272 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 318 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, argument 322 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 323 size_t stride = alloc->mHal.drvState.lod[lod].stride; 348 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, argument 351 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 385 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, argument 388 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 389 size_t stride = alloc 421 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 453 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 466 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 514 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 536 const Allocation_t *alloc = (const Allocation_t *)a.p; local 588 const Allocation_t *alloc = (const Allocation_t *)a.p; local 635 const Allocation_t *alloc = (const Allocation_t *)a.p; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 92 addDrawOp(new (alloc()) DrawFunctorOp(functor)); 98 addStateOp(new (alloc()) SaveOp(flags)); 125 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, flags)); 139 addStateOp(new (alloc()) RotateOp(degrees)); 144 addStateOp(new (alloc()) ScaleOp(sx, sy)); 149 addStateOp(new (alloc()) SkewOp(sx, sy)); 154 addStateOp(new (alloc()) SetMatrixOp(matrix)); 159 addStateOp(new (alloc()) ConcatMatrixOp(matrix)); 165 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 171 addStateOp(new (alloc()) ClipPathO [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 47 ObjectBaseRef<Allocation> alloc; member in class:android::renderscript::RsdCpuScriptIntrinsicYuvToRGB 60 alloc.set(static_cast<Allocation *>(data)); 108 if (!cp->alloc.get()) { 112 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 118 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride; 121 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { 130 size_t cstep = cp->alloc->mHal.drvState.yuv.step; 132 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; 133 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride; 136 const uchar *pinV = (const uchar *)cp->alloc [all...] |
H A D | rsCpuIntrinsicConvolve5x5.cpp | 42 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; 413 if (!cp->alloc.get()) { 417 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 418 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; 462 if (!cp->alloc.get()) { 466 const uchar *pin = (const uchar *)cp->alloc [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_apitest.java | 46 Allocation alloc = Allocation.createTyped(pRS, type); 51 s.set_allocNonNull(alloc); 55 s.bind_allocPtr(alloc);
|
/frameworks/rs/ |
H A D | rs_hal.h | 165 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 166 void (*destroy)(const Context *rsc, Allocation *alloc); 167 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc); 169 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 171 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 172 void (*markDirty)(const Context *rsc, const Allocation *alloc); 174 void (*setSurface)(const Context *rsc, Allocation *alloc, ANativeWindow *sur); 175 void (*ioSend)(const Context *rsc, Allocation *alloc); 184 void (*ioReceive)(const Context *rsc, Allocation *alloc); 186 void (*data1D)(const Context *rsc, const Allocation *alloc, [all...] |
H A D | rsProgram.cpp | 152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { argument 153 if (alloc != NULL) { 155 ALOGE("Attempt to bind alloc at slot %u, on shader id %" PRIuPTR ", but const count is %u", 160 if (alloc->getType() != mConstantTypes[slot].get()) { 161 ALOGE("Attempt to bind alloc at slot %u, on shader id %" PRIuPTR ", but types mismatch", 167 if (mConstants[slot].get() == alloc) { 173 mConstants[slot].set(alloc); 174 mHal.state.constants[slot] = alloc; 175 if (alloc) { 176 alloc [all...] |
H A D | rsAdapter.cpp | 62 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 D | rsPath.h | 59 void rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc);
|
H A D | rsAllocation.cpp | 64 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); 392 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); local 398 uint32_t packedSize = alloc->getPackedSize(); 403 ObjectBase::checkDelete(alloc); 408 alloc->assignName(name); 412 alloc->data(rsc, 0, 0, count, stream->getPtr() + stream->getPos(), dataSize); 414 alloc->unpackVec3Allocation(rsc, stream->getPtr() + stream->getPos(), dataSize); 418 return alloc; 490 intptr_t ip = (intptr_t)alloc; 506 mBufferListener->alloc 571 Allocation *alloc = static_cast<Allocation *>(va); local 638 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps, (void*)ptr); local 740 Allocation *alloc = static_cast<Allocation *>(valloc); local 746 Allocation *alloc = static_cast<Allocation *>(valloc); local 751 Allocation *alloc = static_cast<Allocation *>(valloc); local 756 Allocation *alloc = static_cast<Allocation *>(valloc); local 763 Allocation *alloc = static_cast<Allocation *>(valloc); local [all...] |
H A D | rsPath.cpp | 51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) { argument
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 335 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/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
H A D | FakeBackgroundService.java | 49 int[] alloc = new int[FakeApp.PAGE_SIZE/4]; 50 mAllocs.add(alloc); 53 alloc[j] = VAL;
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 393 native void rsnAllocationCopyToBitmap(long con, long alloc, Bitmap bmp); argument 394 synchronized void nAllocationCopyToBitmap(long alloc, Bitmap bmp) { argument 396 rsnAllocationCopyToBitmap(mContext, alloc, bmp); 400 native void rsnAllocationSyncAll(long con, long alloc, int src); argument 401 synchronized void nAllocationSyncAll(long alloc, int src) { argument 403 rsnAllocationSyncAll(mContext, alloc, src); 405 native Surface rsnAllocationGetSurface(long con, long alloc); argument 406 synchronized Surface nAllocationGetSurface(long alloc) { argument 408 return rsnAllocationGetSurface(mContext, alloc); 410 native void rsnAllocationSetSurface(long con, long alloc, Surfac argument 411 nAllocationSetSurface(long alloc, Surface sur) argument 415 rsnAllocationIoSend(long con, long alloc) argument 416 nAllocationIoSend(long alloc) argument 420 rsnAllocationIoReceive(long con, long alloc) argument 421 nAllocationIoReceive(long alloc) argument 427 rsnAllocationGenerateMipmaps(long con, long alloc) argument 428 nAllocationGenerateMipmaps(long alloc) argument 432 rsnAllocationCopyFromBitmap(long con, long alloc, Bitmap bmp) argument 433 nAllocationCopyFromBitmap(long alloc, Bitmap bmp) argument 593 rsnScriptBindAllocation(long con, long script, long alloc, int slot) argument 594 nScriptBindAllocation(long script, long alloc, int slot) argument 758 rsnScriptGroupSetInput(long con, long group, long kernel, long alloc) argument 759 nScriptGroupSetInput(long group, long kernel, long alloc) argument 764 rsnScriptGroupSetOutput(long con, long group, long kernel, long alloc) argument 765 nScriptGroupSetOutput(long group, long kernel, long alloc) argument [all...] |
H A D | AllocationAdapter.java | 24 AllocationAdapter(long id, RenderScript rs, Allocation alloc) { argument 25 super(id, rs, alloc.mType, alloc.mUsage); 26 mAdaptedAllocation = alloc;
|
H A D | Mesh.java | 360 Allocation alloc = null; 363 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 365 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 367 vertexBuffers[ct] = alloc; 368 vtx[ct] = alloc.getID(mRS); 372 Allocation alloc = null; 375 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 377 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 379 long allocID = (alloc == null) ? 0 : alloc [all...] |
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 559 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) argument 561 LOG_API("nAllocationSetSurface, con(%p), alloc(%p), surface(%p)", 562 (RsContext)con, (RsAllocation)alloc, (Surface *)sur); 569 rsAllocationSetSurface((RsContext)con, (RsAllocation)alloc, static_cast<ANativeWindow *>(s.get())); 573 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) argument 575 LOG_API("nAllocationIoSend, con(%p), alloc(%p)", (RsContext)con, alloc); 576 rsAllocationIoSend((RsContext)con, (RsAllocation)alloc); 580 nAllocationIoReceive(JNIEnv *_env, jobject _this, jlong con, jlong alloc) argument 582 LOG_API("nAllocationIoReceive, con(%p), alloc( 588 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) argument 643 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) argument 660 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) argument 685 RsAllocation *alloc = (RsAllocation *)_alloc; local 694 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint offset, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 708 RsAllocation *alloc = (RsAllocation *)_alloc; local 746 RsAllocation *alloc = (RsAllocation *)_alloc; local 781 RsAllocation *alloc = (RsAllocation *)_alloc; local 791 RsAllocation *alloc = (RsAllocation *)_alloc; local 802 RsAllocation *alloc = (RsAllocation *)_alloc; local 817 nAllocationResize1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint dimX) argument 948 nScriptBindAllocation(JNIEnv *_env, jobject _this, jlong con, jlong script, jlong alloc, jint slot) argument 1383 nScriptGroupSetInput(JNIEnv *_env, jobject _this, jlong con, jlong gid, jlong kid, jlong alloc) argument 1391 nScriptGroupSetOutput(JNIEnv *_env, jobject _this, jlong con, jlong gid, jlong kid, jlong alloc) argument 1643 const jlong alloc = (jlong)(uintptr_t)allocs[i]; local 1661 const jlong alloc = (jlong)(uintptr_t)allocs[i]; local [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 340 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); argument 341 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { argument 343 rsnAllocationCopyToBitmap(mContext, alloc, bmp); 347 native void rsnAllocationSyncAll(int con, int alloc, int src); argument 348 synchronized void nAllocationSyncAll(int alloc, int src) { argument 350 rsnAllocationSyncAll(mContext, alloc, src); 352 native void rsnAllocationIoSend(int con, int alloc); argument 353 synchronized void nAllocationIoSend(int alloc) { argument 355 rsnAllocationIoSend(mContext, alloc); 357 native void rsnAllocationIoReceive(int con, int alloc); argument 358 nAllocationIoReceive(int alloc) argument 364 rsnAllocationGenerateMipmaps(int con, int alloc) argument 365 nAllocationGenerateMipmaps(int alloc) argument 369 rsnAllocationCopyFromBitmap(int con, int alloc, Bitmap bmp) argument 370 nAllocationCopyFromBitmap(int alloc, Bitmap bmp) argument 526 rsnScriptBindAllocation(int con, int script, int alloc, int slot) argument 527 nScriptBindAllocation(int script, int alloc, int slot) argument 640 rsnScriptGroupSetInput(int con, int group, int kernel, int alloc) argument 641 nScriptGroupSetInput(int group, int kernel, int alloc) argument 646 rsnScriptGroupSetOutput(int con, int group, int kernel, int alloc) argument 647 nScriptGroupSetOutput(int group, int kernel, int alloc) argument [all...] |
/frameworks/native/include/ui/ |
H A D | GraphicBufferAllocator.h | 65 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 D | SampleRSActivity.java | 155 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) { argument 157 mScript.invoke_setSampleData(alloc, mTwoByTwoAlloc, sampler); 158 mScript.forEach_root(alloc); 159 alloc.ioSend();
|