Searched refs:rsc (Results 1 - 25 of 121) sorted by last modified time

12345

/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdAllocation.cpp52 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, argument
58 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { argument
61 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { argument
64 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { argument
67 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, argument
116 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { argument
124 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), NULL);
139 size_t verifySize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), ptr);
174 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { argument
185 void rsdAllocationResize(const Context *rsc, cons argument
209 rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) argument
213 rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src) argument
248 rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) argument
253 rsdAllocationInitSurfaceTexture(const Context *rsc, const Allocation *alloc) argument
257 rsdAllocationSetSurfaceTexture(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument
260 rsdAllocationIoSend(const Context *rsc, Allocation *alloc) argument
263 rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) argument
267 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
285 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
312 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) argument
319 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
329 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument
351 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) argument
358 rsdAllocationLock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
364 rsdAllocationUnlock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument
369 rsdAllocationData1D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstLod, uint32_t count, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcLod) argument
377 rsdAllocationData2D_alloc_script(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstLod, RsAllocationCubemapFace dstFace, uint32_t w, uint32_t h, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcLod, RsAllocationCubemapFace srcFace) argument
395 rsdAllocationData2D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstLod, RsAllocationCubemapFace dstFace, uint32_t w, uint32_t h, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcLod, RsAllocationCubemapFace srcFace) argument
412 rsdAllocationData3D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstZoff, uint32_t dstLod, RsAllocationCubemapFace dstFace, uint32_t w, uint32_t h, uint32_t d, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcZoff, uint32_t srcLod, RsAllocationCubemapFace srcFace) argument
422 rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc, uint32_t x, const void *data, uint32_t cIdx, uint32_t sizeBytes) argument
442 rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, uint32_t sizeBytes) argument
519 rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) argument
[all...]
H A DrsdAllocation.h68 bool rsdAllocationInit(const android::renderscript::Context *rsc,
71 void rsdAllocationDestroy(const android::renderscript::Context *rsc,
74 void rsdAllocationResize(const android::renderscript::Context *rsc,
77 void rsdAllocationSyncAll(const android::renderscript::Context *rsc,
80 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc,
83 void rsdAllocationData1D(const android::renderscript::Context *rsc,
87 void rsdAllocationData2D(const android::renderscript::Context *rsc,
92 void rsdAllocationData3D(const android::renderscript::Context *rsc,
98 void rsdAllocationRead1D(const android::renderscript::Context *rsc,
102 void rsdAllocationRead2D(const android::renderscript::Context *rsc,
[all...]
H A DrsdBcc.cpp62 bool rsdScriptInit(const Context *rsc, argument
69 //ALOGE("rsdScriptCreate %p %p %p %p %i %i %p", rsc, resName, cacheDir, bitcode, bitcodeSize, flags, lookupFunc);
70 //ALOGE("rsdScriptInit %p %p", rsc, script);
339 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, Element *e) { argument
348 drv->mIntrinsicData = rsdIntrinsic_Init(rsc, s, iid, &drv->mIntrinsicFuncs);
365 RsdHal * dc = (RsdHal *)mtls->rsc->mHal.drv;
396 RsdHal * dc = (RsdHal *)mtls->rsc->mHal.drv;
422 void rsdScriptInvokeForEachMtlsSetup(const Context *rsc, argument
443 rsc->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null allocations");
476 Context *mrsc = (Context *)rsc;
505 rsdScriptLaunchThreads(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc, MTLaunchStruct *mtls) argument
562 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
H A DrsdBcc.h27 bool rsdInitIntrinsic(const android::renderscript::Context *rsc,
38 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc,
141 android::renderscript::Context *rsc; member in struct:__anon1570
161 void rsdScriptLaunchThreads(const android::renderscript::Context *rsc,
171 void rsdScriptInvokeForEachMtlsSetup(const android::renderscript::Context *rsc,
H A DrsdCore.cpp36 static void Shutdown(Context *rsc);
37 static void SetPriority(const Context *rsc, int32_t priority);
155 Context *rsc = static_cast<Context *>(vrsc); local
156 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
161 //ALOGV("RS helperThread starting %p idx=%i", rsc, idx);
176 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx],
190 //ALOGV("RS helperThread exited %p idx=%i", rsc, idx);
194 void rsdLaunchThreads(Context *rsc, WorkerCallback_t cbk, void *data) { argument
195 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
210 Context *rsc local
284 SetPriority(const Context *rsc, int32_t priority) argument
294 Shutdown(Context *rsc) argument
[all...]
H A DrsdCore.h73 void rsdLaunchThreads(android::renderscript::Context *rsc, WorkerCallback_t cbk, void *data);
H A DrsdRuntimeStubs.cpp39 Context * rsc = tls->mContext; \
78 rsrAllocationSyncAll(rsc, sc, a, source);
83 rsrAllocationSyncAll(rsc, sc, a, RS_ALLOCATION_USAGE_SCRIPT);
93 rsrAllocationCopy1DRange(rsc, dstAlloc, dstOff, dstMip, count,
105 rsrAllocationCopy2DRange(rsc, dstAlloc,
119 rsrSetObject(rsc, sc, dst, src);
124 rsrClearObject(rsc, sc, dst);
129 return rsrIsObject(rsc, sc, src);
137 return rsdScriptGetAllocationForPointer(rsc, sc, ptr);
144 rsrForEach(rsc, s
[all...]
H A DrsdSampler.cpp32 void rsdSamplerDestroy(const android::renderscript::Context *rsc, argument
H A DrsdSampler.h23 bool rsdSamplerInit(const android::renderscript::Context *rsc,
26 void rsdSamplerDestroy(const android::renderscript::Context *rsc,
H A DrsdScriptGroup.cpp33 bool rsdScriptGroupInit(const android::renderscript::Context *rsc, argument
38 void rsdScriptGroupSetInput(const android::renderscript::Context *rsc, argument
44 void rsdScriptGroupSetOutput(const android::renderscript::Context *rsc, argument
50 void rsdScriptGroupExecute(const android::renderscript::Context *rsc, argument
99 RsdHal * dc = (RsdHal *)rsc->mHal.drv;
107 rsdScriptInvokeForEachMtlsSetup(rsc, ins[ct], outs[ct], NULL, 0, NULL, &mtls);
126 rsdScriptLaunchThreads(rsc, s, slot, ins[ct], outs[ct], NULL, 0, NULL, &mtls);
131 void rsdScriptGroupDestroy(const android::renderscript::Context *rsc, argument
H A DrsdScriptGroup.h22 bool rsdScriptGroupInit(const android::renderscript::Context *rsc,
24 void rsdScriptGroupSetInput(const android::renderscript::Context *rsc,
28 void rsdScriptGroupSetOutput(const android::renderscript::Context *rsc,
32 void rsdScriptGroupExecute(const android::renderscript::Context *rsc,
34 void rsdScriptGroupDestroy(const android::renderscript::Context *rsc,
/frameworks/support/renderscript/v8/rs_support/
H A DrsAdapter.cpp24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { argument
28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { argument
40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument
41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes);
44 void Adapter1D::serialize(Context *rsc, OStream *stream) const { argument
47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { argument
54 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { argument
55 Adapter1D *a = new Adapter1D(rsc);
60 rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) argument
66 rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) argument
95 Adapter2D(Context *rsc) argument
99 Adapter2D(Context *rsc, Allocation *a) argument
111 data(Context *rsc, uint32_t x, uint32_t y, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
117 serialize(Context *rsc, OStream *stream) const argument
120 createFromStream(Context *rsc, IStream *stream) argument
128 rsi_Adapter2DCreate(Context *rsc) argument
134 rsi_Adapter2DBindAllocation(Context *rsc, RsAdapter2D va, RsAllocation valloc) argument
140 rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) argument
[all...]
H A DrsAdapter.h47 void data(Context *rsc, uint32_t xoff, uint32_t count, const void *data, size_t sizeBytes);
49 virtual void serialize(Context *rsc, OStream *stream) const;
51 static Adapter1D *createFromStream(Context *rsc, IStream *stream);
79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
82 virtual void serialize(Context *rsc, OStream *stream) const;
84 static Adapter2D *createFromStream(Context *rsc, IStream *stream);
H A DrsAllocation.cpp25 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
27 : ObjectBase(rsc) {
38 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
40 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
42 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) {
43 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
67 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { argument
68 rsc->mHal.funcs.allocation.syncAll(rsc, thi
71 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
86 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
103 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) argument
108 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
122 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument
136 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument
141 elementData(Context *rsc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument
169 elementData(Context *rsc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument
221 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
270 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument
278 packVec3Allocation(Context *rsc, OStream *stream) const argument
293 serialize(Context *rsc, OStream *stream) const argument
319 createFromStream(Context *rsc, IStream *stream) argument
395 copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len) argument
398 resize1D(Context *rsc, uint32_t dimX) argument
414 resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) argument
424 rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) argument
430 rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) argument
435 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
442 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
448 rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, const void *data, size_t sizeBytes, size_t eoff) argument
454 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
460 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
466 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
478 rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) argument
483 rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) argument
488 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, uint32_t usages, uint32_t ptr) argument
499 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
521 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
559 rsi_AllocationCopy2DRange(Context *rsc, RsAllocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, RsAllocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
[all...]
H A DrsAllocation.h77 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
85 void syncAll(Context *rsc, RsAllocationUsageType src);
87 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
89 void resize1D(Context *rsc, uint32_t dimX);
90 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
92 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
93 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
95 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
98 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
99 void read(Context *rsc, uint32_
[all...]
H A DrsContext.cpp164 Context *rsc = static_cast<Context *>(vrsc); local
166 rsc->mNativeThreadId = gettid();
168 setpriority(PRIO_PROCESS, rsc->mNativeThreadId, /* ANDROID_PRIORITY_DISPLAY */ -4);
169 rsc->mThreadPriority = /* ANDROID_PRIORITY_DISPLAY */ -4;
171 rsc->props.mLogTimes = getProp("debug.rs.profile") != 0;
172 rsc->props.mLogScripts = getProp("debug.rs.script") != 0;
173 rsc->props.mLogObjects = getProp("debug.rs.object") != 0;
174 rsc->props.mLogShaders = getProp("debug.rs.shader") != 0;
175 rsc->props.mLogShadersAttr = getProp("debug.rs.shader.attributes") != 0;
176 rsc
208 Context *rsc = (Context *)ctx; local
242 Context * rsc = new Context(); local
252 Context * rsc = new Context(); local
395 rsi_ContextFinish(Context *rsc) argument
398 rsi_ContextBindRootScript(Context *rsc, RsScript vs) argument
403 rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) argument
414 rsi_AssignName(Context *rsc, RsObjectBase obj, const char *name, size_t name_length) argument
419 rsi_ObjDestroy(Context *rsc, void *optr) argument
425 rsi_ContextSetPriority(Context *rsc, int32_t p) argument
429 rsi_ContextDump(Context *rsc, int32_t bits) argument
433 rsi_ContextDestroyWorker(Context *rsc) argument
437 rsi_ContextDestroy(Context *rsc) argument
445 rsi_ContextPeekMessage(Context *rsc, size_t * receiveLen, size_t receiveLen_length, uint32_t * subID, size_t subID_length) argument
451 rsi_ContextGetMessage(Context *rsc, void * data, size_t data_length, size_t * receiveLen, size_t receiveLen_length, uint32_t * subID, size_t subID_length) argument
459 rsi_ContextInitToClient(Context *rsc) argument
463 rsi_ContextDeinitToClient(Context *rsc) argument
474 Context *rsc = Context::createContext(dev, NULL); local
[all...]
H A DrsContext.h39 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
45 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
H A DrsDevice.cpp30 void Device::addContext(Context *rsc) { argument
31 mContexts.push(rsc);
34 void Device::removeContext(Context *rsc) { argument
36 if (mContexts[idx] == rsc) {
H A DrsElement.cpp24 Element::Element(Context *rsc) : ObjectBase(rsc) { argument
95 void Element::serialize(Context *rsc, OStream *stream) const { argument
109 mFields[ct].e->serialize(rsc, stream);
113 Element *Element::createFromStream(Context *rsc, IStream *stream) { argument
129 return (Element *)Element::create(rsc,
149 subElems[ct] = Element::createFromStream(rsc, stream);
152 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames,
222 ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsDataKind dk, argument
227 for (uint32_t ct=0; ct < rsc
254 createRef(Context *rsc, size_t count, const Element **ein, const char **nin, const size_t * lengths, const uint32_t *asin) argument
362 create(Context *rsc) argument
384 rsi_ElementCreate(Context *rsc, RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) argument
393 rsi_ElementCreate2(Context *rsc, const RsElement * ein, size_t ein_length, const char ** names, size_t nameLengths_length, const size_t * nameLengths, const uint32_t * arraySizes, size_t arraySizes_length) argument
[all...]
H A DrsElement.h64 ObjectBaseRef<const Element> create(Context *rsc);
108 virtual void serialize(Context *rsc, OStream *stream) const;
110 static Element *createFromStream(Context *rsc, IStream *stream);
112 static ObjectBaseRef<const Element> createRef(Context *rsc,
117 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count,
123 static const Element* create(Context *rsc, argument
128 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize);
132 static const Element* create(Context *rsc, size_t count, argument
137 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
H A DrsObjectBase.cpp25 ObjectBase::ObjectBase(Context *rsc) { argument
28 mRSC = rsc;
36 rsAssert(rsc);
168 //ALOGV("calling add rsc %p", mRSC);
179 //ALOGV("calling remove rsc %p", mRSC);
199 void ObjectBase::zeroAllUserRef(Context *rsc) { argument
200 if (rsc->props.mLogObjects) {
205 const ObjectBase * o = rsc->mObjHead;
210 o = rsc->mObjHead;
218 if (rsc
224 freeAllChildren(Context *rsc) argument
246 dumpAll(Context *rsc) argument
260 isValid(const Context *rsc, const ObjectBase *obj) argument
[all...]
H A DrsObjectBase.h36 ObjectBase(Context *rsc);
56 static void zeroAllUserRef(Context *rsc);
57 static void freeAllChildren(Context *rsc);
58 static void dumpAll(Context *rsc);
61 virtual void serialize(Context *rsc, OStream *stream) const = 0;
64 static bool isValid(const Context *rsc, const ObjectBase *obj);
H A DrsSampler.cpp25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { argument
30 Sampler::Sampler(Context *rsc, argument
36 float aniso) : ObjectBase(rsc) {
71 void Sampler::serialize(Context *rsc, OStream *stream) const { argument
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { argument
78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, argument
87 for (uint32_t ct = 0; ct < rsc->mStateSampler.mAllSamplers.size(); ct++) {
88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct];
101 Sampler *s = new Sampler(rsc, magFilte
116 rsi_SamplerCreate(Context * rsc, RsSamplerValue magFilter, RsSamplerValue minFilter, RsSamplerValue wrapS, RsSamplerValue wrapT, RsSamplerValue wrapR, float aniso) argument
[all...]
H A DrsSampler.h64 virtual void serialize(Context *rsc, OStream *stream) const;
66 static Sampler *createFromStream(Context *rsc, IStream *stream);
89 void init(Context *rsc) { argument
91 void deinit(Context *rsc) { argument
H A DrsScript.cpp23 Script::Script(Context *rsc) : ObjectBase(rsc) { argument
89 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) argument
90 : ObjectBase(rsc) {
102 void ScriptKernelID::serialize(Context *rsc, OStream *stream) const { argument
110 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : ObjectBase(rsc) { argument
119 void ScriptFieldID::serialize(Context *rsc, OStream *stream) const { argument
131 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { argument
132 return new ScriptKernelID(rsc, (Scrip
135 rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) argument
139 rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) argument
145 rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) argument
164 rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, RsAllocation vain, RsAllocation vaout, const void *params, size_t paramLen) argument
174 rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) argument
180 rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) argument
185 rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
190 rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) argument
195 rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) argument
201 rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) argument
206 rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) argument
211 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument
216 rsi_ScriptSetVarV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
221 rsi_ScriptSetVarVE(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len, RsElement ve, const size_t *dims, size_t dimLen) argument
[all...]

Completed in 1800 milliseconds

12345