Changeset 99775 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- May 12, 2023 12:21:58 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 157370
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r99740 r99775 899 899 * @param pThisCC The VGA/VMSVGA state for ring-3. 900 900 */ 901 void vmsvgaR3VBVAResize(PVGASTATE pThis, PVGASTATECC pThisCC)901 static void vmsvgaR3VBVAResize(PVGASTATE pThis, PVGASTATECC pThisCC) 902 902 { 903 903 int rc; … … 4563 4563 * @param pThisCC The VGA/VMSVGA state for ring-3. 4564 4564 */ 4565 void vmsvgaR3FifoPendingActions(PPDMDEVINS pDevIns, PVGASTATE pThis, PVGASTATECC pThisCC)4565 static void vmsvgaR3FifoPendingActions(PPDMDEVINS pDevIns, PVGASTATE pThis, PVGASTATECC pThisCC) 4566 4566 { 4567 4567 RT_NOREF(pDevIns); … … 5393 5393 * @callback_method_impl{FNDBGFHANDLERDEV, "vmsvga3dsfc"} 5394 5394 */ 5395 DECLCALLBACK(void) vmsvgaR3Info3dSurface(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs)5395 static DECLCALLBACK(void) vmsvgaR3Info3dSurface(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs) 5396 5396 { 5397 5397 /* There might be a specific surface ID at the start of the … … 5438 5438 * @callback_method_impl{FNDBGFHANDLERDEV, "vmsvga3dsurf"} 5439 5439 */ 5440 DECLCALLBACK(void) vmsvgaR3Info3dSurfaceBmp(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs)5440 static DECLCALLBACK(void) vmsvgaR3Info3dSurfaceBmp(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs) 5441 5441 { 5442 5442 /* pszArg = "sid[>dir]" … … 5463 5463 * @callback_method_impl{FNDBGFHANDLERDEV, "vmsvga3dctx"} 5464 5464 */ 5465 DECLCALLBACK(void) vmsvgaR3Info3dContext(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs)5465 static DECLCALLBACK(void) vmsvgaR3Info3dContext(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs) 5466 5466 { 5467 5467 /* There might be a specific surface ID at the start of the -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r99688 r99775 3225 3225 * @param pvUser pointer to pState structure 3226 3226 */ 3227 DECLCALLBACK(int) vmsvga3dXEventThread(RTTHREAD hThreadSelf, void *pvUser)3227 static DECLCALLBACK(int) vmsvga3dXEventThread(RTTHREAD hThreadSelf, void *pvUser) 3228 3228 { 3229 3229 RT_NOREF(hThreadSelf); … … 5597 5597 } 5598 5598 5599 uint32_t vmsvga3dSVGA3dColor2RGBA(SVGA3dColor value) 5599 #if 0 /* unused */ 5600 static uint32_t vmsvga3dSVGA3dColor2RGBA(SVGA3dColor value) 5600 5601 { 5601 5602 /* flip the red and blue bytes */ … … 5604 5605 return (value & 0xff00ff00) | red | (blue << 16); 5605 5606 } 5607 #endif 5606 5608 5607 5609 static DECLCALLBACK(int) vmsvga3dBackSetTextureState(PVGASTATECC pThisCC, uint32_t cid, uint32_t cTextureStates, SVGA3dTextureState *pTextureState) … … 6426 6428 6427 6429 /* Convert VMWare vertex declaration to its OpenGL equivalent. */ 6428 int vmsvga3dVertexDecl2OGL(SVGA3dVertexArrayIdentity &identity, GLint &size, GLenum &type, GLboolean &normalized, uint32_t &cbAttrib)6430 static int vmsvga3dVertexDecl2OGL(SVGA3dVertexArrayIdentity &identity, GLint &size, GLenum &type, GLboolean &normalized, uint32_t &cbAttrib) 6429 6431 { 6430 6432 normalized = GL_FALSE; … … 6691 6693 /* Convert VMWare primitive type to its OpenGL equivalent. */ 6692 6694 /* Calculate the vertex count based on the primitive type and nr of primitives. */ 6693 int vmsvga3dPrimitiveType2OGL(SVGA3dPrimitiveType PrimitiveType, GLenum *pMode, uint32_t cPrimitiveCount, uint32_t *pcVertices)6695 static int vmsvga3dPrimitiveType2OGL(SVGA3dPrimitiveType PrimitiveType, GLenum *pMode, uint32_t cPrimitiveCount, uint32_t *pcVertices) 6694 6696 { 6695 6697 switch (PrimitiveType) -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r99739 r99775 576 576 } 577 577 578 int vga_ioport_invalid(PVGASTATE pThis, uint32_t addr)578 static int vga_ioport_invalid(PVGASTATE pThis, uint32_t addr) 579 579 { 580 580 if (pThis->msr & MSR_COLOR_EMULATION) { -
trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHost.cpp
r98103 r99775 1667 1667 } 1668 1668 1669 int hgsmiCompleteGuestCommand(PHGSMIINSTANCE pIns, HGSMIOFFSET offBuffer, bool fDoIrq)1669 static int hgsmiCompleteGuestCommand(PHGSMIINSTANCE pIns, HGSMIOFFSET offBuffer, bool fDoIrq) 1670 1670 { 1671 1671 int rc = hgsmiGuestCommandComplete(pIns, offBuffer);
Note:
See TracChangeset
for help on using the changeset viewer.