Home
last modified time | relevance | path

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

/frameworks/rs/tests/cpp_api/cppbasic-getpointer/
Dcompute.cpp35 …sp<Allocation> ain = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USA… in test_compute()
36 …sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_US… in test_compute()
70 ain->syncAll(RS_ALLOCATION_USAGE_SCRIPT); in test_compute()
71 aout->syncAll(RS_ALLOCATION_USAGE_SCRIPT); in test_compute()
/frameworks/rs/tests/java_api/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.cpp143 rsdAllocationSyncAll(rsc, alloc, RS_ALLOCATION_USAGE_SCRIPT); in renderPrimitiveRange()
169 rsdAllocationSyncAll(rsc, idxAlloc, RS_ALLOCATION_USAGE_SCRIPT); in renderPrimitiveRange()
DrsdAllocation.cpp188 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in UploadToTexture()
410 … if (!(alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED) || in rsdAllocationInitStrided()
411 …alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED | RS_ALLO… in rsdAllocationInitStrided()
472 if (alloc->mHal.state.usageFlags & ~RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationInitStrided()
574 (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rsdAllocationDestroy()
674 rsAssert(src == RS_ALLOCATION_USAGE_SCRIPT || src == RS_ALLOCATION_USAGE_SHARED); in rsdAllocationSyncAll()
768 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationSetSurface()
797 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationIoSend()
DrsdProgram.cpp58 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT); in SyncProgramConstants()
DrsdRuntimeStubs.cpp348 uint32_t validUsages = RS_ALLOCATION_USAGE_SCRIPT | \ in CreateAllocation()
917 rsrAllocationSyncAll(rsc, (Allocation *)a.p, RS_ALLOCATION_USAGE_SCRIPT);
922 rsrAllocationSyncAll(rsc, (Allocation *)a.p, RS_ALLOCATION_USAGE_SCRIPT);
/frameworks/rs/support/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()
/frameworks/rs/cpp/
DScript.cpp56 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()
155 case RS_ALLOCATION_USAGE_SCRIPT: in syncAll()
DrsCppStructs.h870 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
880 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
893 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
/frameworks/rs/
DrsProgramFragment.cpp119 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); in init()
DrsDefines.h88 RS_ALLOCATION_USAGE_SCRIPT = 0x0001, enumerator
DrsFont.cpp523 RS_ALLOCATION_USAGE_SCRIPT | in initRenderState()
584 RS_ALLOCATION_USAGE_SCRIPT | in initVertexArrayBuffers()
614 RS_ALLOCATION_USAGE_SCRIPT); in initVertexArrayBuffers()
DrsAllocation.h159 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0; in getIsScript()
DrsProgramVertex.cpp207 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); in init()
DrsScriptGroup.cpp235 l->mType.get(), RS_ALLOCATION_USAGE_SCRIPT); in create()
DrsAllocation.cpp483 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); in createFromStream()
633 if (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in ioReceive()
/frameworks/rs/script_api/
Drs_object_types.spec104 value: RS_ALLOCATION_USAGE_SCRIPT = 0x0001, "Allocation is bound to and accessed by scripts."
Drs_allocation_create.spec141 RS_ALLOCATION_USAGE_SCRIPT and RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE are the
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dsingle_source_alloc.rscript386 (uint32_t) RS_ALLOCATION_USAGE_SCRIPT)));
391 RS_ALLOCATION_USAGE_SCRIPT)));
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dsingle_source_alloc.rscript388 (uint32_t) RS_ALLOCATION_USAGE_SCRIPT)));
393 RS_ALLOCATION_USAGE_SCRIPT)));
/frameworks/rs/script_api/include/
Drs_object_types.rsh116 RS_ALLOCATION_USAGE_SCRIPT = 0x0001, // Allocation is bound to and accessed by scripts.
Drs_allocation_create.rsh132 * RS_ALLOCATION_USAGE_SCRIPT and RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE are the
/frameworks/rs/driver/runtime/
Drs_allocation.c569 RS_ALLOCATION_USAGE_SCRIPT, NULL); in rsCreateAllocation()