Changeset 2106 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Apr 16, 2007 3:25:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/DisplayImpl.h
r470 r2106 59 59 60 60 // public methods only for internal purposes 61 voidhandleDisplayResize (uint32_t bpp, void *pvVRAM, uint32_t cbLine, int w, int h);61 int handleDisplayResize (uint32_t bpp, void *pvVRAM, uint32_t cbLine, int w, int h); 62 62 void handleDisplayUpdate (int x, int y, int cx, int cy); 63 63 IFramebuffer *getFramebuffer() … … 140 140 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle); 141 141 static DECLCALLBACK(void) drvDestruct(PPDMDRVINS pDrvIns); 142 static DECLCALLBACK( void)displayResizeCallback(PPDMIDISPLAYCONNECTOR pInterface, uint32_t bpp, void *pvVRAM, uint32_t cbLine, uint32_t cx, uint32_t cy);142 static DECLCALLBACK(int) displayResizeCallback(PPDMIDISPLAYCONNECTOR pInterface, uint32_t bpp, void *pvVRAM, uint32_t cbLine, uint32_t cx, uint32_t cy); 143 143 static DECLCALLBACK(void) displayUpdateCallback(PPDMIDISPLAYCONNECTOR pInterface, 144 144 uint32_t x, uint32_t y, uint32_t cx, uint32_t cy); … … 159 159 /** bitmask of acceleration operations supported by current framebuffer */ 160 160 ULONG mSupportedAccelOps; 161 RTSEMEVENTMULTI mResizeSem;162 161 RTSEMEVENTMULTI mUpdateSem; 163 162 … … 186 185 void vbvaReleaseCmd (VBVACMDHDR *pHdr, int32_t cbCmd); 187 186 188 void callFramebufferResize (FramebufferPixelFormat_T pixelFormat, void *pvVRAM, uint32_t cbLine, int w, int h); 187 void handleResizeCompletedEMT (void); 188 volatile uint32_t mu32ResizeStatus; 189 190 enum { 191 ResizeStatus_Void, 192 ResizeStatus_InProgress, 193 ResizeStatus_UpdateDisplayData 194 }; 189 195 }; 190 196
Note:
See TracChangeset
for help on using the changeset viewer.