VirtualBox

Ignore:
Timestamp:
Mar 22, 2013 9:28:29 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84467
Message:

crOpenGL: misc bugxifes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c

    r45132 r45148  
    466466
    467467        /* 1. tell renderspu to stop using the current compositor (see above comment) */
    468         crServerVBoxCompositionDisable(mural);
     468        crServerVBoxCompositionDisableEnter(mural);
    469469
    470470        /* 2. do necessary modifications (see above comment) */
     
    495495        mural->height = height;
    496496
     497        mural->fDataPresented = GL_FALSE;
     498
    497499        if (cr_server.currentMural == mural)
    498500        {
     
    564566        /* uncomment when needed */
    565567        /* NOTE: !!! we have mural->fHasPresentationData set to GL_FALSE above, so crServerVBoxCompositionReenable will have no effect in any way
    566         crServerVBoxCompositionReenable(mural);
     568
    567569        */
     570        crServerVBoxCompositionDisableLeave(mural, GL_FALSE);
    568571    }
    569572}
     
    615618
    616619        /* 1. tell renderspu to stop using the current compositor (see above comment) */
    617         crServerVBoxCompositionDisable(mural);
     620        crServerVBoxCompositionDisableEnter(mural);
    618621
    619622        /* 2. do necessary modifications (see above comment) */
     
    663666
    664667        /* 3. re-set the compositor (see above comment) */
    665         crServerVBoxCompositionReenable(mural, fForcePresent);
     668        crServerVBoxCompositionDisableLeave(mural, fForcePresent);
    666669    }
    667670}
     
    690693
    691694    /* 1. tell renderspu to stop using the current compositor (see above comment) */
    692     crServerVBoxCompositionDisable(mural);
     695    crServerVBoxCompositionDisableEnter(mural);
    693696
    694697    /* 2. do necessary modifications (see above comment) */
     
    769772
    770773    /* 3. re-set the compositor (see above comment) */
    771     crServerVBoxCompositionReenable(mural, fForcePresent);
     774    crServerVBoxCompositionDisableLeave(mural, fForcePresent);
    772775}
    773776
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette