Home
last modified time | relevance | path

Searched refs:funcs (Results 1 – 25 of 42) sorted by relevance

12

/aosp12/frameworks/rs/
H A DrsDriverLoader.cpp54 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver); in LoadHalTable()
55 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority); in LoadHalTable()
58 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish); in LoadHalTable()
60 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init); in LoadHalTable()
73 ret &= fn(RS_HAL_SCRIPT_DESTROY, (void **)&rsc->mHal.funcs.script.destroy); in LoadHalTable()
77 ret &= fn(RS_HAL_ALLOCATION_INIT, (void **)&rsc->mHal.funcs.allocation.init); in LoadHalTable()
109 ret &= fn(RS_HAL_SAMPLER_INIT, (void **)&rsc->mHal.funcs.sampler.init); in LoadHalTable()
113 ret &= fn(RS_HAL_TYPE_INIT, (void **)&rsc->mHal.funcs.type.init); in LoadHalTable()
114 ret &= fn(RS_HAL_TYPE_DESTROY, (void **)&rsc->mHal.funcs.type.destroy); in LoadHalTable()
117 ret &= fn(RS_HAL_ELEMENT_INIT, (void **)&rsc->mHal.funcs.element.init); in LoadHalTable()
[all …]
H A DrsProgramVertex.cpp29 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader, mUserShaderLen, in ProgramVertex()
34 mRSC->mHal.funcs.vertex.destroy(mRSC, this); in ~ProgramVertex()
63 rsc->mHal.funcs.vertex.setActive(rsc, this); in setup()
77 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setProjectionMatrix()
81 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setProjectionMatrix()
95 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setModelviewMatrix()
99 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setModelviewMatrix()
113 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setTextureMatrix()
117 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setTextureMatrix()
134 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in getProjectionMatrix()
[all …]
H A DrsScriptGroup2.cpp9 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup2()
10 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup2()
15 if (rsc->mHal.funcs.scriptgroup.execute) { in execute()
16 rsc->mHal.funcs.scriptgroup.execute(rsc, this); in execute()
29 if (rsc->mHal.funcs.scriptgroup.init) { in rsi_ScriptGroup2Create()
30 rsc->mHal.funcs.scriptgroup.init(rsc, group); in rsi_ScriptGroup2Create()
H A DrsAllocation.cpp57 a->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete()
117 if (!rsc->mHal.funcs.allocation.initAdapter(rsc, a)) { in createAdapter()
139 rsc->mHal.funcs.allocation.adapterOffset(rsc, this); in adapterOffset()
165 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
169 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll()
425 rsc->mHal.funcs.allocation.unlock1D(rsc, this); in unpackVec3Allocation()
439 rsc->mHal.funcs.allocation.unlock1D(rsc, this); in packVec3Allocation()
459 rsc->mHal.funcs.allocation.unlock1D(rsc, this); in serialize()
518 mRSC->mHal.funcs.allocation.markDirty(rsc, this); in sendDirty()
544 mRSC->mHal.funcs.allocation.unlock1D(mRSC, this); in freeChildrenUnlocked()
[all …]
H A DrsScriptC.cpp55 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC()
56 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC()
125 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript()
161 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); in run()
206 if (rsc->mHal.funcs.script.invokeForEachMulti != nullptr) { in runForEach()
207 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, in runForEach()
211 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ains[0], aout, in runForEach()
238 rsc->mHal.funcs.script.invokeReduce(rsc, this, slot, ains, inLen, aout, sc); in runReduce()
255 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); in Invoke()
355 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler()
[all …]
H A DrsScriptGroup.cpp33 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup()
34 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup()
246 if (rsc->mHal.funcs.scriptgroup.init) { in create()
247 rsc->mHal.funcs.scriptgroup.init(rsc, sg); in create()
258 if (rsc->mHal.funcs.scriptgroup.setInput) { in setInput()
259 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a); in setInput()
272 if (rsc->mHal.funcs.scriptgroup.setOutput) { in setOutput()
273 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a); in setOutput()
304 if (rsc->mHal.funcs.scriptgroup.execute) { in execute()
305 rsc->mHal.funcs.scriptgroup.execute(rsc, this); in execute()
H A DrsProgramFragment.cpp34 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader, mUserShaderLen, in ProgramFragment()
39 mRSC->mHal.funcs.fragment.destroy(mRSC, this); in ~ProgramFragment()
57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); in setConstantColor()
60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setConstantColor()
77 rsc->mHal.funcs.fragment.setActive(rsc, this); in setup()
H A DrsScript.cpp56 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot()
67 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar()
79 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); in getVar()
91 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar()
105 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); in setVarObj()
109 if (rsc->mHal.funcs.script.updateCachedObject != nullptr) { in callUpdateCacheObject()
110 rsc->mHal.funcs.script.updateCachedObject(rsc, this, (rs_script *)dstObj); in callUpdateCacheObject()
118 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in freeChildren()
H A DrsMesh.cpp64 mRSC->mHal.funcs.mesh.destroy(mRSC, this); in ~Mesh()
77 mRSC->mHal.funcs.mesh.init(mRSC, this); in init()
198 mRSC->mHal.funcs.mesh.draw(mRSC, this, primIndex, start, len); in renderPrimitiveRange()
204 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]); in uploadAll()
210 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]); in uploadAll()
232 const uint8_t *bp = (const uint8_t *)rsc->mHal.funcs.allocation.lock1D( in computeBBox()
262 rsc->mHal.funcs.allocation.unlock1D(rsc, posAlloc); in computeBBox()
H A DrsFBOCache.cpp39 rsc->mHal.funcs.framebuffer.init(rsc, this); in init()
43 rsc->mHal.funcs.framebuffer.destroy(rsc, this); in deinit()
89 rsc->mHal.funcs.framebuffer.setActive(rsc, this); in setup()
H A DrsSampler.cpp43 mRSC->mHal.funcs.sampler.init(mRSC, this); in Sampler()
47 mRSC->mHal.funcs.sampler.destroy(mRSC, this); in ~Sampler()
101 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Sampler), 0); in getSampler()
125 s->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete()
H A DrsScriptIntrinsic.cpp30 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptIntrinsic()
40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e); in init()
67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, in runForEach()
H A DrsProgramRaster.cpp29 rsc->mHal.funcs.raster.init(rsc, this); in ProgramRaster()
43 mRSC->mHal.funcs.raster.destroy(mRSC, this); in ~ProgramRaster()
53 rsc->mHal.funcs.raster.setActive(rsc, this); in setup()
H A DrsProgramStore.cpp54 mRSC->mHal.funcs.store.destroy(mRSC, this); in ~ProgramStore()
63 rsc->mHal.funcs.store.setActive(rsc, this); in setup()
74 mRSC->mHal.funcs.store.init(mRSC, this); in init()
H A DrsContext.cpp52 int32_t ret = mHal.funcs.initGraphics(this); in initGLThread()
66 mHal.funcs.shutdownGraphics(this); in deinitEGL()
340 rsc->mHal.funcs.swap(rsc); in threadProc()
423 mHal.funcs.setPriority(this, mThreadPriority); in setPriority()
567 if (mHal.funcs.shutdownDriver && mHal.drv) { in ~Context()
568 mHal.funcs.shutdownDriver(this); in ~Context()
576 mHal.funcs.setSurface(this, w, h, sur); in setSurface()
674 if (mHal.funcs.finish) { in finish()
675 mHal.funcs.finish(this); in finish()
/aosp12/frameworks/base/libs/hwui/
H A DWebViewFunctorManager.cpp200 funcs.releaseFunc(mSurfaceControl); in removeOverlays()
215 auto funcs = renderthread::RenderThread::getInstance().getASurfaceControlFunctions(); in getSurfaceControl() local
218 ASurfaceTransaction* transaction = funcs.transactionCreateFunc(); in getSurfaceControl()
220 funcs.transactionSetZOrderFunc(transaction, mSurfaceControl, -1); in getSurfaceControl()
221 funcs.transactionSetVisibilityFunc(transaction, mSurfaceControl, in getSurfaceControl()
223 funcs.transactionApplyFunc(transaction); in getSurfaceControl()
224 funcs.transactionDeleteFunc(transaction); in getSurfaceControl()
239 funcs.transactionApplyFunc(transaction); in mergeTransaction()
248 ASurfaceTransaction* transaction = funcs.transactionCreateFunc(); in reparentSurfaceControl()
249 funcs.transactionReparentFunc(transaction, mSurfaceControl, parent); in reparentSurfaceControl()
[all …]
/aosp12/art/tools/jvmti-agents/wrapagentproperties/
H A Dwrapagentproperties.cc130 ExtraJvmtiInterface* funcs = reinterpret_cast<ExtraJvmtiInterface*>( in WrapDisposeEnvironment() local
134 funcs->original_interface->Deallocate(env, reinterpret_cast<unsigned char*>(funcs)); in WrapDisposeEnvironment()
140 ExtraJvmtiInterface* funcs = reinterpret_cast<ExtraJvmtiInterface*>( in WrapGetSystemProperty() local
142 auto it = funcs->proxy_vm->map->find(prop); in WrapGetSystemProperty()
143 if (it != funcs->proxy_vm->map->end()) { in WrapGetSystemProperty()
153 return funcs->original_interface->GetSystemProperty(env, prop, out); in WrapGetSystemProperty()
158 ExtraJvmtiInterface* funcs = reinterpret_cast<ExtraJvmtiInterface*>( in WrapGetSystemProperties() local
167 for (const auto& p : *funcs->proxy_vm->map) { in WrapGetSystemProperties()
196 ExtraJvmtiInterface* funcs = reinterpret_cast<ExtraJvmtiInterface*>( in WrapSetSystemProperty() local
202 auto it = funcs->proxy_vm->map->find(prop); in WrapSetSystemProperty()
[all …]
/aosp12/system/chre/build/app_support/qcom_nanohub/
H A Dapp_support.cc80 struct AppFuncs funcs; member
109 .funcs.init = chreappStart,
110 .funcs.end = nanoappEnd,
111 .funcs.handle = chreappHandle,
/aosp12/art/test/utils/python/
H A Dgenerate_java_main.py102 funcs = ""
104 funcs += str(f)
107 main_func=main_func, test_funcs=funcs)
138 self.funcs = set()
152 self.funcs.add(f)
159 for f in sorted(self.funcs, key=lambda a: (a.func, a.farg)):
/aosp12/art/test/968-default-partial-compile-gen/util-src/
H A Dgenerate_smali.py318 funcs = "")
526 funcs = self.DEFAULT_FUNC_TEMPLATE.format(tree = self.get_tree())
528 funcs = self.ABSTRACT_FUNC_TEMPLATE.format()
530 funcs = ""
535 funcs = funcs,
/aosp12/art/test/970-iface-super-resolution-gen/util-src/
H A Dgenerate_smali.py388 funcs = '\n'.join(map(lambda a: self.TEST_FUNC_TEMPLATE.format(iface = a.get_name(),
401 test_funcs = funcs,
527 funcs = self.DEFAULT_FUNC_TEMPLATE.format(class_name = self.class_name)
529 funcs = self.ABSTRACT_FUNC_TEMPLATE
534 funcs = funcs,
/aosp12/system/chre/platform/slpi/see/
H A Dsee_helper.cc221 .data_type.funcs.encode = copyPayload, in encodeSnsSuidReq()
389 req->request.payload.funcs.encode = copyPayload; in prepSnsClientReq()
443 .data_type.funcs.decode = decodeStringField, in decodeSnsSuidEvent()
445 .suid.funcs.decode = decodeSnsSuidEventSuid, in decodeSnsSuidEvent()
581 data->value.str.funcs.decode = decodeStringField; in decodeSnsStdAttrValue()
944 .operation_mode.funcs.decode = decodeStringField, in decodeSnsStdSensorPhysicalConfigEvent()
988 .data.funcs.decode = decodeFloatData, in decodeSnsStdSensorEvent()
1056 .bias.funcs.decode = decodeFloatData, in decodeSnsCalEvent()
1058 .scale_factor.funcs.decode = decodeFloatData, in decodeSnsCalEvent()
1060 .comp_matrix.funcs.decode = decodeFloatData, in decodeSnsCalEvent()
[all …]
/aosp12/hardware/ril/rild/
H A Drild.c115 const RIL_RadioFunctions *funcs; in main() local
213 funcs = rilInit(&s_rilEnv, argc, rilArgv); in main()
216 RIL_register(funcs); in main()
/aosp12/system/chre/apps/test/common/chre_cross_validator_wifi/src/
H A Dwifi_scan_result.cc32 wifiScanResultProto.ssid = {.funcs = {.decode = decodeString}, .arg = mSsid}; in WifiScanResult()
33 wifiScanResultProto.bssid = {.funcs = {.decode = decodeString}, in WifiScanResult()
/aosp12/art/test/961-default-iface-resolution-gen/util-src/
H A Dgenerate_java.py282 funcs = self.DEFAULT_FUNC_TEMPLATE.format(ifaces = j_ifaces,
286 funcs = ""
290 funcs = funcs,

12