VirtualBox

Changeset 75696 in vbox for trunk


Ignore:
Timestamp:
Nov 23, 2018 7:57:37 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126895
Message:

DevVGA-SVGA3d-ogl.cpp: the code does not use texture buffer objects

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-internal.h

    r73373 r75696  
    10261026    {
    10271027        GLint                           maxActiveLights;
    1028         GLint                           maxTextureBufferSize;
    10291028        GLint                           maxTextures;
    10301029        GLint                           maxClipDistances;
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r75695 r75696  
    853853     */
    854854    pState->caps.maxActiveLights               = 1;
    855     pState->caps.maxTextureBufferSize          = 65536;
    856855    pState->caps.maxTextures                   = 1;
    857856    pState->caps.maxClipDistances              = 4;
     
    870869     */
    871870    VMSVGA3D_INIT_CHECKED_BOTH(pState, pContext, pOtherCtx, glGetIntegerv(GL_MAX_LIGHTS, &pState->caps.maxActiveLights));
    872     VMSVGA3D_INIT_CHECKED_BOTH(pState, pContext, pOtherCtx, glGetIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &pState->caps.maxTextureBufferSize));
    873871    VMSVGA3D_INIT_CHECKED_BOTH(pState, pContext, pOtherCtx, glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &pState->caps.maxTextures));
    874872#ifdef VBOX_VMSVGA3D_DUAL_OPENGL_PROFILE /* The alternative profile has a higher number here (ati/darwin). */
     
    10341032
    10351033    LogRel(("VMSVGA3d: Capabilities:\n"));
    1036     LogRel(("VMSVGA3d:   maxActiveLights=%-2d       maxTextures=%-2d           maxTextureBufferSize=%d\n",
    1037             pState->caps.maxActiveLights, pState->caps.maxTextures, pState->caps.maxTextureBufferSize));
     1034    LogRel(("VMSVGA3d:   maxActiveLights=%-2d       maxTextures=%-2d\n",
     1035            pState->caps.maxActiveLights, pState->caps.maxTextures));
    10381036    LogRel(("VMSVGA3d:   maxClipDistances=%-2d      maxColorAttachments=%-2d   maxClipDistances=%d\n",
    10391037            pState->caps.maxClipDistances, pState->caps.maxColorAttachments, pState->caps.maxClipDistances));
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