VirtualBox

Ignore:
Timestamp:
Jun 17, 2009 9:26:02 AM (16 years ago)
Author:
vboxsync
Message:

video hw accel: fixes for basic ddraw op hanlding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h

    r20483 r20653  
    101101    volatile uint32_t cPendingBltsDst;
    102102    volatile uint32_t cPendingFlips;
     103    uint32_t cBitsPerPixel;
    103104}VBOXVHWASURFDESC, *PVBOXVHWASURFDESC;
    104105
     
    280281 #ifdef VBOX_WITH_VIDEOHWACCEL
    281282
     283#define VBOXDD_CHECKFLAG(_v, _f) ((_v) & (_f)) == (_f)
     284
    282285typedef DECLCALLBACK(void) FNVBOXVHWACMDCOMPLETION(PPDEV ppdev, VBOXVHWACMD * pCmd, void * pContext);
    283286typedef FNVBOXVHWACMDCOMPLETION *PFNVBOXVHWACMDCOMPLETION;
    284287
    285 VBOXVHWACMD* vboxVHWACommandCreate (PPDEV ppdev, VBOXVHWACMD_LENGTH cbCmd);
     288VBOXVHWACMD* vboxVHWACommandCreate (PPDEV ppdev, VBOXVHWACMD_TYPE enmCmd, VBOXVHWACMD_LENGTH cbCmd);
    286289void vboxVHWACommandFree (PPDEV ppdev, VBOXVHWACMD* pCmd);
    287290BOOL vboxVHWACommandSubmit (PPDEV ppdev, VBOXVHWACMD* pCmd);
     
    300303void vboxVHWAInit();
    301304void vboxVHWATerm();
    302 void vboxVHWASurfCanCreate(PPDEV ppdev, PDD_CANCREATESURFACEDATA  lpCanCreateSurface);
    303 void vboxVHWASurfCreate(PPDEV ppdev, PDD_CREATESURFACEDATA  lpCreateSurface);
    304 void vboxVHWASurfDestroy(PPDEV ppdev, PDD_DESTROYSURFACEDATA  lpDestroySurface);
    305 void vboxVHWASurfBlt(PPDEV ppdev, PDD_BLTDATA  lpBlt);
     305uint32_t vboxVHWAUnsupportedDDCAPS(uint32_t caps);
     306uint32_t vboxVHWAUnsupportedDDSCAPS(uint32_t caps);
     307uint32_t vboxVHWAUnsupportedDDPFS(uint32_t caps);
     308uint32_t vboxVHWASupportedDDCAPS(uint32_t caps);
     309uint32_t vboxVHWASupportedDDSCAPS(uint32_t caps);
     310uint32_t vboxVHWASupportedDDPFS(uint32_t caps);
     311uint32_t vboxVHWAFromDDCAPS(uint32_t caps);
     312uint32_t vboxVHWAToDDCAPS(uint32_t caps);
     313uint32_t vboxVHWAFromDDSCAPS(uint32_t caps);
     314uint32_t vboxVHWAToDDSCAPS(uint32_t caps);
     315uint32_t vboxVHWAFromDDPFS(uint32_t caps);
     316uint32_t vboxVHWAToDDPFS(uint32_t caps);
     317void vboxVHWAFromDDPIXELFORMAT(VBOXVHWA_PIXELFORMAT *pVHWAFormat, DDPIXELFORMAT *pDdFormat);
     318void vboxVHWAFromRECTL(VBOXVHWA_RECTL *pDst, RECTL *pSrc);
     319PVBOXVHWASURFDESC vboxVHWASurfDescAlloc();
     320void vboxVHWASurfDescFree(PVBOXVHWASURFDESC pDesc);
     321
     322int vboxVHWAEnable(PPDEV ppdev);
     323int vboxVHWADisable(PPDEV ppdev);
     324
    306325 #endif
    307326#endif
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