VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_bounds.c@ 16255

Last change on this file since 16255 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 660 bytes
Line 
1/* Copyright (c) 2001, Stanford University
2 * All rights reserved
3 *
4 * See the file LICENSE.txt for information on redistributing this software.
5 */
6
7#include "unpacker.h"
8#include "state/cr_statetypes.h"
9
10void crUnpackBoundsInfoCR( void )
11{
12 CRrecti bounds;
13 GLint len;
14 GLuint num_opcodes;
15 GLbyte *payload;
16
17 len = READ_DATA( 0, GLint );
18 bounds.x1 = READ_DATA( 4, GLint );
19 bounds.y1 = READ_DATA( 8, GLint );
20 bounds.x2 = READ_DATA( 12, GLint );
21 bounds.y2 = READ_DATA( 16, GLint );
22 num_opcodes = READ_DATA( 20, GLuint );
23 payload = DATA_POINTER( 24, GLbyte );
24
25 cr_unpackDispatch.BoundsInfoCR( &bounds, payload, len, num_opcodes );
26 INCR_VAR_PTR();
27}
Note: See TracBrowser for help on using the repository browser.

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