VirtualBox

Ignore:
Timestamp:
Aug 6, 2013 10:20:23 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL/wddm: TexPresent fixes, irq handling fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h

    r47485 r47566  
    209209    VBOXVR_SCR_COMPOSITOR_ENTRY CEntry;
    210210    VBOXVR_SCR_COMPOSITOR_ENTRY RootVrCEntry;
    211     void *pvUserData1;
    212     void *pvUserData2;
    213211} CR_DISPLAY_ENTRY, *PCR_DISPLAY_ENTRY;
    214212/**/
     
    349347/* DISPLAY */
    350348
     349#define CR_DENTRY_FROM_CENTRY(_pCentry) ((CR_DISPLAY_ENTRY*)((uint8_t*)(_pCentry) - RT_OFFSETOF(CR_DISPLAY_ENTRY, CEntry)))
     350
     351
    351352/* @todo:
    352353 * 1. use compositor stored inside mural to use current MuralFBO and window-related API
     
    359360} CR_DISPLAY, *PCR_DISPLAY;
    360361
    361 int CrDpInit(PCR_DISPLAY pDisplay);
    362 void CrDpTerm(PCR_DISPLAY pDisplay);
    363 void CrDpResize(PCR_DISPLAY pDisplay, int32_t xPos, int32_t yPos, uint32_t width, uint32_t height);
    364 void CrDpEntryInit(PCR_DISPLAY_ENTRY pEntry, const VBOXVR_TEXTURE *pTextureData, void *pvUserData);
    365 void CrDpEntryCleanup(PCR_DISPLAY pDisplay, PCR_DISPLAY_ENTRY pEntry);
    366 int CrDpEntryRegionsSet(PCR_DISPLAY pDisplay, PCR_DISPLAY_ENTRY pEntry, const RTPOINT *pPos, uint32_t cRegions, const RTRECT *paRegions);
    367 int CrDpEntryRegionsAdd(PCR_DISPLAY pDisplay, PCR_DISPLAY_ENTRY pEntry, const RTPOINT *pPos, uint32_t cRegions, const RTRECT *paRegions);
    368 void CrDpEntryRegionsClear(PCR_DISPLAY pDisplay);
    369 DECLINLINE(bool) CrDpEntryIsUsed(PCR_DISPLAY_ENTRY pEntry)
    370 {
    371     return CrVrScrCompositorEntryIsInList(&pEntry->CEntry);
    372 }
    373 
    374 DECLINLINE(CRMuralInfo*) CrDpGetMural(PCR_DISPLAY pDisplay)
    375 {
    376     return &pDisplay->Mural;
    377 }
    378362
    379363typedef struct CR_DISPLAY_ENTRY_MAP
    380364{
    381     CRHashTable * pTextureMap;
     365    CRHashTable * pTexIdToDemInfoMap;
    382366} CR_DISPLAY_ENTRY_MAP, *PCR_DISPLAY_ENTRY_MAP;
    383367
    384 int CrDemInit(PCR_DISPLAY_ENTRY_MAP pMap);
    385 void CrDemTerm(PCR_DISPLAY_ENTRY_MAP pMap);
    386 PCR_DISPLAY_ENTRY CrDemEntryAcquire(PCR_DISPLAY_ENTRY_MAP pMap, GLuint idTexture);
    387 void CrDemEntryRelease(PCR_DISPLAY_ENTRY pEntry);
    388 //void CrDemEntryDestroy(PCR_DISPLAY_ENTRY_MAP pMap, GLuint idTexture);
    389368
    390369/* */
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