VirtualBox

Changeset 104786 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 27, 2024 8:42:44 AM (8 months ago)
Author:
vboxsync
Message:

Main: Added a new include VBox/graphics.h to avoid dragging in a lot of other includes not needed in Main. bugref:​10693

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

Legend:

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

    r104777 r104786  
    7272#endif
    7373
     74#include <VBox/graphics.h> /* For VRAM ranges. */
     75
    7476#include <iprt/list.h>
    7577
     
    7779/** Use VBE bytewise I/O. Only needed for Windows Longhorn/Vista betas and backwards compatibility. */
    7880#define VBE_BYTEWISE_IO
    79 
    80 #ifdef VBOX
    81 /** The default amount of VRAM. */
    82 # define VGA_VRAM_DEFAULT    (_4M)
    83 /** The maximum amount of VRAM. Limited by VBOX_MAX_ALLOC_PAGE_COUNT. */
    84 # define VGA_VRAM_MAX        (256 * _1M)
    85 /** The minimum amount of VRAM. */
    86 # define VGA_VRAM_MIN        (_1M)
    87 #endif
    88 
    8981
    9082/** @name Macros dealing with partial ring-0/raw-mode VRAM mappings.
  • trunk/src/VBox/Devices/Graphics/vmsvga_include/svga_reg.h

    r100690 r104786  
    4141
    4242#include "svga_types.h"
     43
     44#include <VBox/graphics.h> /* For VRAM ranges. */
    4345
    4446/*
     
    22682270 * Size of SVGA device memory such as frame buffer and FIFO.
    22692271 */
    2270 #define SVGA_VRAM_MIN_SIZE             (4 * 640 * 480) /* bytes */
    2271 #define SVGA_VRAM_MIN_SIZE_3D       (16 * 1024 * 1024)
    2272 #define SVGA_VRAM_MAX_SIZE         (128 * 1024 * 1024)
    22732272#define SVGA_MEMORY_SIZE_MAX      (1024 * 1024 * 1024)
    22742273#define SVGA_FIFO_SIZE_MAX           (2 * 1024 * 1024)
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