/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraphRS.java | 59 private Allocation mGridImage; 60 private Allocation mAllocPV; 65 private Allocation mTextAlloc; 132 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, 133 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 134 Allocation.USAGE_GRAPHICS_TEXTURE); 140 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation.USAGE_SCRIPT);
|
SimpleModelRS.java | 51 private Allocation mGridImage; 52 private Allocation mAllocPV; 55 private Allocation mTextAlloc; 116 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot, 117 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 118 Allocation.USAGE_GRAPHICS_TEXTURE); 124 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation.USAGE_SCRIPT);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
MeshTest.java | 26 import android.renderscript.Allocation.MipmapControl; 69 mTests[index].testName = Allocation.createFromString(mRS, 71 Allocation.USAGE_SCRIPT); 74 Allocation.USAGE_SCRIPT); 135 private Allocation loadTextureRGB(int id) { 136 return Allocation.createFromBitmapResource(mRS, mRes, id, 137 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 138 Allocation.USAGE_GRAPHICS_TEXTURE);
|
RsBenchRS.java | 32 import android.renderscript.Allocation.MipmapControl; 94 static Allocation createZeroTerminatedAlloc(RenderScript rs, 103 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), 288 Allocation offscreen = Allocation.createTyped(mRS, 290 Allocation.USAGE_GRAPHICS_TEXTURE | 291 Allocation.USAGE_GRAPHICS_RENDER_TARGET); 298 offscreen = Allocation.createTyped(mRS, 300 Allocation.USAGE_GRAPHICS_RENDER_TARGET) [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
TextureRenderTarget.java | 35 public TextureRenderTarget(Allocation tex) { 40 public void setTexture(Allocation tex) {
|
/frameworks/rs/driver/ |
rsdPath.h | 25 const android::renderscript::Allocation *vertex, 26 const android::renderscript::Allocation *loops);
|
rsdScriptGroup.cpp | 39 const ScriptKernelID *kid, Allocation *) { 43 const ScriptKernelID *kid, Allocation *) {
|
rsdScriptGroup.h | 27 android::renderscript::Allocation *); 31 android::renderscript::Allocation *);
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
Mandelbrot.java | 24 private Allocation mAllocationXY; 34 mAllocationXY = Allocation.createTyped(rs, tb.create());
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_refcount.java | 36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_noroot.java | 25 private Allocation A; 39 A = Allocation.createTyped(RS, typeBuilder.create());
|
UT_refcount.java | 36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
|
UT_static_globals.java | 36 Allocation A = Allocation.createTyped(pRS, typeBuilder.setX(1).create());
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
UT_foreach.java | 25 private Allocation A; 39 A = Allocation.createTyped(RS, typeBuilder.create());
|
UT_refcount.java | 36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
|
/frameworks/rs/ |
rsAllocation.h | 37 class Allocation : public ObjectBase { 38 // The graphics equivalent of malloc. The allocation contains a structure of elements. 73 } lod[android::renderscript::Allocation::MAX_LOD]; 85 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 88 virtual ~Allocation(); 95 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 123 static Allocation *createFromStream(Context *rsc, IStream *stream); 162 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
|
rsProgram.cpp | 40 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount]; 44 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount]; 46 mHal.state.textures = new Allocation*[mHal.state.texturesCount]; 51 mHal.state.constants = new Allocation*[mHal.state.constantsCount]; 139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { 144 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation"); 150 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation"); 168 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) { 204 p->bindAllocation(rsc, static_cast<Allocation *>(constants), slot); 209 p->bindTexture(rsc, slot, static_cast<Allocation *>(a)) [all...] |
/frameworks/rs/scriptc/ |
rs_core.rsh | 92 * cell of the allocation. 108 * restrict the call to a subset of cells in the allocation. 129 * @param input The allocation to source data from 130 * @param output the allocation to write date into 134 * allocation to be processed or suggest a walking strategy. May be 158 * @param input The allocation to source data from 159 * @param output the allocation to write date into 165 * allocation to be processed or suggest a walking strategy. May be
|
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/ |
NexusRS.java | 121 private Allocation loadTexture(int id) { 122 return Allocation.createFromBitmapResource(mRS, mResources, id, 123 Allocation.MipmapControl.MIPMAP_NONE, 124 Allocation.USAGE_GRAPHICS_TEXTURE); 127 private Allocation loadTextureARGB(int id) { 129 return Allocation.createFromBitmap(mRS, b, 130 Allocation.MipmapControl.MIPMAP_NONE, 131 Allocation.USAGE_GRAPHICS_TEXTURE);
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
CallbackProcessor.java | 8 import android.renderscript.Allocation; 27 * into an Allocation that's backed by a SurfaceView 36 private Allocation mAllocationIn; 37 private Allocation mAllocationOut; 74 mAllocationIn = Allocation.createSized(mRS, Element.U8(mRS), inputSize); 81 mAllocationOut = Allocation.createTyped(mRS, outType, 82 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
|
/prebuilts/sdk/renderscript/include/ |
rs_core.rsh | 92 * cell of the allocation. 108 * restrict the call to a subset of cells in the allocation. 129 * @param input The allocation to source data from 130 * @param output the allocation to write date into 134 * allocation to be processed or suggest a walking strategy. May be 158 * @param input The allocation to source data from 159 * @param output the allocation to write date into 165 * allocation to be processed or suggest a walking strategy. May be
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassRS.java | 58 //private Allocation mBladesBuffer; 59 private Allocation mBladesIndicies; 202 mBladesIndicies = Allocation.createSized(mRS, Element.U16(mRS), mIndicies); 255 private Allocation generateTextureAlpha() { 261 final Allocation allocation = Allocation.createTyped(mRS, builder.create(), local 262 Allocation.USAGE_GRAPHICS_TEXTURE); 267 AllocationAdapter a = AllocationAdapter.create2D(mRS, allocation); 275 return allocation; [all...] |
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
ProgramFragmentFixedFunctionTest.java | 22 import android.renderscript.Allocation; 32 Allocation mTex2D; 40 mTex2D = Allocation.createTyped(mRS, typeB.create(), 41 Allocation.USAGE_SCRIPT | 42 Allocation.USAGE_GRAPHICS_TEXTURE);
|
/external/v8/src/ |
allocation.h | 36 // Called when allocation routines fail to allocate. 98 // if allocation fails. 103 // Allocation policy for allocating in the C free store using malloc 112 // Allocation policy for allocating in preallocated space. 113 // Used as an allocation policy for ScopeInfo when generating
|
/hardware/ti/omap4xxx/ |
heaptracker.c | 231 malloc_log("+++ ALLOCATION %p SIZE %d HAS A CORRUPTED FRONT GUARD\n", 234 malloc_log("+++ ALLOCATION %p HAS A CORRUPTED FRONT GUARD "\ 236 /* Allocation header is probably corrupt, do not print stack trace */ 243 malloc_log("+++ ALLOCATION %p SIZE %d HAS A CORRUPTED REAR GUARD\n", 258 malloc_log("+++ ALLOCATION %p HAS INVALID TAG %08x (NOT DUMPING STACKTRACE)\n", 260 /* Allocation header is probably corrupt, do not dequeue or dump stack 268 malloc_log("+++ ALLOCATION %p SIZE %d WAS USED AFTER BEING FREED\n", 278 malloc_log("+++ ALLOCATION %p SIZE %d ALLOCATED HERE:\n", 282 malloc_log("+++ ALLOCATION %p SIZE %d FREED HERE:\n", 374 malloc_log("+++ ALLOCATION %p SIZE %d BYTES MULTIPLY FREED!\n" [all...] |