VirtualBox

Changeset 45053 in vbox for trunk/src/VBox/GuestHost/OpenGL


Ignore:
Timestamp:
Mar 15, 2013 5:42:49 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL/osx: fix null visible regions

File:
1 edited

Legend:

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

    r45009 r45053  
    194194VBOXVREGDECL(void) VBoxVrCompositorVisit(PVBOXVR_COMPOSITOR pCompositor, PFNVBOXVRCOMPOSITOR_VISITOR pfnVisitor, void *pvVisitor);
    195195
     196DECLINLINE(bool) VBoxVrCompositorIsEmpty(const PVBOXVR_COMPOSITOR pCompositor)
     197{
     198    return RTListIsEmpty(&pCompositor->List);
     199}
     200
    196201typedef struct VBOXVR_COMPOSITOR_ITERATOR
    197202{
     
    256261typedef FNVBOXVRSCRCOMPOSITOR_VISITOR *PFNVBOXVRSCRCOMPOSITOR_VISITOR;
    257262
    258 
    259263DECLINLINE(void) CrVrScrCompositorEntryInit(PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, const PVBOXVR_TEXTURE pTex)
    260264{
     
    283287{
    284288    return !!pEntry->fChanged;
     289}
     290
     291DECLINLINE(bool) CrVrScrCompositorIsEmpty(const PVBOXVR_SCR_COMPOSITOR pCompositor)
     292{
     293    return VBoxVrCompositorIsEmpty(&pCompositor->Compositor);
    285294}
    286295
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