/frameworks/rs/ |
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 | rsAllocation.cpp | 47 a->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocation() 63 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation() 90 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation() 94 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll() 128 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data() 134 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data() 141 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data() 158 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read() 176 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read() [all …]
|
D | rsScriptC.cpp | 54 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC() 55 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC() 111 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript() 147 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); in run() 181 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); in runForEach() 213 … rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc); in runForEach() 231 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); in Invoke() 287 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler() 299 rsc->mHal.funcs.script.invokeInit(rsc, this); in runCompiler()
|
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.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); in runForEach() 79 … rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc); in runForEach()
|
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 | 27 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup() 28 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup() 249 if (rsc->mHal.funcs.scriptgroup.init) { in create() 250 rsc->mHal.funcs.scriptgroup.init(rsc, sg); in create() 261 if (rsc->mHal.funcs.scriptgroup.setInput) { in setInput() 262 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a); in setInput() 275 if (rsc->mHal.funcs.scriptgroup.setOutput) { in setOutput() 276 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a); in setOutput() 309 if (rsc->mHal.funcs.scriptgroup.execute) { in execute() 310 rsc->mHal.funcs.scriptgroup.execute(rsc, this); in execute()
|
D | rsScript.cpp | 53 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot() 62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar() 72 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); in getVar() 82 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar() 94 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); in setVarObj() 98 if (rsc->mHal.funcs.script.updateCachedObject != NULL) { in callUpdateCacheObject() 99 rsc->mHal.funcs.script.updateCachedObject(rsc, this, (rs_script *)dstObj); in callUpdateCacheObject() 107 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in freeChildren()
|
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 | rsContext.cpp | 65 if (!mHal.funcs.initGraphics(this)) { in initGLThread() 77 mHal.funcs.shutdownGraphics(this); in deinitEGL() 366 rsc->mHal.funcs.setPriority(rsc, rsc->mThreadPriority); in threadProc() 444 rsc->mHal.funcs.swap(rsc); in threadProc() 511 mHal.funcs.setPriority(this, mThreadPriority); in setPriority() 630 if (mHal.funcs.shutdownDriver && mHal.drv) { in ~Context() 631 mHal.funcs.shutdownDriver(this); in ~Context() 648 mHal.funcs.setSurface(this, w, h, sur); in setSurface() 746 if (mHal.funcs.finish) { in finish() 747 mHal.funcs.finish(this); in finish()
|
D | rsScriptC_LibGL.cpp | 222 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrDrawTextAlloc() 225 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrDrawTextAlloc() 252 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrMeasureTextAlloc() 257 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrMeasureTextAlloc()
|
D | rsType.cpp | 51 t->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 244 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0); in getTypeRef() 318 if (rsc->mHal.funcs.type.updateCachedObject != NULL) { in callUpdateCacheObject() 319 rsc->mHal.funcs.type.updateCachedObject(rsc, this, (rs_type *)dstObj); in callUpdateCacheObject()
|
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 != NULL) { in callUpdateCacheObject() 394 rsc->mHal.funcs.element.updateCachedObject(rsc, this, (rs_element *)dstObj); in callUpdateCacheObject()
|
D | rsPath.cpp | 36 rsc->mHal.funcs.path.initStatic(rsc, this, vtx, loops); in Path()
|
D | rsFont.cpp | 476 mRSC->mHal.funcs.allocation.data2D(mRSC, mTextTexture.get(), 0, 0, 0, in cacheBitmap() 589 uint16_t *indexPtr = (uint16_t*)mRSC->mHal.funcs.allocation.lock1D(mRSC, indexAlloc); in initVertexArrayBuffers() 620 mTextMeshPtr = (float*)mRSC->mHal.funcs.allocation.lock1D(mRSC, vertexAlloc); in initVertexArrayBuffers() 626 mRSC->mHal.funcs.allocation.unlock1D(mRSC, indexAlloc); in initVertexArrayBuffers() 627 mRSC->mHal.funcs.allocation.unlock1D(mRSC, vertexAlloc); in initVertexArrayBuffers()
|
D | rsContext.h | 82 RsdHalFunctions funcs; member
|
/frameworks/rs/driver/ |
D | rsdCore.cpp | 199 rsc->mHal.funcs = FunctionTable; in rsdHalInit() 229 rsc->mHal.funcs.allocRuntimeMem, in rsdHalInit() 230 rsc->mHal.funcs.freeRuntimeMem); in rsdHalInit()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 472 static bool verifyKernelTraceFuncs(const char* funcs) in verifyKernelTraceFuncs() argument 496 char* myFuncs = strdup(funcs); in verifyKernelTraceFuncs() 514 static bool setKernelTraceFuncs(const char* funcs) in setKernelTraceFuncs() argument 518 if (funcs == NULL || funcs[0] == '\0') { in setKernelTraceFuncs() 536 char* myFuncs = strdup(funcs); in setKernelTraceFuncs() 546 ok &= verifyKernelTraceFuncs(funcs); in setKernelTraceFuncs()
|
/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)
|