VirtualBox

Ignore:
Timestamp:
Jun 23, 2010 8:52:35 PM (15 years ago)
Author:
vboxsync
Message:

wddm/3d: basics for visible regions handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.h

    r30308 r30405  
    112112{
    113113    VBOXWDDM_CONTEXT_TYPE_UNDEFINED = 0,
    114     VBOXWDDM_CONTEXT_TYPE_SYSTEM
     114    VBOXWDDM_CONTEXT_TYPE_SYSTEM,
     115    VBOXWDDM_CONTEXT_TYPE_CUSTOM_3D,
     116    VBOXWDDM_CONTEXT_TYPE_CUSTOM_2D
    115117} VBOXWDDM_CONTEXT_TYPE;
    116118
    117119typedef struct VBOXWDDM_CONTEXT
    118120{
     121    LIST_ENTRY ListEntry;
    119122    struct VBOXWDDM_DEVICE * pDevice;
    120123    HANDLE hContext;
     
    123126    UINT  EngineAffinity;
    124127    UINT uLastCompletedCmdFenceId;
     128    RECT ViewRect;
     129    VBOXVIDEOCM_CTX CmContext;
    125130} VBOXWDDM_CONTEXT, *PVBOXWDDM_CONTEXT;
     131
     132#define VBOXWDDMENTRY_2_CONTEXT(_pE) ((PVBOXWDDM_CONTEXT)((uint8_t*)(_pE) - RT_OFFSETOF(VBOXWDDM_CONTEXT, ListEntry)))
    126133
    127134typedef struct VBOXWDDM_DMA_PRIVATE_DATA
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