VirtualBox

Changeset 27708 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
Mar 25, 2010 2:36:56 PM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: some initial support for new multimonitor code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h

    r21990 r27708  
    2828#define CR_MAX_WINDOWS 100
    2929#define CR_MAX_CLIENTS 20
     30
     31/*@todo must match MaxGuestMonitors from SchemaDefs.h*/
     32#define CR_MAX_GUEST_MONITORS 8
    3033
    3134typedef struct {
     
    6265
    6366    int spuWindow;                     /**< the SPU's corresponding window ID */
     67
     68    int screenId;
    6469} CRMuralInfo;
    6570
     
    104109
    105110typedef struct {
     111    int32_t    x, y;
     112    uint32_t   w, h;
     113    uint64_t   winID;
     114} CRScreenInfo;
     115
     116typedef struct {
    106117    unsigned short tcpip_port;
     118
     119    CRScreenInfo screen[CR_MAX_GUEST_MONITORS];
     120    int          screenCount;
    107121
    108122    int numClients;
     
    221235extern DECLEXPORT(int32_t) crVBoxServerSaveState(PSSMHANDLE pSSM);
    222236extern DECLEXPORT(int32_t) crVBoxServerLoadState(PSSMHANDLE pSSM, uint32_t version);
     237
     238extern DECLEXPORT(int32_t) crVBoxServerSetScreenCount(int sCount);
     239extern DECLEXPORT(int32_t) crVBoxServerUnmapScreen(int sIndex);
     240extern DECLEXPORT(int32_t) crVBoxServerMapScreen(int sIndex, int32_t x, int32_t y, uint32_t w, uint32_t h, uint64_t winID);
     241
     242extern DECLEXPORT(int32_t) crVBoxServerSetRootVisibleRegion(GLint cRects, GLint *pRects);
    223243#ifdef __cplusplus
    224244}
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