VirtualBox

Ignore:
Timestamp:
Oct 1, 2012 11:53:15 AM (12 years ago)
Author:
vboxsync
Message:

crOpenGL/wddm: basics for miniport-based visible rects processing (guest part); export flushToHost command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/packer/packer.py

    r33475 r43487  
    114114    """Emit a packer function."""
    115115    if is_swapped:
    116         print 'void PACK_APIENTRY crPack%sSWAP( %s )' % (func_name, apiutil.MakeDeclarationString(params))
    117     else:
    118         print 'void PACK_APIENTRY crPack%s( %s )' % (func_name, apiutil.MakeDeclarationString(params))
     116        print 'void PACK_APIENTRY crPack%sSWAP( %s )' % (func_name, apiutil.MakeDeclarationStringWithContext('CR_PACKER_CONTEXT', params))
     117    else:
     118        print 'void PACK_APIENTRY crPack%s( %s )' % (func_name, apiutil.MakeDeclarationStringWithContext('CR_PACKER_CONTEXT', params))
    119119    print '{'
    120120    print '\tCR_GET_PACKER_CONTEXT(pc);'
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