VirtualBox

Changeset 103417 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Feb 19, 2024 8:44:55 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161740
Message:

Devices/Graphics,VMM: Fix some unused function warnings, bugref:3409

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  
    433433
    434434
     435#if 0 /* unused */
    435436DECLINLINE(D3D11_TEXTURECUBE_FACE) vmsvga3dCubemapFaceFromIndex(uint32_t iFace)
    436437{
     
    448449    return Face;
    449450}
     451#endif
    450452
    451453/* 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  
    66956695        {
    66966696            /* Register the MMIO register region. */
    6697             rc = PDMDevHlpPCIIORegionCreateMmio(pDevIns, pThis->pciRegions.iIO, 4096, PCI_ADDRESS_SPACE_MEM,
     6697            rc = PDMDevHlpPCIIORegionCreateMmio(pDevIns, pThis->pciRegions.iIO, 4 * _1M, PCI_ADDRESS_SPACE_MEM,
    66986698                                                vmsvga3MmioWrite, vmsvga3MmioRead, NULL /*pvUser*/,
    66996699                                                IOMMMIO_FLAGS_READ_DWORD | IOMMMIO_FLAGS_WRITE_DWORD_ZEROED,
  • trunk/src/VBox/Devices/Graphics/shaderlib/directx.c

    r65381 r103417  
    233233 **********************************************************/
    234234
     235#ifndef VBOX_WITH_VMSVGA
    235236/* GL locking is done by the caller */
    236237static inline BOOL test_arb_vs_offset_limit(const struct wined3d_gl_info *gl_info)
     
    267268    return ret;
    268269}
     270#endif
    269271
    270272static DWORD ver_for_ext(GL_SupportedExt ext)
     
    468470}
    469471
     472#ifndef VBOX_WITH_VMSVGA
    470473/* A GL context is provided by the caller */
    471474static BOOL match_broken_nv_clip(const struct wined3d_gl_info *gl_info, const char *gl_renderer,
     
    514517    return ret;
    515518}
     519#endif
    516520
    517521/* Context activation is done by the caller. */
     
    694698}
    695699
     700#ifndef VBOX_WITH_VMSVGA
    696701static void quirk_disable_nvvp_clip(struct wined3d_gl_info *gl_info)
    697702{
    698703    gl_info->quirks |= WINED3D_QUIRK_NV_CLIP_BROKEN;
    699704}
     705#endif
    700706
    701707static void quirk_fbo_tex_update(struct wined3d_gl_info *gl_info)
  • trunk/src/VBox/Devices/Graphics/shaderlib/glsl_shader.c

    r94385 r103417  
    193193};
    194194
     195#ifdef LOG_ENABLED
    195196static const char *debug_gl_shader_type(GLenum type)
    196197{
     
    206207    }
    207208}
     209#endif
    208210
    209211/* Extract a line from the info log.
  • trunk/src/VBox/Devices/Graphics/shaderlib/stateblock.c

    r53201 r103417  
    8282}
    8383
     84#if 0 /*unused*/
    8485static inline void stateblock_set_bits(DWORD *map, UINT map_size)
    8586{
     
    8889    if (mask) map[map_size >> 5] = mask;
    8990}
    90 
     91#endif
    9192
    9293HRESULT stateblock_init(IWineD3DStateBlockImpl *stateblock, IWineD3DDeviceImpl *device, WINED3DSTATEBLOCKTYPE type)
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