/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 21 * Intrinsic kernels for blending two {@link android.renderscript.Allocation} objects. 43 private void blend(int id, Allocation ain, Allocation aout) { 59 public void forEachClear(Allocation ain, Allocation aout) { 79 public void forEachSrc(Allocation ain, Allocation aout) { 100 public void forEachDst(Allocation ain, Allocation aout) { 119 public void forEachSrcOver(Allocation ai [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 | 24 * as a YUV element Allocation. The output is RGBA; the alpha channel 28 private Allocation mInput; 57 public void setInput(Allocation ain) { 68 public void forEach(Allocation aout) {
|
H A D | ScriptIntrinsic3DLUT.java | 30 private Allocation mLUT; 59 * Sets the {@link android.renderscript.Allocation} to be used as the lookup table. 65 public void setLUT(Allocation lut) { 88 public void forEach(Allocation ain, Allocation aout) {
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 22 * {@link android.support.v8.renderscript.Allocation} objects. 48 private void blend(int id, Allocation ain, Allocation aout) { 64 public void forEachClear(Allocation ain, Allocation aout) { 84 public void forEachSrc(Allocation ain, Allocation aout) { 105 public void forEachDst(Allocation ain, Allocation aout) { 124 public void forEachSrcOver(Allocation ai [all...] |
H A D | ScriptIntrinsicBlendThunker.java | 39 public void forEachClear(Allocation ain, Allocation aout) { 52 public void forEachSrc(Allocation ain, Allocation aout) { 65 public void forEachDst(Allocation ain, Allocation aout) { 78 public void forEachSrcOver(Allocation ain, Allocation aout) { 91 public void forEachDstOver(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 | rsAllocation.cpp | 30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, function in class:Allocation 44 void Allocation::operator delete(void* ptr) { 46 Allocation *a = (Allocation*) ptr; 51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, 53 // Allocation objects must use allocator specified by the driver 54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); 57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); [all...] |
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 | 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; 112 const Allocation * ain, 113 Allocation * aout, 137 Allocation *data); 146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 147 void (*destroy)(const Context *rsc, Allocation *alloc); 148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc); 150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 153 void (*markDirty)(const Context *rsc, const Allocation *allo [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | UsageIO.java | 22 import android.renderscript.Allocation; 34 private Allocation mScratchPixelsAllocation1; 35 private Allocation mScratchPixelsAllocation2; 51 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); 52 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.h | 34 const Allocation * ain, 35 Allocation * aout, 43 virtual void preLaunch(uint32_t slot, const Allocation * ain, 44 Allocation * aout, const void * usr, 46 virtual void postLaunch(uint32_t slot, const Allocation * ain, 47 Allocation * aout, const void * usr, 53 virtual void setGlobalBind(uint32_t slot, Allocation *data);
|
H A D | rsCpuScriptGroup.h | 28 virtual void setInput(const ScriptKernelID *kid, Allocation *); 29 virtual void setOutput(const ScriptKernelID *kid, Allocation *); 43 Allocation *const* ins; 45 Allocation *const* outs;
|
/frameworks/rs/tests/cppbasic/ |
H A D | compute.cpp | 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); 29 printf("Allocation %p\n", a1.get()); 31 sp<Allocation> ain = Allocation::createTyped(rs, t); 32 sp<Allocation> aout = Allocation::createTyped(rs, t); 33 printf("Allocation %p %p\n", ain.get(), aout.get()); 43 sp<Allocation> failed_alloc = Allocation [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.h | 80 android::renderscript::Allocation *alloc); 82 android::renderscript::Allocation *alloc, 85 android::renderscript::Allocation *alloc); 88 const android::renderscript::Allocation *alloc, 91 const android::renderscript::Allocation *alloc, 94 const android::renderscript::Allocation *alloc); 96 android::renderscript::Allocation *alloc, ANativeWindow *nw); 98 android::renderscript::Allocation *alloc); 100 android::renderscript::Allocation *alloc); 103 const android::renderscript::Allocation *allo [all...] |
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 23 void * Allocation::getIDSafe() const { 27 void Allocation::updateCacheInfo(sp<const Type> t) { 40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : function in class:Allocation 75 void Allocation::validateIsInt32() { 83 void Allocation::validateIsInt16() { 91 void Allocation::validateIsInt8() { 99 void Allocation::validateIsFloat32() { 107 void Allocation::validateIsObject() { 124 void Allocation [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ErrorCalculator.java | 26 import android.renderscript.Allocation; 39 private Allocation mIdealPixelsAllocation; 40 private Allocation mGivenPixelsAllocation; 41 private Allocation mOutputPixelsAllocation; 43 private final Allocation mInputRowsAllocation; 44 private final Allocation mOutputRegionsAllocation; 65 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, 66 Allocation.USAGE_SCRIPT); 68 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), 69 mOutputRowRegions.length, Allocation [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
H A D | UT_instance.java | 49 Allocation ai1 = Allocation.createTyped(mRS, t); 50 Allocation ai2 = Allocation.createTyped(mRS, t); 51 Allocation ai3 = Allocation.createTyped(mRS, t); 52 Allocation ai4 = Allocation.createTyped(mRS, t); 53 Allocation ai5 = Allocation [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 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/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
H A D | UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/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...] |