VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_regcombiner.c@ 23750

最後變更 在這個檔案從23750是 15532,由 vboxsync 提交於 16 年 前

crOpenGL: export to OSE

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

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