Changeset 47566 in vbox for trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h
- Timestamp:
- Aug 6, 2013 10:20:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h
r47485 r47566 209 209 VBOXVR_SCR_COMPOSITOR_ENTRY CEntry; 210 210 VBOXVR_SCR_COMPOSITOR_ENTRY RootVrCEntry; 211 void *pvUserData1;212 void *pvUserData2;213 211 } CR_DISPLAY_ENTRY, *PCR_DISPLAY_ENTRY; 214 212 /**/ … … 349 347 /* DISPLAY */ 350 348 349 #define CR_DENTRY_FROM_CENTRY(_pCentry) ((CR_DISPLAY_ENTRY*)((uint8_t*)(_pCentry) - RT_OFFSETOF(CR_DISPLAY_ENTRY, CEntry))) 350 351 351 352 /* @todo: 352 353 * 1. use compositor stored inside mural to use current MuralFBO and window-related API … … 359 360 } CR_DISPLAY, *PCR_DISPLAY; 360 361 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 }378 362 379 363 typedef struct CR_DISPLAY_ENTRY_MAP 380 364 { 381 CRHashTable * pTex tureMap;365 CRHashTable * pTexIdToDemInfoMap; 382 366 } CR_DISPLAY_ENTRY_MAP, *PCR_DISPLAY_ENTRY_MAP; 383 367 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);389 368 390 369 /* */
Note:
See TracChangeset
for help on using the changeset viewer.