Searched refs:funcs (Results 1 - 23 of 23) sorted by relevance

/frameworks/rs/
H A DrsDriverLoader.cpp62 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver);
63 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority);
64 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem);
65 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem);
66 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish);
68 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init);
69 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic);
70 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction);
71 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot);
72 ret &= fn(RS_HAL_SCRIPT_INVOKE_FOR_EACH, (void **)&rsc->mHal.funcs
[all...]
H A DrsScriptGroup2.cpp9 if (mRSC->mHal.funcs.scriptgroup.destroy) {
10 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this);
15 if (rsc->mHal.funcs.scriptgroup.execute) {
16 rsc->mHal.funcs.scriptgroup.execute(rsc, this);
29 if (rsc->mHal.funcs.scriptgroup.init) {
30 rsc->mHal.funcs.scriptgroup.init(rsc, group);
H A DrsProgramVertex.cpp30 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader, mUserShaderLen,
35 mRSC->mHal.funcs.vertex.destroy(mRSC, this);
49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
64 rsc->mHal.funcs.vertex.setActive(rsc, this);
78 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
96 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
100 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
114 float *f = static_cast<float *>(rsc->mHal.funcs
[all...]
H A DrsFBOCache.cpp40 rsc->mHal.funcs.framebuffer.init(rsc, this);
44 rsc->mHal.funcs.framebuffer.destroy(rsc, this);
90 rsc->mHal.funcs.framebuffer.setActive(rsc, this);
H A DrsScriptIntrinsic.cpp30 mRSC->mHal.funcs.script.destroy(mRSC, this);
40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e);
67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen,
H A DrsAllocation.cpp58 a->getContext()->mHal.funcs.freeRuntimeMem(ptr);
66 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
76 if (rsc->mHal.funcs.allocation.initOem != nullptr) {
78 success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr);
86 success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), requiredAlignment);
90 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences());
109 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
118 if (!rsc->mHal.funcs.allocation.initAdapter(rsc, a)) {
140 rsc->mHal.funcs.allocation.adapterOffset(rsc, this);
163 mRSC->mHal.funcs
[all...]
H A DrsProgramFragment.cpp34 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader, mUserShaderLen,
39 mRSC->mHal.funcs.fragment.destroy(mRSC, this);
57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
77 rsc->mHal.funcs.fragment.setActive(rsc, this);
H A DrsProgramRaster.cpp30 rsc->mHal.funcs.raster.init(rsc, this);
43 mRSC->mHal.funcs.raster.destroy(mRSC, this);
53 rsc->mHal.funcs.raster.setActive(rsc, this);
H A DrsSampler.cpp44 mRSC->mHal.funcs.sampler.init(mRSC, this);
48 mRSC->mHal.funcs.sampler.destroy(mRSC, this);
101 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Sampler), 0);
125 s->getContext()->mHal.funcs.freeRuntimeMem(ptr);
H A DrsScriptC.cpp60 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
61 mRSC->mHal.funcs.script.destroy(mRSC, this);
132 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
168 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this);
224 if (rsc->mHal.funcs.script.invokeForEachMulti != nullptr) {
225 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen,
229 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ains[0], aout,
260 rsc->mHal.funcs.script.invokeReduce(rsc, this, slot, ains, inLen, aout, sc);
277 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len);
381 if (!rsc->mHal.funcs
[all...]
H A DrsScriptGroup.cpp33 if (mRSC->mHal.funcs.scriptgroup.destroy) {
34 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this);
266 if (rsc->mHal.funcs.scriptgroup.init) {
267 rsc->mHal.funcs.scriptgroup.init(rsc, sg);
278 if (rsc->mHal.funcs.scriptgroup.setInput) {
279 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a);
292 if (rsc->mHal.funcs.scriptgroup.setOutput) {
293 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a);
324 if (rsc->mHal.funcs.scriptgroup.execute) {
325 rsc->mHal.funcs
[all...]
H A DrsMesh.cpp64 mRSC->mHal.funcs.mesh.destroy(mRSC, this);
77 mRSC->mHal.funcs.mesh.init(mRSC, this);
198 mRSC->mHal.funcs.mesh.draw(mRSC, this, primIndex, start, len);
204 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]);
210 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]);
232 const uint8_t *bp = (const uint8_t *)rsc->mHal.funcs.allocation.lock1D(
262 rsc->mHal.funcs.allocation.unlock1D(rsc, posAlloc);
H A DrsProgramStore.cpp54 mRSC->mHal.funcs.store.destroy(mRSC, this);
63 rsc->mHal.funcs.store.setActive(rsc, this);
74 mRSC->mHal.funcs.store.init(mRSC, this);
H A DrsScript.cpp56 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a);
67 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len);
79 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len);
91 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot,
105 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val);
109 if (rsc->mHal.funcs.script.updateCachedObject != nullptr) {
110 rsc->mHal.funcs.script.updateCachedObject(rsc, this, (rs_script *)dstObj);
118 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
H A DrsScriptC_LibGL.cpp218 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a);
221 rsc->mHal.funcs.allocation.unlock1D(rsc, a);
248 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a);
253 rsc->mHal.funcs.allocation.unlock1D(rsc, a);
H A DrsType.cpp51 t->getContext()->mHal.funcs.freeRuntimeMem(ptr);
252 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0);
352 if (rsc->mHal.funcs.type.updateCachedObject != nullptr) {
353 rsc->mHal.funcs.type.updateCachedObject(rsc, this, (rs_type *)dstObj);
H A DrsContext.cpp67 if (!mHal.funcs.initGraphics(this)) {
79 mHal.funcs.shutdownGraphics(this);
363 rsc->mHal.funcs.swap(rsc);
447 mHal.funcs.setPriority(this, mThreadPriority);
595 if (mHal.funcs.shutdownDriver && mHal.drv) {
596 mHal.funcs.shutdownDriver(this);
613 mHal.funcs.setSurface(this, w, h, sur);
711 if (mHal.funcs.finish) {
712 mHal.funcs.finish(this);
H A DrsElement.cpp40 e->getContext()->mHal.funcs.freeRuntimeMem(ptr);
251 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0);
315 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0);
395 if (rsc->mHal.funcs.element.updateCachedObject != nullptr) {
396 rsc->mHal.funcs.element.updateCachedObject(rsc, this, (rs_element *)dstObj);
H A DrsFont.cpp476 mRSC->mHal.funcs.allocation.data2D(mRSC, mTextTexture.get(), 0, 0, 0,
587 uint16_t *indexPtr = (uint16_t*)mRSC->mHal.funcs.allocation.lock1D(mRSC, indexAlloc);
616 mTextMeshPtr = (float*)mRSC->mHal.funcs.allocation.lock1D(mRSC, vertexAlloc);
622 mRSC->mHal.funcs.allocation.unlock1D(mRSC, indexAlloc);
623 mRSC->mHal.funcs.allocation.unlock1D(mRSC, vertexAlloc);
H A DrsContext.h88 RsdHalFunctions funcs; member in struct:android::renderscript::Context::Hal
/frameworks/rs/driver/
H A DrsdCore.cpp318 rsc->mHal.funcs.allocation.destroy = sAllocationDestroy;
319 rsc->mHal.funcs.allocation.ioSend = sAllocationIoSend;
320 rsc->mHal.funcs.allocation.setSurface = sAllocationSetSurface;
/frameworks/native/cmds/atrace/
H A Datrace.cpp587 static bool verifyKernelTraceFuncs(const char* funcs) argument
608 // Make sure that every function listed in funcs is in the list we just
611 char* myFuncs = strdup(funcs);
631 static bool setKernelTraceFuncs(const char* funcs) argument
635 if (funcs == NULL || funcs[0] == '\0') {
653 char* myFuncs = strdup(funcs);
663 ok &= verifyKernelTraceFuncs(funcs);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 195 milliseconds