/frameworks/rs/ |
D | rsDriverLoader.cpp | 62 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver); in LoadHalTable() 63 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority); in LoadHalTable() 64 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem); in LoadHalTable() 65 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem); in LoadHalTable() 66 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish); in LoadHalTable() 68 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init); in LoadHalTable() 69 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic); in LoadHalTable() 70 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction); in LoadHalTable() 71 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot); in LoadHalTable() 72 ret &= fn(RS_HAL_SCRIPT_INVOKE_FOR_EACH, (void **)&rsc->mHal.funcs.script.invokeForEach); in LoadHalTable() [all …]
|
D | rsProgramVertex.cpp | 30 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader, mUserShaderLen, in ProgramVertex() 35 mRSC->mHal.funcs.vertex.destroy(mRSC, this); in ~ProgramVertex() 49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setup() 59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setup() 64 rsc->mHal.funcs.vertex.setActive(rsc, this); in setup() 78 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setProjectionMatrix() 82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setProjectionMatrix() 96 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setModelviewMatrix() 100 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setModelviewMatrix() 114 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setTextureMatrix() [all …]
|
D | rsScriptGroup2.cpp | 9 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()
|
D | rsAllocation.cpp | 59 a->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 66 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocation() 76 if (rsc->mHal.funcs.allocation.initOem != nullptr) { in createAllocation() 78 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocation() 85 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences()); in createAllocation() 99 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAdapter() 108 if (!rsc->mHal.funcs.allocation.initAdapter(rsc, a)) { in createAdapter() 130 rsc->mHal.funcs.allocation.adapterOffset(rsc, this); in adapterOffset() 153 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation() 157 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll() [all …]
|
D | rsScriptC.cpp | 69 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC() 70 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC() 141 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript() 177 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); in run() 223 if (rsc->mHal.funcs.script.invokeForEachMulti != nullptr) { in runForEach() 224 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, in runForEach() 228 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ains[0], aout, in runForEach() 255 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); in Invoke() 359 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler() 371 rsc->mHal.funcs.script.invokeInit(rsc, this); in runCompiler()
|
D | rsProgramFragment.cpp | 34 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()
|
D | rsScriptGroup.cpp | 33 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup() 34 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup() 266 if (rsc->mHal.funcs.scriptgroup.init) { in create() 267 rsc->mHal.funcs.scriptgroup.init(rsc, sg); in create() 278 if (rsc->mHal.funcs.scriptgroup.setInput) { in setInput() 279 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a); in setInput() 292 if (rsc->mHal.funcs.scriptgroup.setOutput) { in setOutput() 293 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a); in setOutput() 324 if (rsc->mHal.funcs.scriptgroup.execute) { in execute() 325 rsc->mHal.funcs.scriptgroup.execute(rsc, this); in execute()
|
D | rsScript.cpp | 56 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()
|
D | rsScriptIntrinsic.cpp | 30 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()
|
D | rsFBOCache.cpp | 40 rsc->mHal.funcs.framebuffer.init(rsc, this); in init() 44 rsc->mHal.funcs.framebuffer.destroy(rsc, this); in deinit() 90 rsc->mHal.funcs.framebuffer.setActive(rsc, this); in setup()
|
D | rsSampler.cpp | 44 mRSC->mHal.funcs.sampler.init(mRSC, this); in Sampler() 48 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()
|
D | rsProgramRaster.cpp | 30 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()
|
D | rsMesh.cpp | 64 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()
|
D | rsProgramStore.cpp | 54 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()
|
D | rsScriptC_LibGL.cpp | 218 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrDrawTextAlloc() 221 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrDrawTextAlloc() 248 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrMeasureTextAlloc() 253 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrMeasureTextAlloc()
|
D | rsContext.cpp | 67 if (!mHal.funcs.initGraphics(this)) { in initGLThread() 79 mHal.funcs.shutdownGraphics(this); in deinitEGL() 361 rsc->mHal.funcs.swap(rsc); in threadProc() 445 mHal.funcs.setPriority(this, mThreadPriority); in setPriority() 594 if (mHal.funcs.shutdownDriver && mHal.drv) { in ~Context() 595 mHal.funcs.shutdownDriver(this); in ~Context() 612 mHal.funcs.setSurface(this, w, h, sur); in setSurface() 710 if (mHal.funcs.finish) { in finish() 711 mHal.funcs.finish(this); in finish()
|
D | rsElement.cpp | 40 e->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 249 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef() 313 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef() 393 if (rsc->mHal.funcs.element.updateCachedObject != nullptr) { in callUpdateCacheObject() 394 rsc->mHal.funcs.element.updateCachedObject(rsc, this, (rs_element *)dstObj); in callUpdateCacheObject()
|
D | rsType.cpp | 51 t->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 252 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0); in getTypeRef() 352 if (rsc->mHal.funcs.type.updateCachedObject != nullptr) { in callUpdateCacheObject() 353 rsc->mHal.funcs.type.updateCachedObject(rsc, this, (rs_type *)dstObj); in callUpdateCacheObject()
|
D | rsFont.cpp | 476 mRSC->mHal.funcs.allocation.data2D(mRSC, mTextTexture.get(), 0, 0, 0, in cacheBitmap() 587 uint16_t *indexPtr = (uint16_t*)mRSC->mHal.funcs.allocation.lock1D(mRSC, indexAlloc); in initVertexArrayBuffers() 616 mTextMeshPtr = (float*)mRSC->mHal.funcs.allocation.lock1D(mRSC, vertexAlloc); in initVertexArrayBuffers() 622 mRSC->mHal.funcs.allocation.unlock1D(mRSC, indexAlloc); in initVertexArrayBuffers() 623 mRSC->mHal.funcs.allocation.unlock1D(mRSC, vertexAlloc); in initVertexArrayBuffers()
|
D | rsContext.h | 88 RsdHalFunctions funcs; member
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 506 static bool verifyKernelTraceFuncs(const char* funcs) in verifyKernelTraceFuncs() argument 530 char* myFuncs = strdup(funcs); in verifyKernelTraceFuncs() 548 static bool setKernelTraceFuncs(const char* funcs) in setKernelTraceFuncs() argument 552 if (funcs == NULL || funcs[0] == '\0') { in setKernelTraceFuncs() 570 char* myFuncs = strdup(funcs); in setKernelTraceFuncs() 580 ok &= verifyKernelTraceFuncs(funcs); in setKernelTraceFuncs()
|
/frameworks/rs/driver/ |
D | rsdCore.cpp | 312 rsc->mHal.funcs.allocation.destroy = sAllocationDestroy; in rsdHalInit() 313 rsc->mHal.funcs.allocation.ioSend = sAllocationIoSend; in rsdHalInit() 314 rsc->mHal.funcs.allocation.setSurface = sAllocationSetSurface; in rsdHalInit()
|
/frameworks/native/opengl/libs/GLES_trace/tools/ |
D | genapi.py | 371 funcs = set() 373 if api.func not in funcs: 375 funcs.add(api.func)
|