Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/rs/driver/
DrsdProgramStore.cpp41 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 …]
DrsdProgram.cpp40 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 …]
DrsdMesh.cpp31 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 …]
DrsdAllocation.cpp108 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 …]
DrsdBcc.cpp45 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 …]
DrsdFrameBuffer.cpp33 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()
DrsdPath.cpp66 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()
DrsdScriptGroup.cpp32 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()
DrsdCore.cpp174 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()
DrsdMeshObj.cpp137 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()
DrsdGL.cpp154 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()
DrsdShader.cpp385 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()
DrsdVertexArray.cpp84 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setup()
DrsdFrameBufferObj.cpp126 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setActive()
/frameworks/rs/driver/runtime/
Drs_structs.h30 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/
DrsFBOCache.h44 mutable void *drv; member
DrsPath.h30 mutable void * drv; member
DrsProgramRaster.h38 mutable void *drv; member
DrsProgram.h34 mutable void *drv; member
DrsProgramStore.h39 mutable void *drv; member
DrsSampler.h40 mutable void *drv; member
DrsMesh.h39 mutable void *drv; member
DrsScriptGroup.h74 void * drv; member
DrsScript.h65 void * drv; member
DrsElement.h40 mutable void *drv; member

12