/frameworks/base/libs/rs/ |
H A D | rsProgram.h | 35 void bindAllocation(Allocation *); 36 void checkUpdatedAllocation(const Allocation *); 44 ObjectBaseRef<Allocation> mConstants;
|
H A D | rsSimpleMesh.h | 40 ObjectBaseRef<Allocation> mIndexBuffer; 41 ObjectBaseRef<Allocation> mPrimitiveBuffer; 42 ObjectBaseRef<Allocation> *mVertexBuffers;
|
H A D | rsProgram.cpp | 38 void Program::bindAllocation(Allocation *alloc) 44 void Program::checkUpdatedAllocation(const Allocation *alloc)
|
H A D | rsAdapter.h | 34 Adapter1D(Context *, Allocation *); 38 void setAllocation(Allocation *a) {mAllocation.set(a);} 54 ObjectBaseRef<Allocation> mAllocation; 68 Adapter2D(Context *, Allocation *); 76 void setAllocation(Allocation *a) {mAllocation.set(a);} 86 ObjectBaseRef<Allocation> mAllocation;
|
H A D | rsAllocation.cpp | 25 Allocation::Allocation(Context *rsc, const Type *type) : ObjectBase(rsc) function in class:Allocation 49 LOGE("Allocation::Allocation, alloc failure"); 53 Allocation::~Allocation() 70 void Allocation::setCpuWritable(bool) 74 void Allocation::setGpuWritable(bool) 78 void Allocation::setCpuReadable(bool) 82 void Allocation [all...] |
H A D | rsAllocation.h | 28 class Allocation : public ObjectBase class in namespace:android::renderscript 36 Allocation(Context *rsc, const Type *); 37 virtual ~Allocation();
|
H A D | rsProgramFragment.h | 42 void bindTexture(uint32_t slot, Allocation *); 58 ObjectBaseRef<Allocation> mTextures[MAX_TEXTURE];
|
H A D | rsMesh.h | 37 Allocation ** mAllocations;
|
H A D | rsSampler.h | 43 void bind(Allocation *);
|
H A D | rsScript.h | 65 ObjectBaseRef<Allocation> mSlots[MAX_SCRIPT_BANKS];
|
H A D | rsSimpleMesh.cpp | 119 sm->mVertexBuffers = new ObjectBaseRef<Allocation>[vtxCount]; 141 sm->mVertexBuffers[slot].set((Allocation *)va); 147 sm->mIndexBuffer.set((Allocation *)va); 153 sm->mPrimitiveBuffer.set((Allocation *)va);
|
H A D | rsAdapter.cpp | 31 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) 86 Allocation * alloc = static_cast<Allocation *>(valloc); 139 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) 203 Allocation * alloc = static_cast<Allocation *>(valloc);
|
H A D | rsProgramFragment.cpp | 72 Allocation *a = (Allocation *)mTextures[ct].get(); 127 void ProgramFragment::bindTexture(uint32_t slot, Allocation *a) 228 pf->bindTexture(slot, static_cast<Allocation *>(a));
|
H A D | rsProgramVertex.h | 70 ObjectBaseRef<Allocation> mDefaultAlloc;
|
H A D | rsProgramVertex.cpp | 154 Allocation *alloc = (Allocation *)rsi_AllocationCreateTyped(rsc, mAllocType.get()); 204 pv->bindAllocation(static_cast<Allocation *>(constants));
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
H A D | FilmRS.java | 81 private Allocation mImages[]; 82 private Allocation mAllocIDs; 83 private Allocation mAllocPos; 84 private Allocation mAllocState; 85 private Allocation mAllocPV; 86 private Allocation mAllocOffsetsTex; 87 private Allocation mAllocOffsets; 153 mImages = new Allocation[13]; 154 mAllocIDs = Allocation.createSized(mRS, 158 mImages[0] = Allocation [all...] |
/frameworks/base/libs/rs/java/Rollo/src/com/android/rollo/ |
H A D | RolloRS.java | 24 import android.renderscript.Allocation; 109 private Allocation[] mIcons; 110 private Allocation[] mLabels; 113 private Allocation mAllocState; 116 private Allocation mAllocIconID; 119 private Allocation mAllocLabelID; 122 private Allocation mAllocScratch; 184 mAllocScratch = Allocation.createSized(mRS, 193 mIcons = new Allocation[29]; 195 mAllocIconID = Allocation [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Allocation.java | 33 public class Allocation extends BaseObj { class in inherits:BaseObj 36 Allocation(int id, RenderScript rs, Type t) { method in class:Allocation 230 static public Allocation createTyped(RenderScript rs, Type type) 238 return new Allocation(id, rs, type); 241 static public Allocation createSized(RenderScript rs, Element e, int count) 253 return new Allocation(id, rs, t); 256 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips) 261 return new Allocation(id, rs, null); 264 static public Allocation createFromBitmapBoxed(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips) 269 return new Allocation(i [all...] |
H A D | SimpleMesh.java | 37 public void bindVertexAllocation(Allocation a, int slot) { 42 public void bindIndexAllocation(Allocation a) { 47 public Allocation createVertexAllocation(int slot) { 49 return Allocation.createTyped(mRS, mVertexTypes[slot]); 52 public Allocation createIndexAllocation() { 54 return Allocation.createTyped(mRS, mIndexType); 341 Allocation vertexAlloc = sm.createVertexAllocation(0); 342 Allocation indexAlloc = sm.createIndexAllocation();
|
H A D | ProgramVertex.java | 108 public Allocation mAlloc; 115 mAlloc = Allocation.createSized(rs, Element.USER_F32(rs), 48);
|
H A D | ProgramFragment.java | 48 public void bindTexture(Allocation va, int slot)
|
/frameworks/base/libs/rs/java/ImageProcessing/src/com/android/rs/image/ |
H A D | ImageProcessingActivity.java | 27 import android.renderscript.Allocation; 46 private Allocation mParamsAllocation; 50 private Allocation mInPixelsAllocation; 52 private Allocation mOutPixelsAllocation; 140 mParamsAllocation = Allocation.createTyped(mRS, mParamsType); 146 mInPixelsAllocation = Allocation.createSized(mRS, Element.USER_I32(mRS), 148 mOutPixelsAllocation = Allocation.createSized(mRS, Element.USER_I32(mRS),
|
/frameworks/base/libs/rs/java/Fountain/src/com/android/fountain/ |
H A D | FountainRS.java | 69 private Allocation mIntAlloc; 77 mIntAlloc = Allocation.createTyped(mRS, mSDType); 95 Allocation partAlloc = mSM.createVertexAllocation(vtxSlot);
|
/frameworks/base/libs/binder/ |
H A D | MemoryDealer.cpp | 62 MemoryDealer::Allocation::Allocation( function in class:android::MemoryDealer::Allocation 69 MemoryDealer::Allocation::~Allocation() 79 sp<IMemoryHeap> MemoryDealer::Allocation::getMemory( 116 memory = new Allocation(this, offset, size, new_memory);
|
/frameworks/base/include/binder/ |
H A D | MemoryDealer.h | 236 class Allocation : public BnMemory { class in class:android::MemoryDealer 238 Allocation(const sp<MemoryDealer>& dealer, 240 virtual ~Allocation();
|