VirtualBox

Ignore:
Timestamp:
Aug 31, 2010 11:16:00 AM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: 1st 3d app working under Aero! shared textures working

File:
1 edited

Legend:

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

    r31797 r32127  
    159159} VBOXWDDM_DMA_PRIVATEDATA_FLAFS, *PVBOXWDDM_DMA_PRIVATEDATA_FLAFS;
    160160
    161 typedef struct VBOXWDDM_DMA_PRIVATEDATA_HDR
    162 {
     161typedef struct VBOXWDDM_DMA_PRIVATEDATA_BASEHDR
     162{
     163    VBOXVDMACMD_TYPE enmCmd;
     164    union
     165    {
     166        VBOXWDDM_DMA_PRIVATEDATA_FLAFS fFlags;
     167        uint32_t u32CmdReserved;
     168    };
     169}VBOXWDDM_DMA_PRIVATEDATA_BASEHDR, *PVBOXWDDM_DMA_PRIVATEDATA_BASEHDR;
     170
     171typedef struct VBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR
     172{
     173    VBOXWDDM_DMA_PRIVATEDATA_BASEHDR BaseHdr;
    163174    PVBOXWDDM_CONTEXT pContext;
    164     VBOXWDDM_DMA_PRIVATEDATA_FLAFS fFlags;
    165     VBOXVDMACMD_TYPE enmCmd;
    166175    VBOXWDDM_DMA_ALLOCINFO SrcAllocInfo;
    167176    VBOXWDDM_DMA_ALLOCINFO DstAllocInfo;
    168 }VBOXWDDM_DMA_PRIVATEDATA_HDR, *PVBOXWDDM_DMA_PRIVATEDATA_HDR;
     177}VBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR, *PVBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR;
    169178
    170179#ifdef VBOXWDDM_RENDER_FROM_SHADOW
     
    172181typedef struct VBOXWDDM_DMA_PRESENT_RENDER_FROM_SHADOW
    173182{
    174     VBOXWDDM_DMA_PRIVATEDATA_HDR Hdr;
     183    VBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR Hdr;
    175184    RECT rect;
    176185} VBOXWDDM_DMA_PRESENT_RENDER_FROM_SHADOW, *PVBOXWDDM_DMA_PRESENT_RENDER_FROM_SHADOW;
     
    180189typedef struct VBOXWDDM_DMA_PRESENT_BLT
    181190{
    182     VBOXWDDM_DMA_PRIVATEDATA_HDR Hdr;
     191    VBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR Hdr;
    183192    RECT SrcRect;
    184193    VBOXVDMAPIPE_RECTS DstRects;
     
    187196typedef struct VBOXVDMACMD_DMA_PRESENT_FLIP
    188197{
    189     VBOXWDDM_DMA_PRIVATEDATA_HDR Hdr;
     198    VBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR Hdr;
    190199} VBOXVDMACMD_DMA_PRESENT_FLIP, *PVBOXVDMACMD_DMA_PRESENT_FLIP;
    191200
    192201typedef struct VBOXWDDM_DMA_PRESENT_CLRFILL
    193202{
    194     VBOXWDDM_DMA_PRIVATEDATA_HDR Hdr;
     203    VBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR Hdr;
    195204    UINT Color;
    196205    VBOXWDDM_RECTS_INFO Rects;
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