VirtualBox

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

最後變更 在這個檔案從76384是 69390,由 vboxsync 提交於 7 年 前

HostServices/SharedOpenGL: scm updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 660 位元組
 
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}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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