VirtualBox

Ignore:
Timestamp:
Sep 26, 2020 3:26:55 PM (4 years ago)
Author:
vboxsync
Message:

WDDM: cleanup. bugref:9830

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/Svga.cpp

    r83578 r86307  
    5252    }
    5353
    54     if (pSvga->u32Caps & SVGA_CAP_GBOBJECTS)
    55     {
    56         /** @todo Support when the host device implements this. */
    57         RT_BREAKPOINT();
    58     }
    59     else
    60     {
    61         pSvga->u32MaxTextureWidth = 8192;
    62         pSvga->u32MaxTextureHeight = 8192;
    63     }
     54    pSvga->u32MaxTextureWidth = 8192;
     55    pSvga->u32MaxTextureHeight = 8192;
    6456
    6557    /* 1 + floor(log2(max(u32MaxTextureWidth, u32MaxTextureHeight))):
     
    212204    /* Beginning of FIFO. */
    213205    memcpy(pSvgaInfo->au32Fifo, (void *)&pSvga->pu32FIFO[0], sizeof(pSvgaInfo->au32Fifo));
    214 
    215     if (pSvgaInfo->au32Regs[SVGA_REG_CAPABILITIES] & SVGA_CAP_GBOBJECTS)
    216     {
    217         for (i = 0; i < RT_ELEMENTS(pSvgaInfo->au32Caps); ++i)
    218         {
    219             SVGARegWrite(pSvga, SVGA_REG_DEV_CAP, i);
    220             pSvgaInfo->au32Caps[i] = SVGARegRead(pSvga, SVGA_REG_DEV_CAP);
    221         }
    222     }
    223206
    224207    return STATUS_SUCCESS;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/Svga.h

    r85121 r86307  
    3333#include <svga_reg.h>
    3434#include <svga3d_reg.h>
    35 
    36 #ifndef SVGA_CAP_GBOBJECTS
    37 #define SVGA_CAP_GBOBJECTS 0x08000000
    38 #define SVGA_REG_DEV_CAP 52
    39 #endif
    4035
    4136#define SVGA_SYNC_GENERIC         1
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