Home
last modified time | relevance | path

Searched defs:alloc (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/rs/driver/runtime/
Drs_allocation.c7 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimX() local
13 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimY() local
19 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimZ() local
25 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimLOD() local
31 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimFaces() local
38 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetElement() local
106 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffset() local
121 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffsetNs() local
191 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
199 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
[all …]
Drs_sample.c268 getBilinearSample1D(const Allocation_t *alloc, float2 weights, in getBilinearSample1D()
318 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, in getBilinearSample2D()
348 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, in getNearestSample()
385 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, in getNearestSample()
421 sample_LOD_LinearPixel(const Allocation_t *alloc, in sample_LOD_LinearPixel()
453 sample_LOD_NearestPixel(const Allocation_t *alloc, in sample_LOD_NearestPixel()
466 sample_LOD_LinearPixel(const Allocation_t *alloc, in sample_LOD_LinearPixel()
514 sample_LOD_NearestPixel(const Allocation_t *alloc, in sample_LOD_NearestPixel()
536 const Allocation_t *alloc = (const Allocation_t *)a.p; in rsSample() local
588 const Allocation_t *alloc = (const Allocation_t *)a.p; in rsSample() local
[all …]
/frameworks/rs/driver/
DrsdAllocation.cpp92 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, in GetOffsetPtr()
104 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture()
123 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture()
165 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture()
203 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget()
228 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject()
303 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
371 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit()
476 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { in rsdAllocationDestroy()
533 void rsdAllocationResize(const Context *rsc, const Allocation *alloc, in rsdAllocationResize()
[all …]
DrsdMeshObj.cpp136 const Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[ct]; in renderPrimitiveRange() local
146 Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[allocIndex]; in renderPrimitiveRange() local
DrsdSampler.cpp45 const Sampler *alloc, in rsdSamplerUpdateCachedObject()
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp335 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) in nAllocationGenerateMipmaps()
403 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
421 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) in nAllocationCopyToBitmap()
439 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_i()
449 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_s()
459 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_b()
469 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_f()
480 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint … in nAllocationElementData1D()
490 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_s()
501 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_b()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_apitest.java46 Allocation alloc = Allocation.createTyped(pRS, type); in run() local
/frameworks/rs/
DrsAdapter.cpp62 Allocation * alloc = static_cast<Allocation *>(valloc); in rsi_Adapter1DBindAllocation() local
136 Allocation * alloc = static_cast<Allocation *>(valloc); in rsi_Adapter2DBindAllocation() local
DrsScriptGroup.cpp237 Allocation * alloc = Allocation::createAllocation(rsc, in create() local
391 RsAllocation alloc) { in rsi_ScriptGroupSetInput()
398 RsAllocation alloc) { in rsi_ScriptGroupSetOutput()
DrsPath.cpp51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) { in rasterize()
DrsAllocation.cpp392 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); in createFromStream() local
571 Allocation *alloc = static_cast<Allocation *>(va); in rsi_AllocationGenerateMipmaps() local
638 …Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps… in rsi_AllocationCreateTyped() local
740 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetSurface() local
746 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetSurface() local
751 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationIoSend() local
756 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationIoReceive() local
763 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetPointer() local
DrsProgram.cpp152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation()
DrsAllocation.h186 const android::renderscript::Allocation *alloc; variable
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java393 native void rsnAllocationCopyToBitmap(long con, long alloc, Bitmap bmp); in rsnAllocationCopyToBitmap()
394 synchronized void nAllocationCopyToBitmap(long alloc, Bitmap bmp) { in nAllocationCopyToBitmap()
400 native void rsnAllocationSyncAll(long con, long alloc, int src); in rsnAllocationSyncAll()
401 synchronized void nAllocationSyncAll(long alloc, int src) { in nAllocationSyncAll()
405 native Surface rsnAllocationGetSurface(long con, long alloc); in rsnAllocationGetSurface()
406 synchronized Surface nAllocationGetSurface(long alloc) { in nAllocationGetSurface()
410 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); in rsnAllocationSetSurface()
411 synchronized void nAllocationSetSurface(long alloc, Surface sur) { in nAllocationSetSurface()
415 native void rsnAllocationIoSend(long con, long alloc); in rsnAllocationIoSend()
416 synchronized void nAllocationIoSend(long alloc) { in nAllocationIoSend()
[all …]
DAllocationAdapter.java24 AllocationAdapter(long id, RenderScript rs, Allocation alloc) { in AllocationAdapter()
DMesh.java360 Allocation alloc = null; in create() local
372 Allocation alloc = null; in create() local
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScript.java340 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); in rsnAllocationCopyToBitmap()
341 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { in nAllocationCopyToBitmap()
347 native void rsnAllocationSyncAll(int con, int alloc, int src); in rsnAllocationSyncAll()
348 synchronized void nAllocationSyncAll(int alloc, int src) { in nAllocationSyncAll()
352 native void rsnAllocationIoSend(int con, int alloc); in rsnAllocationIoSend()
353 synchronized void nAllocationIoSend(int alloc) { in nAllocationIoSend()
357 native void rsnAllocationIoReceive(int con, int alloc); in rsnAllocationIoReceive()
358 synchronized void nAllocationIoReceive(int alloc) { in nAllocationIoReceive()
364 native void rsnAllocationGenerateMipmaps(int con, int alloc); in rsnAllocationGenerateMipmaps()
365 synchronized void nAllocationGenerateMipmaps(int alloc) { in nAllocationGenerateMipmaps()
[all …]
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp559 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface()
573 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend()
580 nAllocationIoReceive(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoReceive()
588 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps()
643 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
660 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap()
685 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local
694 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint offset, jint lod… in nAllocationElementData1D()
708 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local
746 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData3D() local
[all …]
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp93 status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, in alloc() function in android::GraphicBufferAllocator
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicYuvToRGB.cpp47 ObjectBaseRef<Allocation> alloc; member in android::renderscript::RsdCpuScriptIntrinsicYuvToRGB
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java155 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) { in filterAlloc()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DSceneManager.java214 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), in getStringAsAllocation() local
233 static void cacheAlloc(String str, Allocation alloc) { in cacheAlloc()
/frameworks/base/libs/hwui/
DDisplayListRenderer.h175 LinearAllocator& alloc() { return mDisplayListData->allocator; } in alloc() function
DVertexBuffer.h60 TYPE* alloc(int vertexCount) { in alloc() function
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java103 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), in createZeroTerminatedAlloc() local

12