/frameworks/rs/ |
D | rsDriverLoader.cpp | 54 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() 56 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem); in LoadHalTable() 57 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem); 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() 61 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic); in LoadHalTable() 62 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction); in LoadHalTable() 63 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot); in LoadHalTable() 64 ret &= fn(RS_HAL_SCRIPT_INVOKE_FOR_EACH, (void **)&rsc->mHal.funcs.script.invokeForEach); in LoadHalTable() [all …]
|
D | rsProgramVertex.cpp | 29 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader, mUserShaderLen, in ProgramVertex() 34 mRSC->mHal.funcs.vertex.destroy(mRSC, this); in ~ProgramVertex() 48 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setup() 58 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setup() 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() [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 | 57 a->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 65 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocationStrided() 75 if (rsc->mHal.funcs.allocation.initOem != nullptr) { in createAllocationStrided() 77 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocationStrided() 85 …success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), r… in createAllocationStrided() 89 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences()); in createAllocationStrided() 108 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAdapter() 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() [all …]
|
D | rsScriptC.cpp | 55 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 …]
|
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() 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()
|
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 | rsFBOCache.cpp | 39 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()
|
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 | 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 | rsSampler.cpp | 43 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()
|
D | rsProgramRaster.cpp | 29 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 | 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 | rsContext.cpp | 52 int32_t ret = mHal.funcs.initGraphics(this); in initGLThread() 66 mHal.funcs.shutdownGraphics(this); in deinitEGL() 340 rsc->mHal.funcs.swap(rsc); in threadProc() 424 mHal.funcs.setPriority(this, mThreadPriority); in setPriority() 568 if (mHal.funcs.shutdownDriver && mHal.drv) { in ~Context() 569 mHal.funcs.shutdownDriver(this); in ~Context() 577 mHal.funcs.setSurface(this, w, h, sur); in setSurface() 675 if (mHal.funcs.finish) { in finish() 676 mHal.funcs.finish(this); in finish()
|
D | rsScriptC_LibGL.cpp | 214 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrDrawTextAlloc() 217 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrDrawTextAlloc() 244 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrMeasureTextAlloc() 249 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrMeasureTextAlloc()
|
D | rsElement.cpp | 39 e->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 251 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef() 315 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef() 395 if (rsc->mHal.funcs.element.updateCachedObject != nullptr) { in callUpdateCacheObject() 396 rsc->mHal.funcs.element.updateCachedObject(rsc, this, (rs_element *)dstObj); in callUpdateCacheObject()
|
D | rsType.cpp | 50 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 | 475 mRSC->mHal.funcs.allocation.data2D(mRSC, mTextTexture.get(), 0, 0, 0, in cacheBitmap() 586 uint16_t *indexPtr = (uint16_t*)mRSC->mHal.funcs.allocation.lock1D(mRSC, indexAlloc); in initVertexArrayBuffers() 615 mTextMeshPtr = (float*)mRSC->mHal.funcs.allocation.lock1D(mRSC, vertexAlloc); in initVertexArrayBuffers() 621 mRSC->mHal.funcs.allocation.unlock1D(mRSC, indexAlloc); in initVertexArrayBuffers() 622 mRSC->mHal.funcs.allocation.unlock1D(mRSC, vertexAlloc); in initVertexArrayBuffers()
|
D | rsContext.h | 77 RsdHalFunctions funcs; member
|
/frameworks/rs/driver/ |
D | rsdCore.cpp | 325 rsc->mHal.funcs.allocation.destroy = sAllocationDestroy; in rsdHalInit() 326 rsc->mHal.funcs.allocation.ioSend = sAllocationIoSend; in rsdHalInit() 327 rsc->mHal.funcs.allocation.setSurface = sAllocationSetSurface; in rsdHalInit()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 654 static bool verifyKernelTraceFuncs(const char* funcs) in verifyKernelTraceFuncs() argument 668 char* myFuncs = strdup(funcs); in verifyKernelTraceFuncs() 687 static bool setKernelTraceFuncs(const char* funcs) in setKernelTraceFuncs() argument 691 if (funcs == NULL || funcs[0] == '\0') { in setKernelTraceFuncs() 709 char* myFuncs = strdup(funcs); in setKernelTraceFuncs() 719 ok &= verifyKernelTraceFuncs(funcs); in setKernelTraceFuncs()
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 259 hb_font_funcs_t** funcs = forColorBitmapFont ? &hbFuncs : &hbFuncsForColorBitmap; in getHbFontFuncs() local 260 if (*funcs == nullptr) { in getHbFontFuncs() 261 *funcs = hb_font_funcs_create(); in getHbFontFuncs() 271 hb_font_funcs_set_glyph_h_advance_func(*funcs, harfbuzzGetGlyphHorizontalAdvance, 0, 0); in getHbFontFuncs() 273 hb_font_funcs_set_glyph_h_origin_func(*funcs, harfbuzzGetGlyphHorizontalOrigin, 0, 0); in getHbFontFuncs() 274 hb_font_funcs_make_immutable(*funcs); in getHbFontFuncs() 276 return *funcs; in getHbFontFuncs()
|