/frameworks/native/libs/utils/ |
H A D | SharedBuffer.cpp | 27 SharedBuffer* SharedBuffer::alloc(size_t size) function in class:android::SharedBuffer 50 SharedBuffer* sb = alloc(mSize); 69 SharedBuffer* sb = alloc(newSize); 89 SharedBuffer* sb = alloc(new_size);
|
/frameworks/base/libs/hwui/ |
H A D | PathRenderer.h | 44 TYPE* alloc(int size) { function in class:android::uirenderer::VertexBuffer
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_allocation.c | 8 Allocation_t *alloc = (Allocation_t *)a.p; local 9 return alloc->mHal.state.dimensionX; 14 Allocation_t *alloc = (Allocation_t *)a.p; local 15 return alloc->mHal.state.dimensionY; 20 Allocation_t *alloc = (Allocation_t *)a.p; local 21 return alloc->mHal.state.dimensionZ; 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 38 Allocation_t *alloc = (Allocation_t *)a.p; local 46 Allocation_t *alloc = (Allocation_t *)a.p; local 55 Allocation_t *alloc = (Allocation_t *)a.p; local 65 Allocation_t *alloc = (Allocation_t *)a.p; local [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 93 status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, function in class:android::GraphicBufferAllocator 105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); 107 ALOGW_IF(err, "alloc(%u, %u, %d, %08x, ...) failed %d (%s)",
|
/frameworks/rs/driver/ |
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.mallocPtrLOD0;
|
H A D | rsdIntrinsicConvolve3x3.cpp | 30 ObjectBaseRef<Allocation> alloc; member in struct:ConvolveParams 37 cp->alloc.set(data); 81 if (!cp->alloc.get()) { 85 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
H A D | rsdIntrinsicYuvToRGB.cpp | 28 ObjectBaseRef<Allocation> alloc; member in struct:YuvParams 35 cp->alloc.set(data); 89 if (!cp->alloc.get()) { 93 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
H A D | rsdIntrinsicBlur.cpp | 32 ObjectBaseRef<Allocation> alloc; member in struct:ConvolveParams 78 cp->alloc.set(data); 166 if (!cp->alloc.get()) { 170 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
H A D | rsdIntrinsicConvolve5x5.cpp | 30 ObjectBaseRef<Allocation> alloc; member in struct:ConvolveParams 37 cp->alloc.set(data); 105 if (!cp->alloc.get()) { 109 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
/frameworks/rs/ |
H A D | rsPath.cpp | 51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) { argument
|
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 | rsProgram.cpp | 139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { argument 140 if (alloc != NULL) { 142 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but const count is %u", 147 if (alloc->getType() != mConstantTypes[slot].get()) { 148 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but types mismatch", 154 if (mConstants[slot].get() == alloc) { 160 mConstants[slot].set(alloc); 161 mHal.state.constants[slot] = alloc; 162 if (alloc) { 163 alloc [all...] |
H A D | rsProgramVertex.cpp | 211 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(), local 213 pv->bindAllocation(rsc, alloc, 0); 215 mDefaultAlloc.set(alloc);
|
H A D | rsScriptGroup.cpp | 221 Allocation * alloc = Allocation::createAllocation(rsc, local 223 l->mAlloc = alloc; 227 n->mOutputs[ct3]->mAlloc = alloc; 351 RsAllocation alloc) { 354 s->setInput(rsc, (ScriptKernelID *)kid, (Allocation *)alloc); 358 RsAllocation alloc) { 361 s->setOutput(rsc, (ScriptKernelID *)kid, (Allocation *)alloc); 350 rsi_ScriptGroupSetInput(Context *rsc, RsScriptGroup sg, RsScriptKernelID kid, RsAllocation alloc) argument 357 rsi_ScriptGroupSetOutput(Context *rsc, RsScriptGroup sg, RsScriptKernelID kid, RsAllocation alloc) argument
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) { argument 29 super(id, rs, alloc.mType, alloc.mUsage); 30 mAdaptedAllocation = alloc;
|
/frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/ |
H A D | SampleRSActivity.java | 151 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) { argument 153 mScript.invoke_setSampleData(alloc, mTwoByTwoAlloc, sampler); 154 mScript.forEach_root(alloc); 155 alloc.ioSendOutput();
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | AllocationAdapter.java | 28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) { argument 29 super(id, rs, alloc.mType, alloc.mUsage); 30 mAdaptedAllocation = alloc;
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdIntrinsicConvolve3x3.cpp | 30 ObjectBaseRef<Allocation> alloc; member in struct:ConvolveParams 37 cp->alloc.set(data); 80 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
H A D | rsdIntrinsicYuvToRGB.cpp | 28 ObjectBaseRef<Allocation> alloc; member in struct:YuvParams 35 cp->alloc.set(data); 89 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
H A D | rsdIntrinsicBlur.cpp | 32 ObjectBaseRef<Allocation> alloc; member in struct:ConvolveParams 78 cp->alloc.set(data); 166 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
H A D | rsdIntrinsicConvolve5x5.cpp | 30 ObjectBaseRef<Allocation> alloc; member in struct:ConvolveParams 37 cp->alloc.set(data); 105 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
/frameworks/support/renderscript/v8/rs_support/ |
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 | rsScriptGroup.cpp | 221 Allocation * alloc = Allocation::createAllocation(rsc, local 223 l->mAlloc = alloc; 227 n->mOutputs[ct3]->mAlloc = alloc; 351 RsAllocation alloc) { 354 s->setInput(rsc, (ScriptKernelID *)kid, (Allocation *)alloc); 358 RsAllocation alloc) { 361 s->setOutput(rsc, (ScriptKernelID *)kid, (Allocation *)alloc); 350 rsi_ScriptGroupSetInput(Context *rsc, RsScriptGroup sg, RsScriptKernelID kid, RsAllocation alloc) argument 357 rsi_ScriptGroupSetOutput(Context *rsc, RsScriptGroup sg, RsScriptKernelID kid, RsAllocation alloc) argument
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 173 uint32_t fieldDirOffset = alloc(fieldDirSize, true /*aligned*/); 200 uint32_t CursorWindow::alloc(size_t size, bool aligned) { function in class:android::CursorWindow 243 chunk->nextChunkOffset = alloc(sizeof(RowSlotChunk), true /*aligned*/); 292 uint32_t offset = alloc(size);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | SceneManager.java | 214 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), 217 alloc.copy1DRangeFrom(0, allocArray.length, allocArray); 218 alloc.copy1DRangeFrom(allocArray.length, 1, nullChar); 219 return alloc; 233 static void cacheAlloc(String str, Allocation alloc) { argument 237 sSceneManager.mAllocationMap.put(str, alloc);
|