Changeset 22836 in vbox for trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h
- Timestamp:
- Sep 8, 2009 12:57:09 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 52067
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h
r22834 r22836 965 965 }; 966 966 967 #define VBOXVHWACMDPIPEC_NEWEVENT 0x00000001 968 #define VBOXVHWACMDPIPEC_COMPLETEEVENT 0x00000002 967 969 class VBoxVHWACommandElementProcessor 968 970 { … … 970 972 VBoxVHWACommandElementProcessor(class VBoxConsoleView *aView); 971 973 ~VBoxVHWACommandElementProcessor(); 972 void postCmd(VBOXVHWA_PIPECMD_TYPE aType, void * pvData); 974 void postCmd(VBOXVHWA_PIPECMD_TYPE aType, void * pvData, uint32_t flags); 975 void completeCurrentEvent(); 973 976 class VBoxVHWACommandElement * detachCmdList(class VBoxVHWACommandElement * pFirst2Free, VBoxVHWACommandElement * pLast2Free); 974 977 … … 1185 1188 ULONG aW, ULONG aH); 1186 1189 1190 /** 1191 * to be called on RequestResize framebuffer call 1192 * @return true if the request was processed & should not be forwarded to the framebuffer 1193 * false - otherwise */ 1194 bool onRequestResize (ULONG aScreenId, ULONG aPixelFormat, 1195 BYTE *aVRAM, ULONG aBitsPerPixel, ULONG aBytesPerLine, 1196 ULONG aWidth, ULONG aHeight, 1197 BOOL *aFinished) 1198 { 1199 mCmdPipe.completeCurrentEvent(); 1200 return false; 1201 } 1202 1187 1203 VBOXFBOVERLAY_RESUT onPaintEvent (const QPaintEvent *pe, QRect *pRect); 1188 1204 void onResizeEvent (const class VBoxResizeEvent *re); … … 1308 1324 } 1309 1325 1326 STDMETHOD(RequestResize) (ULONG aScreenId, ULONG aPixelFormat, 1327 BYTE *aVRAM, ULONG aBitsPerPixel, ULONG aBytesPerLine, 1328 ULONG aWidth, ULONG aHeight, 1329 BOOL *aFinished) 1330 { 1331 if(mOverlay.onRequestResize (aScreenId, aPixelFormat, 1332 aVRAM, aBitsPerPixel, aBytesPerLine, 1333 aWidth, aHeight, 1334 aFinished)) 1335 { 1336 return S_OK; 1337 } 1338 return T::RequestResize (aScreenId, aPixelFormat, 1339 aVRAM, aBitsPerPixel, aBytesPerLine, 1340 aWidth, aHeight, 1341 aFinished); 1342 } 1343 1310 1344 STDMETHOD(NotifyUpdate) (ULONG aX, ULONG aY, 1311 1345 ULONG aW, ULONG aH)
Note:
See TracChangeset
for help on using the changeset viewer.