Changeset 19817 in vbox for trunk/src/VBox/Frontends/VBoxFB
- Timestamp:
- May 19, 2009 12:16:28 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47467
- Location:
- trunk/src/VBox/Frontends/VBoxFB
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxFB/Framebuffer.cpp
r8155 r19817 187 187 188 188 NS_IMETHODIMP VBoxDirectFB::NotifyUpdate(uint32_t x, uint32_t y, 189 uint32_t w, uint32_t h , PRBool *finished)189 uint32_t w, uint32_t h) 190 190 { 191 191 // we only need to take action if we have a memory framebuffer … … 209 209 DFBCHECK(surface->StretchBlit(surface, fbInternalSurface, 210 210 &blitRectangle, &hostRectangle)); 211 } else 211 } 212 else 212 213 { 213 214 DFBCHECK(surface->Blit(surface, fbInternalSurface, &blitRectangle, … … 216 217 } 217 218 } 218 if (finished)219 *finished = true;220 219 return NS_OK; 221 220 } -
trunk/src/VBox/Frontends/VBoxFB/Framebuffer.h
r8155 r19817 44 44 NS_IMETHOD GetUsesGuestVRAM(BOOL *usesGuestVRAM); 45 45 NS_IMETHOD NotifyUpdate(uint32_t x, uint32_t y, 46 uint32_t w, uint32_t h, PRBool *finished);46 uint32_t w, uint32_t h); 47 47 NS_IMETHOD RequestResize(ULONG aScreenId, ULONG pixelFormat, uint32_t vram, 48 48 uint32_t bitsPerPixel, uint32_t bytesPerLine, -
trunk/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
r13835 r19817 342 342 // register our framebuffer 343 343 frameBuffer = new VBoxDirectFB(dfb, surface); 344 display-> RegisterExternalFramebuffer(frameBuffer);344 display->SetFramebuffer(VBOX_VIDEO_PRIMARY_SCREEN, frameBuffer); 345 345 346 346 /**
Note:
See TracChangeset
for help on using the changeset viewer.