VirtualBox

Ignore:
Timestamp:
Aug 21, 2014 7:20:27 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95662
Message:

crOpenGL: command blocks flushing

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/VBox

  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c

    r52329 r52451  
    565565    }
    566566
    567 #ifdef DEBUG_misha
    568     if (pCurState->lists.currentIndex)
    569     {
    570         WARN(("GetError called in DisplayList"));
    571     }
    572 #endif
    573 
    574     if (!pCurState->lists.currentIndex || !(g_u32VBoxHostCaps & CR_VBOX_CAP_CMDBLOCKS))
    575     {
    576         packspuFlush( (void *) thread );
    577         CRPACKSPU_WRITEBACK_WAIT(thread, writeback);
    578         if (pack_spu.swap)
    579         {
    580             return_val = (GLenum) SWAP32(return_val);
    581         }
    582     }
    583     else
    584     {
    585         return_val = GL_NO_ERROR;
     567    packspuFlush( (void *) thread );
     568    CRPACKSPU_WRITEBACK_WAIT(thread, writeback);
     569
     570    if (pack_spu.swap)
     571    {
     572        return_val = (GLenum) SWAP32(return_val);
    586573    }
    587574
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_net.c

    r51319 r52451  
    250250    {
    251251        g_u32VBoxHostCaps = crNetHostCapsGet();
    252         if (g_u32VBoxHostCaps & CR_VBOX_CAP_CMDBLOCKS)
    253             crPackCmdBlocksEnable();
     252        crPackCapsSet(g_u32VBoxHostCaps);
    254253    }
    255254}
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