VirtualBox

Ignore:
Timestamp:
May 19, 2010 8:35:48 PM (15 years ago)
Author:
vboxsync
Message:

wddm: more 2D support impl

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Miniport
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Makefile.kmk

    r28800 r29670  
    107107    wddm/VBoxVideoVbva.cpp
    108108 endif
     109 ifdef VBOX_WITH_VIDEOHWACCEL
     110  VBoxVideoWddm_SOURCES   += \
     111    wddm/VBoxVideoVhwa.cpp
     112 endif
    109113 VBoxVideoWddm_LIBS.x86   = \
    110114        $(PATH_SDK_WINDDKWLH_LIB)/bufferoverflowk.lib
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h

    r29488 r29670  
    114114typedef struct _DEVICE_EXTENSION * VBOXCMNREG;
    115115#else
     116typedef struct _DEVICE_EXTENSION *PDEVICE_EXTENSION;
    116117#include <VBox/VBoxVideo.h>
    117118#include "wddm/VBoxVideoIf.h"
     
    122123#ifdef VBOXWDDM_WITH_VBVA
    123124# include "wddm/VBoxVideoVbva.h"
     125#endif
     126#ifdef VBOX_WITH_VIDEOHWACCEL
     127# include "wddm/VBoxVideoVhwa.h"
    124128#endif
    125129
     
    210214# ifdef VBOXVDMA_WITH_VBVA
    211215           VBOXVBVAINFO Vbva;
     216# endif
     217# ifdef VBOX_WITH_VIDEOHWACCEL
     218           VBOXVHWA_INFO Vhwa;
    212219# endif
    213220#endif
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVdma.cpp

    r28800 r29670  
    214214PVBOXVDMACBUF_DR vboxVdmaCBufDrCreate (PVBOXVDMAINFO pInfo, uint32_t cbTrailingData)
    215215{
    216     uint32_t cbDr = sizeof (VBOXVDMACBUF_DR) + cbTrailingData;
     216    uint32_t cbDr = VBOXVDMACBUF_DR_SIZE(cbTrailingData);
    217217    PVBOXVDMACBUF_DR pDr = (PVBOXVDMACBUF_DR)VBoxSHGSMICommandAlloc (&pInfo->CmdHeap, cbDr, HGSMI_CH_VBVA, VBVA_VDMA_CMD);
    218218    Assert(pDr);
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVdma.h

    r28800 r29670  
    5252void vboxVdmaCBufDrFree (PVBOXVDMAINFO pInfo, struct VBOXVDMACBUF_DR* pDr);
    5353
     54#define VBOXVDMACBUF_DR_DATA_OFFSET() (sizeof (VBOXVDMACBUF_DR))
     55#define VBOXVDMACBUF_DR_SIZE(_cbData) (VBOXVDMACBUF_DR_DATA_OFFSET() + (_cbData))
     56#define VBOXVDMACBUF_DR_DATA(_pDr) ( ((uint8_t*)(_pDr)) + VBOXVDMACBUF_DR_DATA_OFFSET() )
    5457#endif /* #ifndef ___VBoxVideoVdma_h___ */
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r29488 r29670  
    687687                    *NumberOfChildren = pContext->cSources;
    688688                    dprintf(("VBoxVideoWddm: sources(%d), children(%d)\n", *NumberOfVideoPresentSources, *NumberOfChildren));
     689#ifdef VBOX_WITH_VIDEOHWACCEL
     690                    vboxVHWAInit(pContext);
     691#endif
    689692                }
    690693                else
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