VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_regcombiner.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: 1.1 KB
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
9void crUnpackExtendCombinerParameterfvNV( void )
10{
11 GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
12 GLfloat *params = DATA_POINTER( sizeof( int ) + 8, GLfloat );
13
14 cr_unpackDispatch.CombinerParameterfvNV( pname, params );
15 /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
16}
17
18void crUnpackExtendCombinerParameterivNV( void )
19{
20 GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
21 GLint *params = DATA_POINTER( sizeof( int ) + 8, GLint );
22
23 cr_unpackDispatch.CombinerParameterivNV( pname, params );
24 /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
25}
26
27void crUnpackExtendCombinerStageParameterfvNV( void )
28{
29 GLenum stage = READ_DATA( sizeof( int ) + 4, GLenum );
30 GLenum pname = READ_DATA( sizeof( int ) + 8, GLenum );
31 GLfloat *params = DATA_POINTER( sizeof( int ) + 12, GLfloat );
32
33 cr_unpackDispatch.CombinerStageParameterfvNV( stage, pname, params );
34 /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
35}
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