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

/frameworks/rs/
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 DrsScriptIntrinsic.cpp30 mRSC->mHal.funcs.script.destroy(mRSC, this);
40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e);
67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
79 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc);
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 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 DrsAllocation.cpp47 a->getContext()->mHal.funcs.freeRuntimeMem(ptr);
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
63 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) {
90 mRSC->mHal.funcs.allocation.destroy(mRSC, this);
94 rsc->mHal.funcs.allocation.syncAll(rsc, this, src);
108 //void *ptr = mRSC->mHal.funcs.allocation.lock1D(rsc, this);
128 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
134 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
141 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
158 rsc->mHal.funcs
[all...]
H A DrsScriptC.cpp54 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
55 mRSC->mHal.funcs.script.destroy(mRSC, this);
111 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
147 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this);
181 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
213 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc);
231 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len);
287 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) {
299 rsc->mHal.funcs.script.invokeInit(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 DrsScript.cpp53 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a);
62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len);
72 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len);
82 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot,
94 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val);
98 if (rsc->mHal.funcs.script.updateCachedObject != NULL) {
99 rsc->mHal.funcs.script.updateCachedObject(rsc, this, (rs_script *)dstObj);
107 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
H A DrsScriptGroup.cpp27 if (mRSC->mHal.funcs.scriptgroup.destroy) {
28 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this);
249 if (rsc->mHal.funcs.scriptgroup.init) {
250 rsc->mHal.funcs.scriptgroup.init(rsc, sg);
261 if (rsc->mHal.funcs.scriptgroup.setInput) {
262 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a);
275 if (rsc->mHal.funcs.scriptgroup.setOutput) {
276 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a);
309 if (rsc->mHal.funcs.scriptgroup.execute) {
310 rsc->mHal.funcs
[all...]
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 DrsPath.cpp36 rsc->mHal.funcs.path.initStatic(rsc, this, vtx, loops);
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 DrsScriptC_LibGL.cpp222 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a);
225 rsc->mHal.funcs.allocation.unlock1D(rsc, a);
252 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a);
257 rsc->mHal.funcs.allocation.unlock1D(rsc, a);
H A DrsContext.cpp65 if (!mHal.funcs.initGraphics(this)) {
77 mHal.funcs.shutdownGraphics(this);
366 rsc->mHal.funcs.setPriority(rsc, rsc->mThreadPriority);
444 rsc->mHal.funcs.swap(rsc);
511 mHal.funcs.setPriority(this, mThreadPriority);
630 if (mHal.funcs.shutdownDriver && mHal.drv) {
631 mHal.funcs.shutdownDriver(this);
648 mHal.funcs.setSurface(this, w, h, sur);
746 if (mHal.funcs.finish) {
747 mHal.funcs
[all...]
H A DrsType.cpp51 t->getContext()->mHal.funcs.freeRuntimeMem(ptr);
244 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0);
318 if (rsc->mHal.funcs.type.updateCachedObject != NULL) {
319 rsc->mHal.funcs.type.updateCachedObject(rsc, this, (rs_type *)dstObj);
H A DrsElement.cpp40 e->getContext()->mHal.funcs.freeRuntimeMem(ptr);
249 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0);
313 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0);
393 if (rsc->mHal.funcs.element.updateCachedObject != NULL) {
394 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,
589 uint16_t *indexPtr = (uint16_t*)mRSC->mHal.funcs.allocation.lock1D(mRSC, indexAlloc);
620 mTextMeshPtr = (float*)mRSC->mHal.funcs.allocation.lock1D(mRSC, vertexAlloc);
626 mRSC->mHal.funcs.allocation.unlock1D(mRSC, indexAlloc);
627 mRSC->mHal.funcs.allocation.unlock1D(mRSC, vertexAlloc);
H A DrsContext.h82 RsdHalFunctions funcs; member in struct:android::renderscript::Context::Hal
/frameworks/rs/driver/
H A DrsdCore.cpp199 rsc->mHal.funcs = FunctionTable;
229 rsc->mHal.funcs.allocRuntimeMem,
230 rsc->mHal.funcs.freeRuntimeMem);
/frameworks/native/opengl/libs/GLES_trace/tools/
H A Dgenapi.py371 funcs = set()
373 if api.func not in funcs:
375 funcs.add(api.func)
/frameworks/native/cmds/atrace/
H A Datrace.cpp472 static bool verifyKernelTraceFuncs(const char* funcs) argument
493 // Make sure that every function listed in funcs is in the list we just
496 char* myFuncs = strdup(funcs);
514 static bool setKernelTraceFuncs(const char* funcs) argument
518 if (funcs == NULL || funcs[0] == '\0') {
536 char* myFuncs = strdup(funcs);
546 ok &= verifyKernelTraceFuncs(funcs);

Completed in 127 milliseconds