VirtualBox

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

Last change on this file since 25045 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.0 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 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}
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