Lines Matching refs:mHal
33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setDepthAttachment()
36 if (fb->mHal.state.depthTarget != nullptr) { in setDepthAttachment()
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv; in setDepthAttachment()
40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget, in setDepthAttachment()
48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setColorAttachment()
50 for (uint32_t i = 0; i < fb->mHal.state.colorTargetsCount; i ++) { in setColorAttachment()
52 if (fb->mHal.state.colorTargets[i] != nullptr) { in setColorAttachment()
53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; in setColorAttachment()
56 rsdAllocationSyncAll(rsc, fb->mHal.state.colorTargets[i], 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()
82 if (fb->mHal.state.colorTargets[0]) { in rsdFrameBufferSetActive()
83 fbo->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX(), in rsdFrameBufferSetActive()
84 fb->mHal.state.colorTargets[0]->getType()->getDimY()); in rsdFrameBufferSetActive()
85 } else if (fb->mHal.state.depthTarget) { in rsdFrameBufferSetActive()
86 fbo->setDimensions(fb->mHal.state.depthTarget->getType()->getDimX(), in rsdFrameBufferSetActive()
87 fb->mHal.state.depthTarget->getType()->getDimY()); in rsdFrameBufferSetActive()
94 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; in rsdFrameBufferDestroy()
96 fb->mHal.drv = nullptr; in rsdFrameBufferDestroy()