VirtualBox

Changeset 23548 in vbox


Ignore:
Timestamp:
Oct 5, 2009 10:22:25 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53192
Message:

video 2d accel: linux ATI gl context loss fix

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h

    r23346 r23548  
    10491049    bool vboxIsInitialized() {return mDisplay.getVGA() != NULL; }
    10501050
     1051    void vboxDoResize(void *re);
     1052
    10511053//    void vboxPaintEvent (QPaintEvent *pe) {vboxPerformGLOp(&VBoxGLWidget::vboxDoPaint, pe); }
    10521054    void vboxResizeEvent (class VBoxResizeEvent *re) {vboxPerformGLOp(&VBoxGLWidget::vboxDoResize, re); }
    10531055
    10541056    void vboxProcessVHWACommands(class VBoxVHWACommandElementProcessor * pPipe) {vboxPerformGLOp(&VBoxGLWidget::vboxDoProcessVHWACommands, pPipe);}
    1055 #ifdef VBOX_WITH_VIDEOHWACCEL
    1056     void vboxVHWACmd (struct _VBOXVHWACMD * pCmd) {vboxPerformGLOp(&VBoxGLWidget::vboxDoVHWACmd, pCmd);}
    1057 #endif
     1057
    10581058    class VBoxVHWAGlProgramMngr * vboxVHWAGetGlProgramMngr() { return mpMngr; }
    10591059
     
    10961096    static void setupMatricies(const QSize &display);
    10971097    static void adjustViewport(const QSize &display, const QRect &viewport);
    1098     void vboxDoResize(void *re);
    10991098//    void vboxDoPaint(void *rec);
    11001099
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp

    r23365 r23548  
    690690    g_vboxVHWAGlSupportInitialized = true;
    691691
    692     if (!QGLContext(QGLFormat::defaultFormat()).isValid())
    693         return;
     692//    if (!QGLContext(QGLFormat::defaultFormat()).isValid())
     693//        return;
    694694
    695695    static QGLWidget *pTmpContextHolder = NULL;
     
    54615461            mContainer->height());
    54625462
    5463     mpOverlayWidget->vboxResizeEvent(&re);
     5463    mpOverlayWidget->vboxDoResize(&re);
    54645464    return true;
    54655465}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette