Changeset 103417 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Feb 19, 2024 8:44:55 AM (15 months ago)
- svn:sync-xref-src-repo-rev:
- 161740
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-dx11.cpp
r103005 r103417 433 433 434 434 435 #if 0 /* unused */ 435 436 DECLINLINE(D3D11_TEXTURECUBE_FACE) vmsvga3dCubemapFaceFromIndex(uint32_t iFace) 436 437 { … … 448 449 return Face; 449 450 } 451 #endif 450 452 451 453 /* This is to workaround issues with X8 formats, because they can't be used in some operations. */ -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r103005 r103417 6695 6695 { 6696 6696 /* Register the MMIO register region. */ 6697 rc = PDMDevHlpPCIIORegionCreateMmio(pDevIns, pThis->pciRegions.iIO, 4 096, PCI_ADDRESS_SPACE_MEM,6697 rc = PDMDevHlpPCIIORegionCreateMmio(pDevIns, pThis->pciRegions.iIO, 4 * _1M, PCI_ADDRESS_SPACE_MEM, 6698 6698 vmsvga3MmioWrite, vmsvga3MmioRead, NULL /*pvUser*/, 6699 6699 IOMMMIO_FLAGS_READ_DWORD | IOMMMIO_FLAGS_WRITE_DWORD_ZEROED, -
trunk/src/VBox/Devices/Graphics/shaderlib/directx.c
r65381 r103417 233 233 **********************************************************/ 234 234 235 #ifndef VBOX_WITH_VMSVGA 235 236 /* GL locking is done by the caller */ 236 237 static inline BOOL test_arb_vs_offset_limit(const struct wined3d_gl_info *gl_info) … … 267 268 return ret; 268 269 } 270 #endif 269 271 270 272 static DWORD ver_for_ext(GL_SupportedExt ext) … … 468 470 } 469 471 472 #ifndef VBOX_WITH_VMSVGA 470 473 /* A GL context is provided by the caller */ 471 474 static BOOL match_broken_nv_clip(const struct wined3d_gl_info *gl_info, const char *gl_renderer, … … 514 517 return ret; 515 518 } 519 #endif 516 520 517 521 /* Context activation is done by the caller. */ … … 694 698 } 695 699 700 #ifndef VBOX_WITH_VMSVGA 696 701 static void quirk_disable_nvvp_clip(struct wined3d_gl_info *gl_info) 697 702 { 698 703 gl_info->quirks |= WINED3D_QUIRK_NV_CLIP_BROKEN; 699 704 } 705 #endif 700 706 701 707 static void quirk_fbo_tex_update(struct wined3d_gl_info *gl_info) -
trunk/src/VBox/Devices/Graphics/shaderlib/glsl_shader.c
r94385 r103417 193 193 }; 194 194 195 #ifdef LOG_ENABLED 195 196 static const char *debug_gl_shader_type(GLenum type) 196 197 { … … 206 207 } 207 208 } 209 #endif 208 210 209 211 /* Extract a line from the info log. -
trunk/src/VBox/Devices/Graphics/shaderlib/stateblock.c
r53201 r103417 82 82 } 83 83 84 #if 0 /*unused*/ 84 85 static inline void stateblock_set_bits(DWORD *map, UINT map_size) 85 86 { … … 88 89 if (mask) map[map_size >> 5] = mask; 89 90 } 90 91 #endif 91 92 92 93 HRESULT stateblock_init(IWineD3DStateBlockImpl *stateblock, IWineD3DDeviceImpl *device, WINED3DSTATEBLOCKTYPE type)
Note:
See TracChangeset
for help on using the changeset viewer.