VirtualBox

Changeset 50913 in vbox for trunk/include


Ignore:
Timestamp:
Mar 27, 2014 5:56:50 PM (11 years ago)
Author:
vboxsync
Message:

wddm/graphics: new command submission working for 2D, more testing needed

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxVideo.h

    r50859 r50913  
    16331633typedef uint32_t VBOXCMDVBVAOFFSET;
    16341634typedef uint64_t VBOXCMDVBVAPHADDR;
     1635typedef uint32_t VBOXCMDVBVAPAGEIDX;
    16351636
    16361637typedef struct VBOXCMDVBVA_CRCMD_BUFFER
     
    17081709} VBOXCMDVBVA_CLRFILL;
    17091710
     1711#if 0
    17101712#define VBOXCMDVBVA_SYSMEMEL_CPAGES_MAX  0x1000
    17111713
     
    17161718    uint32_t iPage2;
    17171719} VBOXCMDVBVA_SYSMEMEL;
     1720#endif
    17181721
    17191722typedef struct VBOXCMDVBVA_PAGING_TRANSFER
     
    17231726     * paging transfer can NOT be initiated for allocations having host 3D object (hostID) associated */
    17241727    VBOXCMDVBVA_ALLOCINFO Alloc;
    1725     uint32_t u32Reserved;
    1726     VBOXCMDVBVA_SYSMEMEL aSysMem[1];
     1728    VBOXCMDVBVAPAGEIDX aPageNumbers[1];
    17271729} VBOXCMDVBVA_PAGING_TRANSFER;
    17281730
     
    17391741{
    17401742    VBOXCMDVBVA_HDR Hdr;
    1741     VBOXCMDVBVAPHADDR phSysMem;
     1743    VBOXCMDVBVAPAGEIDX iPage;
    17421744} VBOXCMDVBVA_SYSMEMCMD;
    17431745
  • trunk/include/VBox/VBoxVideoHost3D.h

    r50848 r50913  
    126126typedef DECLCALLBACKPTR(uint8_t*, PFNVBOXCRCMDCTL_REMAINING_HOST_COMMAND)(HVBOXCRCMDCTL_REMAINING_HOST_COMMAND hClient, uint32_t *pcbCtl, int prevCmdRc);
    127127
     128typedef struct VBOXCRCMDCTL_HGCMENABLE_DATA
     129{
     130    HVBOXCRCMDCTL_REMAINING_HOST_COMMAND hRHCmd;
     131    PFNVBOXCRCMDCTL_REMAINING_HOST_COMMAND pfnRHCmd;
     132} VBOXCRCMDCTL_HGCMENABLE_DATA;
     133
     134typedef struct VBOXVDMAHOST * HVBOXCRCMDCTL_NOTIFY_TERMINATING;
     135
     136typedef DECLCALLBACKPTR(int, PFNVBOXCRCMDCTL_NOTIFY_TERMINATING)(HVBOXCRCMDCTL_NOTIFY_TERMINATING hClient, VBOXCRCMDCTL_HGCMENABLE_DATA *pHgcmEnableData);
     137
     138typedef DECLCALLBACKPTR(void, PFNVBOXCRCMDCTL_NOTIFY_TERMINATING_DONE)(HVBOXCRCMDCTL_NOTIFY_TERMINATING hClient);
     139
     140typedef struct VBOXCRCMDCTL_HGCMDISABLE_DATA
     141{
     142    HVBOXCRCMDCTL_NOTIFY_TERMINATING hNotifyTerm;
     143    PFNVBOXCRCMDCTL_NOTIFY_TERMINATING pfnNotifyTerm;
     144    PFNVBOXCRCMDCTL_NOTIFY_TERMINATING_DONE pfnNotifyTermDone;
     145} VBOXCRCMDCTL_HGCMDISABLE_DATA;
     146
    128147typedef struct VBOXCRCMDCTL_ENABLE
    129148{
    130149    VBOXCRCMDCTL Hdr;
    131     HVBOXCRCMDCTL_REMAINING_HOST_COMMAND hRHCmd;
    132     PFNVBOXCRCMDCTL_REMAINING_HOST_COMMAND pfnRHCmd;
     150    VBOXCRCMDCTL_HGCMENABLE_DATA Data;
    133151} VBOXCRCMDCTL_ENABLE;
    134152
     153typedef struct VBOXCRCMDCTL_DISABLE
     154{
     155    VBOXCRCMDCTL Hdr;
     156    VBOXCRCMDCTL_HGCMDISABLE_DATA Data;
     157} VBOXCRCMDCTL_DISABLE;
     158
    135159#endif /*#ifndef ___VBox_VBoxVideoHost3D_h*/
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