Lines Matching defs:oglId

520     } oglId;
2657 pSurface->oglId.buffer = OPENGL_INVALID_ID;
2848 else if (pSurface->oglId.buffer != OPENGL_INVALID_ID)
2871 if (pSurface->oglId.buffer != OPENGL_INVALID_ID)
2873 pState->ext.glDeleteBuffers(1, &pSurface->oglId.buffer);
2880 if (pSurface->oglId.texture != OPENGL_INVALID_ID)
2882 glDeleteTextures(1, &pSurface->oglId.texture);
2890 if (pSurface->oglId.renderbuffer != OPENGL_INVALID_ID)
2892 pState->ext.glDeleteRenderbuffers(1, &pSurface->oglId.renderbuffer);
3082 glGenTextures(1, &pSurface->oglId.texture);
3090 glBindTexture(GL_TEXTURE_2D, pSurface->oglId.texture);
3151 LogFlow(("vmsvga3dCreateTexture: sid=%x idAssociatedContext %#x -> %#x; oglId.texture=%#x\n",
3152 pSurface->id, pSurface->idAssociatedContext, idAssociatedContext, pSurface->oglId.texture));
3215 if (pSurfaceSrc->oglId.texture == OPENGL_INVALID_ID)
3223 if (pSurfaceDest->oglId.texture == OPENGL_INVALID_ID)
3239 pSurfaceSrc->oglId.texture, src.mipmap);
3242 pSurfaceDest->oglId.texture, dest.mipmap);
3415 if (pSurface->oglId.texture == OPENGL_INVALID_ID)
3544 glBindTexture(GL_TEXTURE_2D, pSurface->oglId.texture);
3615 glBindTexture(GL_TEXTURE_2D, pSurface->oglId.texture);
3661 pState->ext.glBindBuffer(GL_ARRAY_BUFFER, pSurface->oglId.buffer);
3714 VMSVGA3D_GL_COMPLAIN(pState, pContext, ("glBindBuffer(GL_ARRAY_BUFFER, %#x)\n", pSurface->oglId.buffer));
3848 if (pSurface->oglId.texture == OPENGL_INVALID_ID)
3865 glBindTexture(GL_TEXTURE_2D, pSurface->oglId.texture);
4002 glBindTexture(GL_TEXTURE_2D, pSurface->oglId.texture);
4106 pState->ext.glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, pSurface->oglId.texture, 0 /* level 0 */);
5829 if (pRenderTarget->oglId.texture == OPENGL_INVALID_ID)
5836 pState->ext.glGenRenderbuffers(1, &pRenderTarget->oglId.renderbuffer);
5839 pState->ext.glBindRenderbuffer(GL_RENDERBUFFER, pRenderTarget->oglId.renderbuffer);
5863 pState->ext.glBindRenderbuffer(GL_RENDERBUFFER, pRenderTarget->oglId.renderbuffer);
5870 AssertReturn(pRenderTarget->oglId.texture != OPENGL_INVALID_ID, VERR_INVALID_PARAMETER);
5876 GL_RENDERBUFFER, pRenderTarget->oglId.renderbuffer);
5890 if (pRenderTarget->oglId.texture == OPENGL_INVALID_ID)
5897 AssertReturn(pRenderTarget->oglId.texture != OPENGL_INVALID_ID, VERR_INVALID_PARAMETER);
5902 pState->ext.glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + type - SVGA3D_RT_COLOR0, GL_TEXTURE_2D, pRenderTarget->oglId.texture, target.mipmap);
6204 if (pSurface->oglId.texture == OPENGL_INVALID_ID)
6214 glBindTexture(GL_TEXTURE_2D, pSurface->oglId.texture);
6955 if (pVertexSurface->oglId.buffer == OPENGL_INVALID_ID)
6964 pState->ext.glGenBuffers(1, &pVertexSurface->oglId.buffer);
6967 pState->ext.glBindBuffer(GL_ARRAY_BUFFER, pVertexSurface->oglId.buffer);
6993 pState->ext.glBindBuffer(GL_ARRAY_BUFFER, pVertexSurface->oglId.buffer);
7273 if (pIndexSurface->oglId.buffer == OPENGL_INVALID_ID)
7281 pState->ext.glGenBuffers(1, &pIndexSurface->oglId.buffer);
7284 pState->ext.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, pIndexSurface->oglId.buffer);
7312 pState->ext.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, pIndexSurface->oglId.buffer);
7400 AssertMsg(pTexture->oglId.texture == (GLuint)activeTexture, ("%x vs %x unit %d - %d\n", pTexture->oglId.texture, activeTexture, i, activeTextureUnit - GL_TEXTURE0));
7405 AssertMsg(pTexture->oglId.texture == (GLuint)activeTexture,
7406 ("%x vs %x unit %d (active unit %d) sid=%x\n", pTexture->oglId.texture, activeTexture, i,