Lines Matching refs:drv
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
49 drv->renderPrimitiveRange(rsc, primIndex, start, len); in rsdMeshDraw()
54 if(m->mHal.drv) { in rsdMeshDestroy()
55 RsdMeshObj *drv = (RsdMeshObj*)m->mHal.drv; in rsdMeshDestroy() local
56 delete drv; in rsdMeshDestroy()