Searched refs:funcs (Results 1 - 21 of 21) 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 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.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
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 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
114 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
121 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
136 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
153 rsc->mHal.funcs
[all...]
H A DrsProgramFragment.cpp33 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader, mUserShaderLen,
38 mRSC->mHal.funcs.fragment.destroy(mRSC, this);
56 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
76 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);
120 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);
117 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
153 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this);
187 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
205 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len);
298 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) {
310 rsc->mHal.funcs.script.invokeInit(rsc, 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);
286 if (rsc->mHal.funcs.scriptgroup.execute) {
287 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 DrsScript.cpp53 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a);
62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len);
71 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len);
80 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot,
92 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val);
97 mRSC->mHal.funcs.script.invokeFreeChildren(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);
356 rsc->mHal.funcs.setPriority(rsc, rsc->mThreadPriority);
434 rsc->mHal.funcs.swap(rsc);
501 mHal.funcs.setPriority(this, mThreadPriority);
611 if (mHal.funcs.shutdownDriver) {
612 mHal.funcs.shutdownDriver(this);
629 mHal.funcs.setSurface(this, w, h, sur);
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/compile/slang/
H A Dslang_rs_metadata_spec.h77 RSFunction *funcs; member in struct:RSMetadata
/frameworks/rs/driver/
H A DrsdCore.cpp180 rsc->mHal.funcs = FunctionTable;
209 rsc->mHal.funcs.allocRuntimeMem,
210 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.cpp407 static bool verifyKernelTraceFuncs(const char* funcs) argument
428 // Make sure that every function listed in funcs is in the list we just
431 char* myFuncs = strdup(funcs);
449 static bool setKernelTraceFuncs(const char* funcs) argument
453 if (funcs == NULL || funcs[0] == '\0') {
471 char* myFuncs = strdup(funcs);
481 ok &= verifyKernelTraceFuncs(funcs);

Completed in 157 milliseconds