pack_visibleregion.c revision a08ba954dfbb6b906afd3079f7830ff920006bff
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * VBox Packing VisibleRegion information
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync * Copyright (C) 2008 Oracle Corporation
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * available from http://www.virtualbox.org. This file is free software;
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * you can redistribute it and/or modify it under the terms of the GNU
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * General Public License (GPL) as published by the Free Software
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
a08ba954dfbb6b906afd3079f7830ff920006bffvboxsyncvoid PACK_APIENTRY crPackWindowVisibleRegion( CR_PACKER_CONTEXT_ARGDECL GLint window, GLint cRects, GLint * pRects )
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync unsigned char *data_ptr;
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync WRITE_DATA( 4, GLenum, CR_WINDOWVISIBLEREGION_EXTEND_OPCODE );
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync for (i=0; i<cRects; ++i)
a08ba954dfbb6b906afd3079f7830ff920006bffvboxsyncvoid PACK_APIENTRY crPackWindowVisibleRegionSWAP( CR_PACKER_CONTEXT_ARGDECL GLint window, GLint cRects, GLint * pRects )
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync crError( "crPackWindowVisibleRegionSWAP unimplemented and shouldn't be called" );