Lines Matching defs:cid

41         uint32_t         cid;
44 rc = SSMR3GetU32(pSSM, &cid);
47 if (cid != SVGA3D_INVALID_ID)
51 rc = vmsvga3dContextDefine(pThis, cid);
55 AssertReturn(pContext->id == cid, VERR_INTERNAL_ERROR);
93 rc = vmsvga3dShaderDefine(pThis, cid, shid, shader.type, shader.cbData, pData);
124 rc = vmsvga3dShaderDefine(pThis, cid, shid, shader.type, shader.cbData, pData);
141 rc = vmsvga3dShaderSetConst(pThis, cid, j, SVGA3D_SHADERTYPE_PS, ShaderConst.ctype, 1, ShaderConst.value);
156 rc = vmsvga3dShaderSetConst(pThis, cid, j, SVGA3D_SHADERTYPE_VS, ShaderConst.ctype, 1, ShaderConst.value);
249 uint32_t cid = pContext->id;
251 if (cid != SVGA3D_INVALID_ID)
264 rc = vmsvga3dSetRenderTarget(pThis, cid, (SVGA3dRenderTargetType)j, target);
299 vmsvga3dSetClipPlane(pThis, cid, j, pContext->state.aClipPlane[j].plane);
306 vmsvga3dSetLightData(pThis, cid, j, &pContext->state.aLightData[j].data);
308 vmsvga3dSetLightEnabled(pThis, cid, j, true);
317 vmsvga3dSetTransform(pThis, cid, (SVGA3dTransformType)j, pContext->state.aTransformState[j].matrix);
327 vmsvga3dSetMaterial(pThis, cid, (SVGA3dFace)j, &pContext->state.aMaterial[j].material);
332 vmsvga3dSetScissorRect(pThis, cid, &pContext->state.RectScissor);
334 vmsvga3dSetZRange(pThis, cid, pContext->state.zRange);
336 vmsvga3dSetViewPort(pThis, cid, &pContext->state.RectViewPort);
338 vmsvga3dShaderSet(pThis, cid, SVGA3D_SHADERTYPE_VS, pContext->state.shidVertex);
340 vmsvga3dShaderSet(pThis, cid, SVGA3D_SHADERTYPE_PS, pContext->state.shidPixel);
360 uint32_t cid = pContext->id;
363 rc = SSMR3PutU32(pSSM, cid);
366 if (cid != SVGA3D_INVALID_ID)
539 uint32_t cid = pSurface->idAssociatedContext;
540 if ( cid >= pState->cContexts
541 || pState->papContexts[cid]->id != cid)
543 Log(("vmsvga3dSaveExec invalid context id (%x - %x)!\n", cid, (cid >= pState->cContexts) ? -1 : pState->papContexts[cid]->id));
546 PVMSVGA3DCONTEXT pContext = pState->papContexts[cid];
655 uint32_t cid = pSurface->idAssociatedContext;
656 if ( cid >= pState->cContexts
657 || pState->papContexts[cid]->id != cid)
659 Log(("vmsvga3dSaveExec: invalid context id (%x - %x)!\n", cid, (cid >= pState->cContexts) ? -1 : pState->papContexts[cid]->id));
662 PVMSVGA3DCONTEXT pContext = pState->papContexts[cid];