Lines Matching refs:rsc
49 void RsdFrameBufferObj::checkError(const Context *rsc) {
56 rsc->setError(RS_ERROR_BAD_VALUE,
60 rsc->setError(RS_ERROR_BAD_VALUE,
64 rsc->setError(RS_ERROR_BAD_VALUE,
68 rsc->setError(RS_ERROR_BAD_VALUE,
125 void RsdFrameBufferObj::setActive(const Context *rsc) {
126 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
130 rsdGLSetInternalSurface(rsc, mColorTargets[0]->wnd);
149 checkError(rsc);
152 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface);
156 RSD_CALL_GL(glViewport, 0, 0, rsc->getWidth(), rsc->getHeight());