Home
last modified time | relevance | path

Searched refs:RS_ALLOCATION_USAGE_SCRIPT (Results 1 – 19 of 19) 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.cpp193 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in UploadToTexture()
390 … if (!(alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED) || in rsdAllocationInit()
391 …alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED | RS_ALLO… in rsdAllocationInit()
454 if (alloc->mHal.state.usageFlags & ~RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationInit()
513 (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rsdAllocationDestroy()
613 rsAssert(src == RS_ALLOCATION_USAGE_SCRIPT || src == RS_ALLOCATION_USAGE_SHARED); in rsdAllocationSyncAll()
702 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationSetSurface()
767 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationIoSend()
788 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rsdAllocationIoReceive()
DrsdProgram.cpp55 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT); in SyncProgramConstants()
DrsdRuntimeStubs.cpp116 rsrAllocationSyncAll(rsc, (Allocation*)a.p, RS_ALLOCATION_USAGE_SCRIPT); in SC_AllocationSyncAll()
/frameworks/rs/cpp/
DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
DAllocation.cpp44 if ((usage & ~(RS_ALLOCATION_USAGE_SCRIPT | in Allocation()
59 RS_ALLOCATION_USAGE_SCRIPT)) != 0) { in Allocation()
139 case RS_ALLOCATION_USAGE_SCRIPT: in syncAll()
DrsCppStructs.h537 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
547 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
560 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
/frameworks/rs/
DrsProgramFragment.cpp119 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); in init()
DrsDefines.h109 RS_ALLOCATION_USAGE_SCRIPT = 0x0001, enumerator
DrsAllocation.h142 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0; in getIsScript()
DrsFont.cpp525 RS_ALLOCATION_USAGE_SCRIPT | in initRenderState()
587 RS_ALLOCATION_USAGE_SCRIPT | in initVertexArrayBuffers()
619 RS_ALLOCATION_USAGE_SCRIPT); in initVertexArrayBuffers()
DrsProgramVertex.cpp208 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); in init()
DrsScriptGroup.cpp238 l->mType.get(), RS_ALLOCATION_USAGE_SCRIPT); in create()
DrsAllocation.cpp392 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); in createFromStream()
529 if (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in ioReceive()
/frameworks/base/libs/hwui/
DFontRenderer.cpp753 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED, in blurImage()
757 RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED, in blurImage()
/frameworks/rs/scriptc/
Drs_types.rsh428 RS_ALLOCATION_USAGE_SCRIPT = 0x0001,