Lines Matching refs:mHal
45 ps->mHal.drv = drv; in rsdProgramStoreInit()
48 switch (ps->mHal.state.depthFunc) { in rsdProgramStoreInit()
79 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) && in rsdProgramStoreInit()
80 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) { in rsdProgramStoreInit()
84 switch (ps->mHal.state.blendSrc) { in rsdProgramStoreInit()
117 switch (ps->mHal.state.blendDst) { in rsdProgramStoreInit()
151 ps->mHal.drv = nullptr; in rsdProgramStoreInit()
156 DrvProgramStore *drv = (DrvProgramStore *)ps->mHal.drv; in rsdProgramStoreSetActive()
158 RSD_CALL_GL(glColorMask, ps->mHal.state.colorRWriteEnable, in rsdProgramStoreSetActive()
159 ps->mHal.state.colorGWriteEnable, in rsdProgramStoreSetActive()
160 ps->mHal.state.colorBWriteEnable, in rsdProgramStoreSetActive()
161 ps->mHal.state.colorAWriteEnable); in rsdProgramStoreSetActive()
171 RSD_CALL_GL(glDepthMask, ps->mHal.state.depthWriteEnable); in rsdProgramStoreSetActive()
172 if (drv->depthTestEnable || ps->mHal.state.depthWriteEnable) { in rsdProgramStoreSetActive()
191 if (ps->mHal.state.ditherEnable) { in rsdProgramStoreSetActive()
199 free(ps->mHal.drv); in rsdProgramStoreDestroy()
200 ps->mHal.drv = nullptr; in rsdProgramStoreDestroy()