Searched refs:shid (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d.h86 int vmsvga3dShaderDefine(PVGASTATE pThis, uint32_t cid, uint32_t shid, SVGA3dShaderType type, uint32_t cbData, uint32_t *pShaderData);
87 int vmsvga3dShaderDestroy(PVGASTATE pThis, uint32_t cid, uint32_t shid, SVGA3dShaderType type);
88 int vmsvga3dShaderSet(PVGASTATE pThis, uint32_t cid, SVGA3dShaderType type, uint32_t shid);
H A DDevVGA-SVGA3d-shared.h73 uint32_t shid; local
76 rc = SSMR3GetU32(pSSM, &shid);
79 if (shid != SVGA3D_INVALID_ID)
93 rc = vmsvga3dShaderDefine(pThis, cid, shid, shader.type, shader.cbData, pData);
104 uint32_t shid; local
107 rc = SSMR3GetU32(pSSM, &shid);
110 if (shid != SVGA3D_INVALID_ID)
124 rc = vmsvga3dShaderDefine(pThis, cid, shid, shader.type, shader.cbData, pData);
389 Log(("Save pixelshader shid=%d with %x bytes code.\n", pShader->id, cbData));
412 Log(("Save vertex shader shid
[all...]
H A DDevVGA-SVGA3d-ogl.cpp7428 int vmsvga3dShaderDefine(PVGASTATE pThis, uint32_t cid, uint32_t shid, SVGA3dShaderType type, uint32_t cbData, uint32_t *pShaderData)
7436 Log(("vmsvga3dShaderDefine cid=%x shid=%x type=%s cbData=%x\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL", cbData));
7448 AssertReturn(shid < SVGA3D_MAX_SHADER_IDS, VERR_INVALID_PARAMETER);
7451 if (shid >= pContext->cVertexShaders)
7453 void *pvNew = RTMemRealloc(pContext->paVertexShader, sizeof(VMSVGA3DSHADER) * (shid + 1));
7456 memset(&pContext->paVertexShader[pContext->cVertexShaders], 0, sizeof(VMSVGA3DSHADER) * (shid + 1 - pContext->cVertexShaders));
7457 for (uint32_t i = pContext->cVertexShaders; i < shid + 1; i++)
7459 pContext->cVertexShaders = shid + 1;
7462 if (pContext->paVertexShader[shid]
[all...]
H A DDevVGA-SVGA3d-win.cpp5722 int vmsvga3dShaderDefine(PVGASTATE pThis, uint32_t cid, uint32_t shid, SVGA3dShaderType type, uint32_t cbData, uint32_t *pShaderData)
5730 Log(("vmsvga3dShaderDefine %x shid=%x type=%s cbData=%x\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL", cbData));
5741 AssertReturn(shid < SVGA3D_MAX_SHADER_IDS, VERR_INVALID_PARAMETER);
5744 if (shid >= pContext->cVertexShaders)
5746 void *pvNew = RTMemRealloc(pContext->paVertexShader, sizeof(VMSVGA3DSHADER) * (shid + 1));
5749 memset(&pContext->paVertexShader[pContext->cVertexShaders], 0, sizeof(VMSVGA3DSHADER) * (shid + 1 - pContext->cVertexShaders));
5750 for (uint32_t i = pContext->cVertexShaders; i < shid + 1; i++)
5752 pContext->cVertexShaders = shid + 1;
5755 if (pContext->paVertexShader[shid]
[all...]
H A DDevVGA-SVGA.cpp3071 rc = vmsvga3dShaderDefine(pThis, pCmd->cid, pCmd->shid, pCmd->type, cbData, (uint32_t *)(pCmd + 1));
3080 rc = vmsvga3dShaderDestroy(pThis, pCmd->cid, pCmd->shid, pCmd->type);
3089 rc = vmsvga3dShaderSet(pThis, pCmd->cid, pCmd->type, pCmd->shid);
/vbox/src/VBox/Devices/Graphics/vmsvga/
H A Dsvga3d_reg.h1643 uint32_t shid; member in struct:__anon14747
1651 uint32_t shid; member in struct:__anon14748
1668 uint32_t shid; member in struct:__anon14750

Completed in 2103 milliseconds