Changeset 30394 in vbox
- Timestamp:
- Jun 23, 2010 2:43:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r30239 r30394 4521 4521 { 4522 4522 VBOXVHWACMD_SURF_CANCREATE * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_CANCREATE); 4523 initGl(); 4523 4524 makeCurrent(); 4524 4525 pCmd->rc = mOverlayImage.vhwaSurfaceCanCreate(pBody); … … 4527 4528 { 4528 4529 VBOXVHWACMD_SURF_CREATE * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_CREATE); 4530 initGl(); 4529 4531 makeCurrent(); 4530 4532 vboxSetGlOn(true); … … 4548 4550 { 4549 4551 VBOXVHWACMD_SURF_DESTROY * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_DESTROY); 4552 initGl(); 4550 4553 makeCurrent(); 4551 4554 pCmd->rc = mOverlayImage.vhwaSurfaceDestroy(pBody); … … 4568 4571 { 4569 4572 VBOXVHWACMD_SURF_LOCK * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_LOCK); 4573 initGl(); 4570 4574 makeCurrent(); 4571 4575 pCmd->rc = mOverlayImage.vhwaSurfaceLock(pBody); … … 4574 4578 { 4575 4579 VBOXVHWACMD_SURF_UNLOCK * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_UNLOCK); 4580 initGl(); 4576 4581 makeCurrent(); 4577 4582 pCmd->rc = vhwaSurfaceUnlock(pBody); … … 4581 4586 { 4582 4587 VBOXVHWACMD_SURF_BLT * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_BLT); 4588 initGl(); 4583 4589 makeCurrent(); 4584 4590 pCmd->rc = mOverlayImage.vhwaSurfaceBlt(pBody); … … 4588 4594 { 4589 4595 VBOXVHWACMD_SURF_FLIP * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_FLIP); 4596 initGl(); 4590 4597 makeCurrent(); 4591 4598 pCmd->rc = mOverlayImage.vhwaSurfaceFlip(pBody); … … 4595 4602 { 4596 4603 VBOXVHWACMD_SURF_OVERLAY_UPDATE * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_OVERLAY_UPDATE); 4604 initGl(); 4597 4605 makeCurrent(); 4598 4606 pCmd->rc = mOverlayImage.vhwaSurfaceOverlayUpdate(pBody); … … 4608 4616 { 4609 4617 VBOXVHWACMD_SURF_OVERLAY_SETPOSITION * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_OVERLAY_SETPOSITION); 4618 initGl(); 4610 4619 makeCurrent(); 4611 4620 pCmd->rc = mOverlayImage.vhwaSurfaceOverlaySetPosition(pBody); … … 4621 4630 { 4622 4631 VBOXVHWACMD_SURF_COLORKEY_SET * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_SURF_COLORKEY_SET); 4632 initGl(); 4623 4633 makeCurrent(); 4624 4634 pCmd->rc = mOverlayImage.vhwaSurfaceColorkeySet(pBody); … … 4637 4647 { 4638 4648 VBOXVHWACMD_QUERYINFO2 * pBody = VBOXVHWACMD_BODY(pCmd, VBOXVHWACMD_QUERYINFO2); 4649 initGl(); 4639 4650 makeCurrent(); 4640 4651 pCmd->rc = mOverlayImage.vhwaQueryInfo2(pBody);
Note:
See TracChangeset
for help on using the changeset viewer.