VirtualBox

Changeset 33116 in vbox for trunk/include


Ignore:
Timestamp:
Oct 13, 2010 9:06:35 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: chromium hgsmi transport (guest part, disabled)

Location:
trunk/include/VBox
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/VBoxCrOpenGLSvc.h

    r30440 r33116  
    5656#define SHCRGL_CPARMS_INJECT (2)
    5757
     58#ifdef VBOX_WITH_CRHGSMI
     59#pragma pack(1)
     60typedef struct
     61{
     62    int32_t result;           /**< OUT Host HGSMI return code.*/
     63    uint32_t u32ClientID;     /**< IN  The id of the caller. */
     64    uint32_t u32Function;     /**< IN  Function number. */
     65    uint32_t u32Reserved;
     66} CRVBOXHGSMIHDR;
     67AssertCompileSize(CRVBOXHGSMIHDR, 16);
     68
     69/** GUEST_FN_WRITE Parameters structure. */
     70typedef struct
     71{
     72    CRVBOXHGSMIHDR hdr;
     73    /** buffer index, in
     74     *  Data buffer
     75     */
     76    uint32_t iBuffer;
     77} CRVBOXHGSMIWRITE;
     78
     79/** GUEST_FN_READ Parameters structure. */
     80typedef struct
     81{
     82    CRVBOXHGSMIHDR hdr;
     83
     84    /** buffer index, in/out
     85     *  Data buffer
     86     */
     87    uint32_t iBuffer;
     88    uint32_t cbBuffer;
     89} CRVBOXHGSMIREAD;
     90
     91/** GUEST_FN_WRITE_READ Parameters structure. */
     92typedef struct
     93{
     94    CRVBOXHGSMIHDR hdr;
     95
     96    /** buffer index, in
     97     *  Data buffer
     98     */
     99    uint32_t iBuffer;
     100
     101    /** buffer index, out
     102     *  Writeback buffer
     103     */
     104    uint32_t iWriteback;
     105    uint32_t cbWriteback;
     106} CRVBOXHGSMIWRITEREAD;
     107
     108/** GUEST_FN_SET_VERSION Parameters structure. */
     109typedef struct
     110{
     111    CRVBOXHGSMIHDR hdr;
     112
     113    /** 32bit, in
     114     *  Major version
     115     */
     116    uint32_t vMajor;
     117
     118    /** 32bit, in
     119     *  Minor version
     120     */
     121    uint32_t vMinor;
     122} CRVBOXHGSMISETVERSION;
     123
     124/** GUEST_FN_INJECT Parameters structure. */
     125typedef struct
     126{
     127    CRVBOXHGSMIHDR hdr;
     128
     129    /** 32bit, in
     130     *  ClientID to inject commands buffer for
     131     */
     132    uint32_t u32ClientID;
     133    /** buffer index, in
     134     *  Data buffer
     135     */
     136    uint32_t iBuffer;
     137} CRVBOXHGSMIINJECT;
     138#pragma pack()
     139#endif
    58140/**
    59141 * SHCRGL_GUEST_FN_WRITE
  • trunk/include/VBox/VBoxUhgsmi.h

    r32942 r33116  
    2323typedef enum
    2424{
    25     VBOXUHGSMI_SYNCHOBJECT_TYPE_UNKNOWN = 0,
     25    VBOXUHGSMI_SYNCHOBJECT_TYPE_NONE = 0,
    2626    VBOXUHGSMI_SYNCHOBJECT_TYPE_EVENT,
    2727    VBOXUHGSMI_SYNCHOBJECT_TYPE_SEMAPHORE
     
    5353            uint32_t bHostReadOnly          : 1;
    5454            uint32_t bHostWriteOnly         : 1;
    55             uint32_t bDoNotRetire           : 1; /* <- the buffer will be used in a subsequent command */
     55            uint32_t bDoNotRetire           : 1; /* <- the buffer will be uset in a subsequent command */
    5656            uint32_t bDoNotSignalCompletion : 1; /* <- do not signal notification object on completion for this alloc */
    57             uint32_t bEntireBuffer          : 1; /* <- do not signal notification object on completion for this alloc */
     57            uint32_t bEntireBuffer          : 1;
    5858            uint32_t Reserved               : 27;
    5959        };
     
    9393    PFNVBOXUHGSMI_BUFFER_CREATE pfnBufferCreate;
    9494    PFNVBOXUHGSMI_BUFFER_SUBMIT_ASYNCH pfnBufferSubmitAsynch;
     95    /* user custom data */
     96    void *pvUserData;
    9597} VBOXUHGSMI, *PVBOXUHGSMI;
    9698
     
    107109    uint32_t cbBuffer;
    108110    bool bSynchCreated;
     111    /* user custom data */
     112    void *pvUserData;
    109113} VBOXUHGSMI_BUFFER, *PVBOXUHGSMI_BUFFER;
    110114
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