/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 45 private void blend(int id, Allocation ain, Allocation aout) { 61 public void forEachClear(Allocation ain, Allocation aout) { 81 public void forEachSrc(Allocation ain, Allocation aout) { 101 public void forEachDst(Allocation ain, Allocation aout) { 120 public void forEachSrcOver(Allocation ain, Allocation aou [all...] |
H A D | Path.java | 38 Allocation mVertexBuffer; 39 Allocation mLoopBuffer; 44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { 52 public Allocation getVertexAllocation() { 56 public Allocation getLoopAllocation() { 69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { 75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { 79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vt [all...] |
H A D | ScriptIntrinsicYuvToRGB.java | 28 private Allocation mInput; 57 public void setInput(Allocation ain) { 68 public void forEach(Allocation aout) {
|
H A D | ScriptIntrinsicBlur.java | 31 private Allocation mInput; 64 public void setInput(Allocation ain) { 90 public void forEach(Allocation aout) {
|
H A D | ScriptIntrinsicConvolve5x5.java | 27 private Allocation mInput; 62 public void setInput(Allocation ain) { 97 public void forEach(Allocation aout) {
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 45 private void blend(int id, Allocation ain, Allocation aout) { 61 public void forEachClear(Allocation ain, Allocation aout) { 81 public void forEachSrc(Allocation ain, Allocation aout) { 101 public void forEachDst(Allocation ain, Allocation aout) { 120 public void forEachSrcOver(Allocation ain, Allocation aou [all...] |
/frameworks/rs/ |
H A D | rsFBOCache.h | 26 class Allocation; 36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot); 37 void bindDepthTarget(Context *, Allocation *a); 47 Allocation **colorTargets; 49 Allocation *depthTarget; 56 ObjectBaseRef<Allocation> *mColorTargets; 57 ObjectBaseRef<Allocation> mDepthTarget;
|
H A D | rsMesh.h | 45 Allocation **vertexBuffers; 49 Allocation **indexBuffers; 67 void setVertexBuffer(Allocation *vb, uint32_t index) { 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { 88 ObjectBaseRef<Allocation> *mVertexBuffers; 89 ObjectBaseRef<Allocation> *mIndexBuffers;
|
H A D | rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
H A D | rsAllocation.cpp | 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, function in class:Allocation 41 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, 43 Allocation *a = new Allocation(rsc, type, usages, mc, ptr); 46 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); 54 void Allocation::updateCache() { 66 Allocation [all...] |
H A D | rsPath.cpp | 28 Allocation *vtx, Allocation *loops, float quality) 51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) { 75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality);
|
H A D | rs_hal.h | 31 class Allocation; 110 const Allocation * ain, 111 Allocation * aout, 131 Allocation *data); 140 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 141 void (*destroy)(const Context *rsc, Allocation *alloc); 143 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 145 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 146 void (*markDirty)(const Context *rsc, const Allocation *alloc); 148 int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *allo [all...] |
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/ |
H A D | SurfaceTextureOpaqueRS.java | 35 private Allocation mSto; 36 private Allocation mSto2; 37 private Allocation mRto; 47 mSto = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_GRAPHICS_TEXTURE | 48 Allocation.USAGE_IO_INPUT); 49 mRto = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_GRAPHICS_RENDER_TARGET | 50 Allocation.USAGE_IO_OUTPUT); 51 mSto2 = Allocation [all...] |
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 25 #include "Allocation.h" 30 void * Allocation::getIDSafe() const { 37 void Allocation::updateCacheInfo(sp<const Type> t) { 50 Allocation::Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage) : function in class:Allocation 80 void Allocation::validateIsInt32() { 88 void Allocation::validateIsInt16() { 96 void Allocation::validateIsInt8() { 104 void Allocation::validateIsFloat32() { 112 void Allocation [all...] |
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/ |
H A D | TestBase.java | 40 protected Allocation mInPixelsAllocation; 41 protected Allocation mInPixelsAllocation2; 42 protected Allocation mOutPixelsAllocation; 94 mInPixelsAllocation = Allocation.createFromBitmap(mRS, b, 95 Allocation.MipmapControl.MIPMAP_NONE, 96 Allocation.USAGE_SCRIPT); 97 mInPixelsAllocation2 = Allocation.createFromBitmap(mRS, b2, 98 Allocation.MipmapControl.MIPMAP_NONE, 99 Allocation.USAGE_SCRIPT); 100 mOutPixelsAllocation = Allocation [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.h | 59 } lod[android::renderscript::Allocation::MAX_LOD]; 72 android::renderscript::Allocation *alloc, 75 android::renderscript::Allocation *alloc); 78 const android::renderscript::Allocation *alloc, 81 const android::renderscript::Allocation *alloc, 84 const android::renderscript::Allocation *alloc); 86 const android::renderscript::Allocation *alloc); 88 android::renderscript::Allocation *alloc, ANativeWindow *nw); 90 android::renderscript::Allocation *alloc); 92 android::renderscript::Allocation *allo [all...] |
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
H A D | UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 45 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 48 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 51 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
H A D | UT_mesh.java | 35 Allocation vAlloc0 = Allocation.createSized(RS, Element.F32(RS), 10); 36 Allocation vAlloc1 = Allocation.createSized(RS, Element.F32_2(RS), 10); 38 Allocation iAlloc0 = Allocation.createSized(RS, Element.I16(RS), 10); 39 Allocation iAlloc2 = Allocation.createSized(RS, Element.I16(RS), 10);
|
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/ |
H A D | UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 45 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 48 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 51 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/frameworks/rs/tests/ |
H A D | compute.cpp | 5 #include "Allocation.h" 31 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); 32 printf("Allocation %p\n", a1.get()); 34 sp<Allocation> ain = Allocation::createTyped(rs, t); 35 sp<Allocation> aout = Allocation::createTyped(rs, t); 36 printf("Allocation %p %p\n", ain.get(), aout.get());
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdAllocation.h | 59 } lod[android::renderscript::Allocation::MAX_LOD]; 69 android::renderscript::Allocation *alloc, 72 android::renderscript::Allocation *alloc); 75 const android::renderscript::Allocation *alloc, 78 const android::renderscript::Allocation *alloc, 81 const android::renderscript::Allocation *alloc); 84 const android::renderscript::Allocation *alloc, 88 const android::renderscript::Allocation *alloc, 93 const android::renderscript::Allocation *alloc, 99 const android::renderscript::Allocation *allo [all...] |
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
H A D | TestBase.java | 28 import android.renderscript.Allocation; 45 protected Allocation mInPixelsAllocation; 46 protected Allocation mInPixelsAllocation2; 47 protected Allocation mOutPixelsAllocation; 99 mInPixelsAllocation = Allocation.createFromBitmap(mRS, b, 100 Allocation.MipmapControl.MIPMAP_NONE, 101 Allocation.USAGE_SCRIPT); 102 mInPixelsAllocation2 = Allocation.createFromBitmap(mRS, b2, 103 Allocation.MipmapControl.MIPMAP_NONE, 104 Allocation [all...] |
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncRS.java | 54 private Allocation mGridImage; 55 private Allocation mOffscreen; 56 private Allocation mOffscreenDepth; 57 private Allocation mAllocPV; 58 private Allocation mReadBackTest; 61 private Allocation mTextAlloc; 118 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, 119 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 120 Allocation.USAGE_GRAPHICS_TEXTURE); 126 mTextAlloc = Allocation [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rs_hal.h | 31 class Allocation; 110 const Allocation * ain, 111 Allocation * aout, 131 Allocation *data); 140 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 141 void (*destroy)(const Context *rsc, Allocation *alloc); 143 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 145 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 146 void (*markDirty)(const Context *rsc, const Allocation *alloc); 148 int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *allo [all...] |
/frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/ |
H A D | SampleRSActivity.java | 26 import android.renderscript.Allocation; 43 private Allocation mOutPixelsAllocation; 46 TextureViewUpdater(Allocation outAlloc, Sampler sampler) { 76 private Allocation mTwoByTwoAlloc; 77 private Allocation mCityAlloc; 98 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo, 99 Allocation.MipmapControl.MIPMAP_NONE, 100 Allocation.USAGE_SCRIPT); 102 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity, 103 Allocation [all...] |