/frameworks/rs/driver/ |
D | rsdProgramStore.cpp | 41 DrvProgramStore *drv = (DrvProgramStore *)calloc(1, sizeof(DrvProgramStore)); in rsdProgramStoreInit() local 42 if (drv == NULL) { in rsdProgramStoreInit() 46 ps->mHal.drv = drv; in rsdProgramStoreInit() 47 drv->depthTestEnable = true; in rsdProgramStoreInit() 51 drv->depthTestEnable = false; in rsdProgramStoreInit() 52 drv->depthFunc = GL_ALWAYS; in rsdProgramStoreInit() 55 drv->depthFunc = GL_LESS; in rsdProgramStoreInit() 58 drv->depthFunc = GL_LEQUAL; in rsdProgramStoreInit() 61 drv->depthFunc = GL_GREATER; in rsdProgramStoreInit() 64 drv->depthFunc = GL_GEQUAL; in rsdProgramStoreInit() [all …]
|
D | rsdProgram.cpp | 40 RsdShader *drv = new RsdShader(pv, GL_VERTEX_SHADER, shader, shaderLen, in rsdProgramVertexInit() local 42 pv->mHal.drv = drv; in rsdProgramVertexInit() 53 DrvAllocation *drvAlloc = (DrvAllocation *)a->mHal.drv; in SyncProgramConstants() 61 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive() 64 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive() 68 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy() 70 RsdShader *drv = NULL; in rsdProgramVertexDestroy() local 71 if(pv->mHal.drv) { in rsdProgramVertexDestroy() 72 drv = (RsdShader*)pv->mHal.drv; in rsdProgramVertexDestroy() 76 if (drv->getStateBasedIDCount()) { in rsdProgramVertexDestroy() [all …]
|
D | rsdMesh.cpp | 31 RsdMeshObj *drv = NULL; in rsdMeshInit() local 32 if(m->mHal.drv) { in rsdMeshInit() 33 drv = (RsdMeshObj*)m->mHal.drv; in rsdMeshInit() 34 delete drv; in rsdMeshInit() 36 drv = new RsdMeshObj(rsc, m); in rsdMeshInit() 37 m->mHal.drv = drv; in rsdMeshInit() 38 return drv->init(rsc); in rsdMeshInit() 42 if(m->mHal.drv) { in rsdMeshDraw() 43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdMeshDraw() 48 RsdMeshObj *drv = (RsdMeshObj*)m->mHal.drv; in rsdMeshDraw() local [all …]
|
D | rsdAllocation.cpp | 108 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; in Update2DTexture() local 110 rsAssert(drv->textureID); in Update2DTexture() 111 RSD_CALL_GL(glBindTexture, drv->glTarget, drv->textureID); in Update2DTexture() 117 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture() 124 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; in Upload2DTexture() local 126 RSD_CALL_GL(glBindTexture, drv->glTarget, drv->textureID); in Upload2DTexture() 145 RSD_CALL_GL(glTexImage2D, t, lod, drv->glFormat, in Upload2DTexture() 148 0, drv->glFormat, drv->glType, p); in Upload2DTexture() 153 drv->glFormat, drv->glType, p); in Upload2DTexture() 159 RSD_CALL_GL(glGenerateMipmap, drv->glTarget); in Upload2DTexture() [all …]
|
D | rsdBcc.cpp | 45 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdScriptInit() 51 script->mHal.drv = cs; in rsdScriptInit() 57 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdInitIntrinsic() 62 s->mHal.drv = cs; in rsdInitIntrinsic() 76 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeForEach() 82 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeRoot() 87 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeInit() 92 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeFreeChildren() 100 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeFunction() 106 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptSetGlobalVar() [all …]
|
D | rsdFrameBuffer.cpp | 33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setDepthAttachment() 37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv; in setDepthAttachment() 48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setColorAttachment() 53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; in setColorAttachment() 69 fb->mHal.drv = fbo; in rsdFrameBufferInit() 71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdFrameBufferInit() 81 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; in rsdFrameBufferSetActive() 94 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; in rsdFrameBufferDestroy() 96 fb->mHal.drv = NULL; in rsdFrameBufferDestroy()
|
D | rsdPath.cpp | 66 DrvPath *dp = (DrvPath *)m->mHal.drv; in cleanup() 74 DrvPathStatic *drv = NULL; in rsdPathInitStatic() local 79 m->mHal.drv = dps; in rsdPathInitStatic() 91 DrvPath *drv = (DrvPath *)m->mHal.drv; in rsdPathDraw() local 92 if(drv) { in rsdPathDraw() 94 drv->draw((Context *)rsc); in rsdPathDraw() 100 m->mHal.drv = NULL; in rsdPathDestroy() 147 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in draw()
|
D | rsdScriptGroup.cpp | 32 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdScriptGroupInit() 34 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg); in rsdScriptGroupInit() 35 return sg->mHal.drv != NULL; in rsdScriptGroupInit() 47 RsdCpuReference::CpuScriptGroup *sgi = (RsdCpuReference::CpuScriptGroup *)sg->mHal.drv; in rsdScriptGroupExecute() 52 RsdCpuReference::CpuScriptGroup *sgi = (RsdCpuReference::CpuScriptGroup *)sg->mHal.drv; in rsdScriptGroupDestroy()
|
D | rsdCore.cpp | 174 return (RsdCpuReference::CpuScript *)s->mHal.drv; in LookupScript() 187 rsc->mHal.drv = dc; in rsdHalInit() 219 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in SetPriority() 231 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in Shutdown() 233 rsc->mHal.drv = NULL; in Shutdown()
|
D | rsdMeshObj.cpp | 137 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; in renderPrimitiveRange() local 138 if (drv->uploadDeferred) { in renderPrimitiveRange() 147 DrvAllocation *drvAlloc = (DrvAllocation *)alloc->mHal.drv; in renderPrimitiveRange() 163 DrvAllocation *drvAlloc = (DrvAllocation *)idxAlloc->mHal.drv; in renderPrimitiveRange()
|
D | rsdGL.cpp | 154 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLShutdown() 236 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLInit() 421 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLSetInternalSurface() 463 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLSetSurface() 482 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLSwap()
|
D | rsdShader.cpp | 385 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setupSampler() 406 DrvAllocation *drvTex = (DrvAllocation *)tex->mHal.drv; in setupSampler() 466 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setupTextures() 487 DrvAllocation *drvTex = (DrvAllocation *)mRSProgram->mHal.state.textures[ct]->mHal.drv; in setupTextures()
|
D | rsdVertexArray.cpp | 84 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setup()
|
D | rsdFrameBufferObj.cpp | 126 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setActive()
|
/frameworks/rs/driver/runtime/ |
D | rs_structs.h | 30 void * drv; member 120 void * drv; member 148 void *drv; member 180 void *drv; member 218 void *drv; member 254 void *drv; member
|
/frameworks/rs/ |
D | rsFBOCache.h | 44 mutable void *drv; member
|
D | rsPath.h | 30 mutable void * drv; member
|
D | rsProgramRaster.h | 38 mutable void *drv; member
|
D | rsProgram.h | 34 mutable void *drv; member
|
D | rsProgramStore.h | 39 mutable void *drv; member
|
D | rsSampler.h | 40 mutable void *drv; member
|
D | rsMesh.h | 39 mutable void *drv; member
|
D | rsScriptGroup.h | 74 void * drv; member
|
D | rsScript.h | 65 void * drv; member
|
D | rsElement.h | 40 mutable void *drv; member
|