VirtualBox

Changeset 24694 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 16, 2009 2:06:46 PM (15 years ago)
Author:
vboxsync
Message:

VBoxTestGL: allow logging via --log=<log_file_name> option or VBOXGLTEST_LOG=<log_file_name> env var

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp

    r24188 r24694  
    525525    {
    526526        /* error occurred while gl info initialization */
     527        VBOXQGLLOGREL(("2D not supported: gl version info not initialized properly\n"));
    527528        return false;
    528529    }
     
    532533     * no sense to report Video Acceleration supported */
    533534    if(!mglInfo.isFragmentShaderSupported())
     535    {
     536        VBOXQGLLOGREL(("2D not supported: fragment shader unsupported\n"));
    534537        return false;
     538    }
    535539#endif
    536540    if(mglInfo.getMultiTexNumSupported() < 2)
     541    {
     542        VBOXQGLLOGREL(("2D not supported: multitexture unsupported\n"));
    537543        return false;
     544    }
    538545
    539546    /* color conversion now supported only GL_TEXTURE_RECTANGLE
     
    541548     * report as unsupported, TODO: probably should report as supported for stretch acceleration */
    542549    if(!mglInfo.isTextureRectangleSupported())
     550    {
     551        VBOXQGLLOGREL(("2D not supported: texture rectangle unsupported\n"));
    543552        return false;
    544 
     553    }
     554
     555    VBOXQGLLOGREL(("2D is supported!\n"));
    545556    return true;
    546557}
Note: See TracChangeset for help on using the changeset viewer.

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