Home
last modified time | relevance | path

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

12

/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_allocation.c8 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimX() local
14 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimY() local
20 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimZ() local
26 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimLOD() local
32 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimFaces() local
38 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
46 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
55 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
65 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetElement() local
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdAllocation.cpp40 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, in GetOffsetPtr()
52 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture()
58 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture()
61 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget()
64 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject()
67 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
116 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit()
174 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { in rsdAllocationDestroy()
185 void rsdAllocationResize(const Context *rsc, const Allocation *alloc, in rsdAllocationResize()
209 static void rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) { in rsdAllocationSyncFromFBO()
[all …]
DrsdIntrinsicYuvToRGB.cpp28 ObjectBaseRef<Allocation> alloc; member
DrsdIntrinsicConvolve3x3.cpp30 ObjectBaseRef<Allocation> alloc; member
/frameworks/rs/driver/
DrsdAllocation.cpp80 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, in GetOffsetPtr()
92 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture()
108 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture()
149 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture()
186 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget()
209 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject()
232 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
281 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit()
337 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { in rsdAllocationDestroy()
367 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
DrsdIntrinsicYuvToRGB.cpp28 ObjectBaseRef<Allocation> alloc; member
DrsdIntrinsicConvolve3x3.cpp30 ObjectBaseRef<Allocation> alloc; member
/frameworks/support/renderscript/v8/jni/
Dandroid_renderscript_RenderScript.cpp332 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) in nAllocationGenerateMipmaps()
384 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
402 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) in nAllocationCopyToBitmap()
420 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_i()
430 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_s()
440 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_b()
450 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_f()
461 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint … in nAllocationElementData1D()
471 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_s()
482 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_b()
[all …]
/frameworks/base/libs/hwui/
DPathRenderer.h44 TYPE* alloc(int size) { in alloc() function
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp490 nAllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur) in nAllocationSetSurface()
504 nAllocationIoSend(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc) in nAllocationIoSend()
511 nAllocationIoReceive(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc) in nAllocationIoReceive()
519 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) in nAllocationGenerateMipmaps()
558 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
575 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) in nAllocationCopyToBitmap()
596 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_i()
606 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_s()
616 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_b()
626 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_f()
[all …]
/frameworks/native/libs/utils/
DSharedBuffer.cpp27 SharedBuffer* SharedBuffer::alloc(size_t size) in alloc() function in android::SharedBuffer
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java280 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); in rsnAllocationCopyToBitmap()
281 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { in nAllocationCopyToBitmap()
287 native void rsnAllocationSyncAll(int con, int alloc, int src); in rsnAllocationSyncAll()
288 synchronized void nAllocationSyncAll(int alloc, int src) { in nAllocationSyncAll()
292 native int rsnAllocationGetSurfaceTextureID(int con, int alloc); in rsnAllocationGetSurfaceTextureID()
293 synchronized int nAllocationGetSurfaceTextureID(int alloc) { in nAllocationGetSurfaceTextureID()
297 native void rsnAllocationGetSurfaceTextureID2(int con, int alloc, SurfaceTexture st); in rsnAllocationGetSurfaceTextureID2()
298 synchronized void nAllocationGetSurfaceTextureID2(int alloc, SurfaceTexture st) { in nAllocationGetSurfaceTextureID2()
302 native void rsnAllocationSetSurface(int con, int alloc, Surface sur); in rsnAllocationSetSurface()
303 synchronized void nAllocationSetSurface(int alloc, Surface sur) { in nAllocationSetSurface()
[all …]
/frameworks/rs/
DrsAllocation.cpp355 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); in createFromStream() local
493 Allocation *alloc = static_cast<Allocation *>(va); in rsi_AllocationGenerateMipmaps() local
553 …Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mips, (… in rsi_AllocationCreateTyped() local
639 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetSurfaceTextureID() local
644 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetSurfaceTextureID2() local
649 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetSurface() local
654 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationIoSend() local
659 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationIoReceive() local
DrsAdapter.cpp62 Allocation * alloc = static_cast<Allocation *>(valloc); in rsi_Adapter1DBindAllocation() local
136 Allocation * alloc = static_cast<Allocation *>(valloc); in rsi_Adapter2DBindAllocation() local
DrsScriptGroup.cpp221 Allocation * alloc = Allocation::createAllocation(rsc, in create() local
351 RsAllocation alloc) { in rsi_ScriptGroupSetInput()
358 RsAllocation alloc) { in rsi_ScriptGroupSetOutput()
DrsPath.cpp51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) { in rasterize()
DrsProgram.cpp139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation()
/frameworks/support/renderscript/v8/rs_support/
DrsAdapter.cpp62 Allocation * alloc = static_cast<Allocation *>(valloc); in rsi_Adapter1DBindAllocation() local
136 Allocation * alloc = static_cast<Allocation *>(valloc); in rsi_Adapter2DBindAllocation() local
DrsScriptGroup.cpp221 Allocation * alloc = Allocation::createAllocation(rsc, in create() local
351 RsAllocation alloc) { in rsi_ScriptGroupSetInput()
358 RsAllocation alloc) { in rsi_ScriptGroupSetOutput()
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DRenderScript.java211 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); in rsnAllocationCopyToBitmap()
212 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { in nAllocationCopyToBitmap()
218 native void rsnAllocationSyncAll(int con, int alloc, int src); in rsnAllocationSyncAll()
219 synchronized void nAllocationSyncAll(int alloc, int src) { in nAllocationSyncAll()
225 native void rsnAllocationGenerateMipmaps(int con, int alloc); in rsnAllocationGenerateMipmaps()
226 synchronized void nAllocationGenerateMipmaps(int alloc) { in nAllocationGenerateMipmaps()
230 native void rsnAllocationCopyFromBitmap(int con, int alloc, Bitmap bmp); in rsnAllocationCopyFromBitmap()
231 synchronized void nAllocationCopyFromBitmap(int alloc, Bitmap bmp) { in nAllocationCopyFromBitmap()
347 native void rsnScriptBindAllocation(int con, int script, int alloc, int slot); in rsnScriptBindAllocation()
348 synchronized void nScriptBindAllocation(int script, int alloc, int slot) { in nScriptBindAllocation()
[all …]
DAllocationAdapter.java28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) { in AllocationAdapter()
/frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java151 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/native/libs/ui/
DGraphicBufferAllocator.cpp192 status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, in alloc() function in android::GraphicBufferAllocator

12