Changeset 54626 in vbox for trunk/src/VBox
- Timestamp:
- Mar 4, 2015 2:40:39 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98769
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r54576 r54626 2770 2770 2771 2771 pSurface->flags |= SVGA3D_SURFACE_HINT_TEXTURE; 2772 LogFlow(("vmsvga3dCreateTexture: sid=%#x idAssociatedContext %#x -> %#x\n", pSurface->id, pSurface->idAssociatedContext, idAssociatedContext)); 2772 2773 pSurface->idAssociatedContext = idAssociatedContext; 2773 2774 return VINF_SUCCESS; … … 2796 2797 AssertReturn(pSurfaceDest->faces[0].numMipLevels > dest.mipmap, VERR_INVALID_PARAMETER); 2797 2798 2798 Log(("vmsvga3dSurfaceStretchBlt: src sid=%x (%d,%d)(%d,%d) dest sid=%x (%d,%d)(%d,%d) mode=%x\n", src.sid, srcBox.x, srcBox.y, srcBox.x + srcBox.w, srcBox.y + srcBox.h, dest.sid, destBox.x, destBox.y, destBox.x + destBox.w, destBox.y + destBox.h, mode)); 2799 Log(("vmsvga3dSurfaceStretchBlt: src sid=%x cid=%#x (%d,%d)(%d,%d) dest sid=%x cid=%#x (%d,%d)(%d,%d) mode=%x\n", 2800 src.sid, pSurfaceSrc->idAssociatedContext, srcBox.x, srcBox.y, srcBox.x + srcBox.w, srcBox.y + srcBox.h, 2801 dest.sid, pSurfaceDest->idAssociatedContext, destBox.x, destBox.y, destBox.x + destBox.w, destBox.y + destBox.h, mode)); 2799 2802 2800 2803 /* @todo stricter checks for associated context */ … … 5265 5268 VMSVGA3D_CHECK_LAST_ERROR(pState, pContext); 5266 5269 5270 LogFlow(("vmsvga3dSetRenderTarget: sid=%#x idAssociatedContext %#x -> %#x\n", pRenderTarget->id, pRenderTarget->idAssociatedContext, cid)); 5267 5271 pRenderTarget->idAssociatedContext = cid; 5268 5272 } … … 5278 5282 pRenderTarget->flags |= SVGA3D_SURFACE_HINT_DEPTHSTENCIL; 5279 5283 5280 pState->ext.glFramebufferRenderbuffer(GL_FRAMEBUFFER, (type == SVGA3D_RT_DEPTH) ? GL_DEPTH_ATTACHMENT : GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, pRenderTarget->oglId.renderbuffer); 5284 pState->ext.glFramebufferRenderbuffer(GL_FRAMEBUFFER, 5285 (type == SVGA3D_RT_DEPTH) ? GL_DEPTH_ATTACHMENT : GL_STENCIL_ATTACHMENT, 5286 GL_RENDERBUFFER, pRenderTarget->oglId.renderbuffer); 5281 5287 VMSVGA3D_CHECK_LAST_ERROR(pState, pContext); 5282 5288 break; … … 6103 6109 } 6104 6110 6105 int vmsvga3dCommandClear(PVGASTATE pThis, uint32_t cid, SVGA3dClearFlag clearFlag, uint32_t color, float depth, uint32_t stencil, uint32_t cRects, SVGA3dRect *pRect) 6111 int vmsvga3dCommandClear(PVGASTATE pThis, uint32_t cid, SVGA3dClearFlag clearFlag, uint32_t color, float depth, uint32_t stencil, 6112 uint32_t cRects, SVGA3dRect *pRect) 6106 6113 { 6107 6114 GLbitfield mask = 0; … … 6348 6355 } 6349 6356 pVertexSurface->idAssociatedContext = pContext->id; 6357 LogFlow(("vmsvga3dDrawPrimitivesProcessVertexDecls: sid=%#x idAssociatedContext %#x -> %#x\n", pVertexSurface->id, pVertexSurface->idAssociatedContext, pContext->id)); 6350 6358 6351 6359 /* Setup the vertex declarations. */ … … 6649 6657 VMSVGA3D_CHECK_LAST_ERROR(pState, pContext); 6650 6658 } 6659 LogFlow(("vmsvga3dDrawPrimitives: sid=%#x idAssociatedContext %#x -> %#x\n", pIndexSurface->id, pIndexSurface->idAssociatedContext, pContext->id)); 6651 6660 pIndexSurface->idAssociatedContext = pContext->id; 6652 6661 }
Note:
See TracChangeset
for help on using the changeset viewer.