Home
last modified time | relevance | path

Searched refs:RS_ALLOCATION_USAGE_SCRIPT (Results 1 – 23 of 23) sorted by relevance

/frameworks/rs/tests/cppbasic-getpointer/
Dcompute.cpp38 …sp<Allocation> ain = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USA… in test_compute()
39 …sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_US… in test_compute()
73 ain->syncAll(RS_ALLOCATION_USAGE_SCRIPT); in test_compute()
74 aout->syncAll(RS_ALLOCATION_USAGE_SCRIPT); in test_compute()
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
DhelloComputeNDK.cpp46 … RS_ALLOCATION_USAGE_SHARED | RS_ALLOCATION_USAGE_SCRIPT, in Java_com_example_android_rs_hellocomputendk_HelloComputeNDK_nativeMono()
49 … RS_ALLOCATION_USAGE_SHARED | RS_ALLOCATION_USAGE_SCRIPT, in Java_com_example_android_rs_hellocomputendk_HelloComputeNDK_nativeMono()
/frameworks/rs/driver/
DrsdFrameBuffer.cpp41 RS_ALLOCATION_USAGE_SCRIPT); in setDepthAttachment()
57 RS_ALLOCATION_USAGE_SCRIPT); in setColorAttachment()
DrsdMeshObj.cpp139 rsdAllocationSyncAll(rsc, alloc, RS_ALLOCATION_USAGE_SCRIPT); in renderPrimitiveRange()
165 rsdAllocationSyncAll(rsc, idxAlloc, RS_ALLOCATION_USAGE_SCRIPT); in renderPrimitiveRange()
DrsdAllocation.cpp192 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in UploadToTexture()
393 … if (!(alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED) || in rsdAllocationInit()
394 …alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED | RS_ALLO… in rsdAllocationInit()
457 if (alloc->mHal.state.usageFlags & ~RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationInit()
553 (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rsdAllocationDestroy()
654 rsAssert(src == RS_ALLOCATION_USAGE_SCRIPT || src == RS_ALLOCATION_USAGE_SHARED); in rsdAllocationSyncAll()
743 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationSetSurface()
812 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationIoSend()
833 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rsdAllocationIoReceive()
DrsdProgram.cpp55 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT); in SyncProgramConstants()
DrsdRuntimeStubs.cpp619 rsrAllocationSyncAll(rsc, (Allocation *)a.p, RS_ALLOCATION_USAGE_SCRIPT);
624 rsrAllocationSyncAll(rsc, (Allocation *)a.p, RS_ALLOCATION_USAGE_SCRIPT);
/frameworks/support/v8/renderscript/jni/
Dandroid_rscompat_usage_io_driver.cpp84 (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rscAllocationDestroy()
100 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rscAllocationIoSend()
Dandroid_renderscript_RenderScript.cpp1937RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED, in nIncAllocationCreateTyped()
/frameworks/rs/cpp/
DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
DAllocation.cpp45 if ((usage & ~(RS_ALLOCATION_USAGE_SCRIPT | in Allocation()
61 RS_ALLOCATION_USAGE_SCRIPT)) != 0) { in Allocation()
156 case RS_ALLOCATION_USAGE_SCRIPT: in syncAll()
DrsCppStructs.h597 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
607 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
620 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
/frameworks/rs/
DrsProgramFragment.cpp119 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); in init()
DrsDefines.h90 RS_ALLOCATION_USAGE_SCRIPT = 0x0001, enumerator
DrsFont.cpp524 RS_ALLOCATION_USAGE_SCRIPT | in initRenderState()
585 RS_ALLOCATION_USAGE_SCRIPT | in initVertexArrayBuffers()
615 RS_ALLOCATION_USAGE_SCRIPT); in initVertexArrayBuffers()
DrsAllocation.h156 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0; in getIsScript()
DrsProgramVertex.cpp208 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); in init()
DrsScriptGroup.cpp255 l->mType.get(), RS_ALLOCATION_USAGE_SCRIPT); in create()
DrsAllocation.cpp473 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); in createFromStream()
610 if (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in ioReceive()
/frameworks/rs/api/
Drs_object_types.spec104 value: RS_ALLOCATION_USAGE_SCRIPT = 0x0001, "Allocation is bound to and accessed by scripts."
/frameworks/base/libs/hwui/
DFontRenderer.cpp716 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED, in blurImage()
720 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED, in blurImage()
/frameworks/rs/scriptc/
Drs_object_types.rsh116 RS_ALLOCATION_USAGE_SCRIPT = 0x0001, // Allocation is bound to and accessed by scripts.
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_object_types.jd145 …<tr><th>RS_ALLOCATION_USAGE_SCRIPT = 0x0001</th><td>Allocation is bound to and accessed by scripts…