Lines Matching refs:mHal
28 mHal.state.colorTargetsCount = 1; in FBOCache()
29 mHal.state.colorTargets = new Allocation*[mHal.state.colorTargetsCount]; in FBOCache()
30 mColorTargets = new ObjectBaseRef<Allocation>[mHal.state.colorTargetsCount]; in FBOCache()
35 delete[] mHal.state.colorTargets; in ~FBOCache()
40 rsc->mHal.funcs.framebuffer.init(rsc, this); in init()
44 rsc->mHal.funcs.framebuffer.destroy(rsc, this); in deinit()
48 if (slot >= mHal.state.colorTargetsCount) { in bindColorTarget()
53 if (!(a->getIsTexture() || (a->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT))) { in bindColorTarget()
59 mHal.state.colorTargets[slot] = a; in bindColorTarget()
71 mHal.state.depthTarget = a; in bindDepthTarget()
76 for (uint32_t i = 0; i < mHal.state.colorTargetsCount; i ++) { in resetAll()
78 mHal.state.colorTargets[i] = NULL; in resetAll()
81 mHal.state.depthTarget = NULL; in resetAll()
90 rsc->mHal.funcs.framebuffer.setActive(rsc, this); in setup()