VirtualBox

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

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

crOpenGL: export to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 1.0 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 crUnpackPixelMapfv( void )
10{
11 GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
12 GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
13 GLfloat *values = DATA_POINTER( sizeof( int ) + 8, GLfloat );
14
15 cr_unpackDispatch.PixelMapfv( map, mapsize, values );
16 INCR_VAR_PTR();
17}
18
19void crUnpackPixelMapuiv( void )
20{
21 GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
22 GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
23 GLuint *values = DATA_POINTER( sizeof( int ) + 8, GLuint );
24
25 cr_unpackDispatch.PixelMapuiv( map, mapsize, values );
26 INCR_VAR_PTR();
27}
28
29void crUnpackPixelMapusv( void )
30{
31 GLenum map = READ_DATA( sizeof( int ) + 0, GLenum );
32 GLsizei mapsize = READ_DATA( sizeof( int ) + 4, GLsizei );
33 GLushort *values = DATA_POINTER( sizeof( int ) + 8, GLushort );
34
35 cr_unpackDispatch.PixelMapusv( map, mapsize, values );
36 INCR_VAR_PTR();
37}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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