Changeset 54736 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Mar 12, 2015 8:52:37 PM (10 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r54660 r54736 951 951 static int vmsvga3dContextDefineOgl(PVGASTATE pThis, uint32_t cid, uint32_t fFlags); 952 952 static void vmsvgaColor2GLFloatArray(uint32_t color, GLfloat *pRed, GLfloat *pGreen, GLfloat *pBlue, GLfloat *pAlpha); 953 static void vmsvga3dSetPackParams(PVMSVGA3DSTATE pState, PVMSVGA3DCONTEXT pContext, PVMSVGA3DSURFACE pSurface, 954 PVMSVGAPACKPARAMS pSave); 955 static void vmsvga3dRestorePackParams(PVMSVGA3DSTATE pState, PVMSVGA3DCONTEXT pContext, PVMSVGA3DSURFACE pSurface, 956 PCVMSVGAPACKPARAMS pSave); 953 957 954 958 /* Generated by VBoxDef2LazyLoad from the VBoxSVGA3D.def and VBoxSVGA3DObjC.def files. */ -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.h
r54659 r54736 694 694 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 695 695 696 /* Set row length and alignment of the output data. */ 697 VMSVGAPACKPARAMS SavedParams; 698 vmsvga3dSetPackParams(pState, pContext, pSurface, &SavedParams); 699 696 700 glGetTexImage(GL_TEXTURE_2D, 697 701 i, … … 700 704 pData); 701 705 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 706 707 vmsvga3dRestorePackParams(pState, pContext, pSurface, &SavedParams); 702 708 703 709 /* Data follows */
Note:
See TracChangeset
for help on using the changeset viewer.