Changeset 86307 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video
- Timestamp:
- Sep 26, 2020 3:26:55 PM (4 years ago)
- 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 52 52 } 53 53 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; 64 56 65 57 /* 1 + floor(log2(max(u32MaxTextureWidth, u32MaxTextureHeight))): … … 212 204 /* Beginning of FIFO. */ 213 205 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 }223 206 224 207 return STATUS_SUCCESS; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/Svga.h
r85121 r86307 33 33 #include <svga_reg.h> 34 34 #include <svga3d_reg.h> 35 36 #ifndef SVGA_CAP_GBOBJECTS37 #define SVGA_CAP_GBOBJECTS 0x0800000038 #define SVGA_REG_DEV_CAP 5239 #endif40 35 41 36 #define SVGA_SYNC_GENERIC 1
Note:
See TracChangeset
for help on using the changeset viewer.